/php-src/ext/enchant/tests/ |
H A D | broker_describe.phpt | 9 $broker = enchant_broker_init(); 11 if (!$broker) { 12 echo "skip: Unable to init broker\n"; 16 if (!enchant_broker_describe($broker)) { 17 @enchant_broker_free($broker); 19 echo "skip: No broker providers found\n"; 22 @enchant_broker_free($broker); 26 $broker = enchant_broker_init(); 29 if($broker) { 40 echo("failed, broker describe\n"); [all …]
|
H A D | broker_list_dicts.phpt | 9 $broker = enchant_broker_init(); 11 if (!$broker) { 12 echo "skip: Unable to init broker\n"; 16 if (!enchant_broker_list_dicts($broker)) { 17 @enchant_broker_free($broker); 19 echo "skip: No broker dicts installed\n"; 22 @enchant_broker_free($broker); 26 $broker = enchant_broker_init(); 27 if (is_object($broker)) { 29 $brokerListDicts = enchant_broker_list_dicts($broker); [all …]
|
H A D | bug13181.phpt | 2 bug #13181, leaving a context frees the broker resources 7 $broker = enchant_broker_init(); 9 if (!$broker) { 10 echo "skip: Unable to init broker\n"; 14 if (!enchant_broker_list_dicts($broker)) { 15 @enchant_broker_free($broker); 17 echo "skip: No broker dicts installed\n"; 20 @enchant_broker_free($broker); 43 function get_dict($broker) { 44 $t = enchant_broker_request_dict($broker, 'en');
|
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 16 $broker = enchant_broker_init(); 22 if (is_object($broker)) { 25 if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) { 28 if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) { 33 (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2) 38 echo("broker get dict path has failed \n"); 42 echo("broker set dict path {$backEndDictType2} has failed \n"); 45 echo("broker set dict path {$backEndDictType1} has failed \n"); [all …]
|
H A D | dict_describe.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 29 echo("broker request dict failed\n"); 32 echo("broker request dict failed\n"); 35 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 13 $broker = enchant_broker_init(); 16 if (is_object($broker)) { 18 $requestDict = enchant_broker_request_pwl_dict($broker, $pathPwlDict); 27 echo("broker dict describe is not a resource failed\n"); 30 echo("dict broker request pwl has failed\n"); 33 echo("broker is not a resource; failed;\n");
|
H A D | broker_free_02.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 34 if (@enchant_broker_free($broker)) { 38 echo("broker free failed\n"); 41 echo("broker dict free failed\n"); 47 echo("broker request dict failed\n");
|
H A D | dict_quick_check_01.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $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_add_to_personal.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 34 echo("broker request dict failed\n"); 39 echo("broker is not a resource; failed;\n");
|
H A D | dict_add_to_session.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 34 echo("broker request dict failed\n"); 37 echo("broker is not a resource; failed;\n");
|
H A D | dict_check.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 34 echo("broker request dict failed\n"); 39 echo("broker is not a resource; failed;\n");
|
H A D | dict_suggest.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 $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 | broker_free_dict.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 32 echo("dict broker free has failed\n"); 40 echo("broker request dict failed\n"); 44 echo("broker is not a resource; failed;\n");
|
H A D | dict_is_in_session.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($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_store_replacement.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 19 if (is_object($broker)) { 21 $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_get_error.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($broker)) { 19 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 24 echo("broker request dict failed\n");
|
H A D | broker_free_01.phpt | 13 $broker = enchant_broker_init(); 14 if (is_object($broker)) { 17 if (@enchant_broker_free($broker)) { 20 echo("broker free failed\n");
|
H A D | invalidobj.phpt | 11 $broker = enchant_broker_init(); 12 if (is_object($broker)) { 14 @enchant_broker_free($broker); 16 @enchant_broker_free($broker);
|
H A D | broker_set_ordering.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 if (is_object($broker)) { 20 if (enchant_broker_set_ordering($broker,$dicts[0]['lang_tag'],$comma)) {
|
H A D | broker_dict_exists.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 17 if (enchant_broker_dict_exists($broker, $dicts[0]['lang_tag'])) {
|
H A D | broker_get_error.phpt | 13 $broker = enchant_broker_init(); 14 if (is_object($broker)) { 16 $enchantErr = enchant_broker_get_error($broker);
|
H A D | broker_free.phpt | 13 $broker = enchant_broker_init(); 14 if (is_object($broker)) { 16 enchant_broker_free($broker);
|
H A D | broker_request_dict_01.phpt | 14 $broker = enchant_broker_init(); 15 $dicts = enchant_broker_list_dicts($broker); 18 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
|
/php-src/ext/enchant/ |
H A D | enchant.stub.php | 44 function enchant_broker_free(EnchantBroker $broker): bool {} argument 46 function enchant_broker_get_error(EnchantBroker $broker): string|false {} argument 49 function enchant_broker_set_dict_path(EnchantBroker $broker, int $type, string $path): bool {} argument 52 function enchant_broker_get_dict_path(EnchantBroker $broker, int $type): string|false {} argument 58 function enchant_broker_list_dicts(EnchantBroker $broker): array {} argument 60 function enchant_broker_request_dict(EnchantBroker $broker, string $tag): EnchantDictionary|false {} argument 62 function enchant_broker_request_pwl_dict(EnchantBroker $broker, string $filename): EnchantDictionar… argument 67 function enchant_broker_dict_exists(EnchantBroker $broker, string $tag): bool {} argument 69 function enchant_broker_set_ordering(EnchantBroker $broker, string $tag, string $ordering): bool {} argument 75 function enchant_broker_describe(EnchantBroker $broker): array {} argument
|
H A D | enchant.c | 176 if (broker && broker->pbroker) { in php_enchant_dict_free() 293 zval *broker; in PHP_FUNCTION() local 316 zval *broker; in PHP_FUNCTION() local 337 zval *broker; in PHP_FUNCTION() local 378 zval *broker; in PHP_FUNCTION() local 418 zval *broker; in PHP_FUNCTION() local 436 zval *broker; in PHP_FUNCTION() local 471 zval *broker; in PHP_FUNCTION() local 517 if (broker && broker->pbroker) { in PHP_FUNCTION() 532 zval *broker; in PHP_FUNCTION() local [all …]
|