/PHP-7.0/ext/enchant/tests/ |
H A D | enchant_broker_set_dict_path.phpt | 2 proto bool enchant_broker_set_dict_path(resource broker, int dict_type, string value) function 3 proto string enchant_broker_get_dict_path(resource broker, int dict_type) function 14 $broker = enchant_broker_init(); 20 if (is_resource($broker)) { 23 if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) { 26 if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) { 30 (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) && 36 echo("broker get dict path has failed \n"); 40 echo("broker set dict path {$backEndDictType2} has failed \n"); 43 echo("broker set dict path {$backEndDictType1} has failed \n"); [all …]
|
H A D | dict_describe.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (is_resource($broker)) { 18 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 28 echo("broker request dict failed\n"); 31 echo("broker request dict failed\n"); 34 echo("broker is not a resource; failed;\n");
|
H A D | broker_request_pwl_dict.phpt | 2 resource enchant_broker_request_pwl_dict(resource $broker, string $filename); function 12 $broker = enchant_broker_init(); 15 if (is_resource($broker)) { 17 $requestDict = enchant_broker_request_pwl_dict($broker, $pathPwlDict); 26 echo("broker dict describe is not a resource failed\n"); 29 echo("dict broker request pwl has failed\n"); 32 echo("broker is not a resource; failed;\n");
|
H A D | broker_free_02.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 33 if (enchant_broker_free($broker)) { 37 echo("broker free failed\n"); 40 echo("broker dict free failed\n"); 46 echo("broker request dict failed\n");
|
H A D | broker_free_dict.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (is_resource($broker)) { 18 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 31 echo("dict broker free has failed\n"); 39 echo("broker request dict failed\n"); 43 echo("broker is not a resource; failed;\n");
|
H A D | dict_quick_check_01.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 30 echo("broker request dict failed\n"); 33 echo("broker is not a resource; failed;\n");
|
H A D | dict_suggest.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 32 echo("broker request dict failed\n"); 37 echo("broker is not a resource; failed;\n");
|
H A D | dict_add_to_personal.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 33 echo("broker request dict failed\n"); 38 echo("broker is not a resource; failed;\n");
|
H A D | dict_add_to_session.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 33 echo("broker request dict failed\n"); 36 echo("broker is not a resource; failed;\n");
|
H A D | dict_check.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 33 echo("broker request dict failed\n"); 38 echo("broker is not a resource; failed;\n");
|
H A D | dict_is_in_session.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 31 echo("broker request dict failed\n"); 34 echo("broker is not a resource; failed;\n");
|
H A D | dict_store_replacement.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 18 if (is_resource($broker)) { 20 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 32 echo("broker request dict failed\n"); 35 echo("broker is not a resource; failed;\n");
|
H A D | dict_get_error.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (is_resource($broker)) { 18 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 23 echo("broker request dict failed\n");
|
H A D | broker_free_01.phpt | 12 $broker = enchant_broker_init(); 13 if (is_resource($broker)) { 16 if (enchant_broker_free($broker)) { 19 echo("broker free failed\n");
|
H A D | broker_list_dicts.phpt | 12 $broker = enchant_broker_init(); 13 if (is_resource($broker)) { 15 $brokerListDicts = enchant_broker_list_dicts($broker); 20 echo("broker list dicts failed\n");
|
H A D | broker_set_ordering.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_resource($broker)) { 19 if (enchant_broker_set_ordering($broker,$dicts[0]['lang_tag'],$comma)) {
|
H A D | broker_describe.phpt | 12 $broker = enchant_broker_init(); 15 if($broker) { 17 $provider = enchant_broker_describe($broker); 26 echo("failed, broker describe\n");
|
H A D | broker_free.phpt | 12 $broker = enchant_broker_init(); 13 if (is_resource($broker)) { 15 enchant_broker_free($broker);
|
H A D | broker_get_error.phpt | 12 $broker = enchant_broker_init(); 13 if (is_resource($broker)) { 15 $enchantErr = enchant_broker_get_error($broker);
|
H A D | broker_dict_exists.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (enchant_broker_dict_exists($broker, $dicts[0]['lang_tag'])) {
|
H A D | bug53070.phpt | 10 $broker = enchant_broker_init(); 11 var_dump(enchant_broker_get_dict_path($broker, ENCHANT_MYSPELL)); 12 var_dump(enchant_broker_get_dict_path($broker, ENCHANT_ISPELL));
|
H A D | broker_request_dict_01.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
|
H A D | broker_request_dict.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 18 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
|
H A D | bug13181.phpt | 2 bug #13181, leaving a context frees the broker resources 29 function get_dict($broker) { 30 $t = enchant_broker_request_dict($broker, 'en');
|
/PHP-7.0/ext/enchant/ |
H A D | enchant.c | 235 if (broker) { in php_enchant_broker_free() 237 if (broker->dictcnt && broker->dict) { in php_enchant_broker_free() 379 zval *broker; in PHP_FUNCTION() local 396 zval *broker; in PHP_FUNCTION() local 419 zval *broker; in PHP_FUNCTION() local 459 zval *broker; in PHP_FUNCTION() local 516 zval *broker; in PHP_FUNCTION() local 534 zval *broker; in PHP_FUNCTION() local 582 zval *broker; local 651 zval *broker; local [all …]
|