/PHP-8.0/ext/enchant/tests/ |
H A D | broker_list_dicts.phpt | 12 $broker = enchant_broker_init(); 14 if (!$broker) { 15 echo "skip: Unable to init broker\n"; 19 if (!enchant_broker_list_dicts($broker)) { 20 @enchant_broker_free($broker); 22 echo "skip: No broker dicts installed\n"; 25 @enchant_broker_free($broker); 29 $broker = enchant_broker_init(); 30 if (is_object($broker)) { 32 $brokerListDicts = enchant_broker_list_dicts($broker); [all …]
|
H A D | broker_describe.phpt | 12 $broker = enchant_broker_init(); 14 if (!$broker) { 15 echo "skip: Unable to init broker\n"; 19 if (!enchant_broker_describe($broker)) { 20 @enchant_broker_free($broker); 22 echo "skip: No broker providers found\n"; 25 @enchant_broker_free($broker); 29 $broker = enchant_broker_init(); 32 if($broker) { 43 echo("failed, broker describe\n"); [all …]
|
H A D | bug13181.phpt | 2 bug #13181, leaving a context frees the broker resources 10 $broker = enchant_broker_init(); 12 if (!$broker) { 13 echo "skip: Unable to init broker\n"; 17 if (!enchant_broker_list_dicts($broker)) { 18 @enchant_broker_free($broker); 20 echo "skip: No broker dicts installed\n"; 23 @enchant_broker_free($broker); 46 function get_dict($broker) { 47 $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 15 $broker = enchant_broker_init(); 21 if (is_object($broker)) { 24 if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) { 27 if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) { 32 (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2) 37 echo("broker get dict path has failed \n"); 41 echo("broker set dict path {$backEndDictType2} has failed \n"); 44 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_object($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_object($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_object($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 | dict_quick_check_01.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($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_object($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 | broker_free_dict.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (is_object($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_add_to_personal.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($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_object($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_store_replacement.phpt | 13 $broker = enchant_broker_init(); 14 $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_check.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($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_object($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_get_error.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 16 if (is_object($broker)) { 18 $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); 23 echo("broker request dict failed\n");
|
H A D | invalidobj.phpt | 10 $broker = enchant_broker_init(); 11 if (is_object($broker)) { 13 @enchant_broker_free($broker); 15 @enchant_broker_free($broker);
|
H A D | broker_free_01.phpt | 12 $broker = enchant_broker_init(); 13 if (is_object($broker)) { 16 if (@enchant_broker_free($broker)) { 19 echo("broker free failed\n");
|
H A D | broker_set_ordering.phpt | 13 $broker = enchant_broker_init(); 14 $dicts = enchant_broker_list_dicts($broker); 17 if (is_object($broker)) { 19 if (enchant_broker_set_ordering($broker,$dicts[0]['lang_tag'],$comma)) {
|
H A D | broker_free.phpt | 12 $broker = enchant_broker_init(); 13 if (is_object($broker)) { 15 enchant_broker_free($broker);
|
H A D | broker_get_error.phpt | 12 $broker = enchant_broker_init(); 13 if (is_object($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'])) {
|
/PHP-8.0/ext/enchant/ |
H A D | enchant.stub.php | 16 function enchant_broker_free(EnchantBroker $broker): bool {} argument 18 function enchant_broker_get_error(EnchantBroker $broker): string|false {} argument 21 function enchant_broker_set_dict_path(EnchantBroker $broker, int $type, string $path): bool {} argument 24 function enchant_broker_get_dict_path(EnchantBroker $broker, int $type): string|false {} argument 26 function enchant_broker_list_dicts(EnchantBroker $broker): array {} argument 28 function enchant_broker_request_dict(EnchantBroker $broker, string $tag): EnchantDictionary|false {} argument 30 function enchant_broker_request_pwl_dict(EnchantBroker $broker, string $filename): EnchantDictionar… argument 35 function enchant_broker_dict_exists(EnchantBroker $broker, string $tag): bool {} argument 37 function enchant_broker_set_ordering(EnchantBroker $broker, string $tag, string $ordering): bool {} argument 39 function enchant_broker_describe(EnchantBroker $broker): array {} argument
|
H A D | enchant.c | 175 if (broker && broker->pbroker) { in php_enchant_dict_free() 303 zval *broker; in PHP_FUNCTION() local 326 zval *broker; in PHP_FUNCTION() local 347 zval *broker; in PHP_FUNCTION() local 388 zval *broker; in PHP_FUNCTION() local 428 zval *broker; in PHP_FUNCTION() local 446 zval *broker; in PHP_FUNCTION() local 481 zval *broker; in PHP_FUNCTION() local 527 if (broker && broker->pbroker) { in PHP_FUNCTION() 542 zval *broker; in PHP_FUNCTION() local [all …]
|
H A D | enchant_arginfo.h | 8 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 12 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 16 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 22 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 27 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 31 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 36 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 45 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0) 50 ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0)
|