Home
last modified time | relevance | path

Searched refs:broker (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.2/ext/enchant/tests/
H A Dbroker_list_dicts.phpt9 $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 Dbroker_describe.phpt9 $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 Dbug13181.phpt2 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 Denchant_broker_set_dict_path.phpt2 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 Ddict_describe.phpt14 $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 Dbroker_request_pwl_dict.phpt2 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 Dbroker_free_02.phpt14 $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 Ddict_quick_check_01.phpt14 $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 Dbroker_free_dict.phpt14 $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 Ddict_add_to_personal.phpt14 $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 Ddict_add_to_session.phpt14 $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 Ddict_check.phpt14 $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 Ddict_suggest.phpt14 $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 Ddict_is_in_session.phpt14 $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 Ddict_store_replacement.phpt14 $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 Ddict_get_error.phpt14 $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 Dbroker_free_01.phpt13 $broker = enchant_broker_init();
14 if (is_object($broker)) {
17 if (@enchant_broker_free($broker)) {
20 echo("broker free failed\n");
H A Dinvalidobj.phpt11 $broker = enchant_broker_init();
12 if (is_object($broker)) {
14 @enchant_broker_free($broker);
16 @enchant_broker_free($broker);
H A Dbroker_set_ordering.phpt14 $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 Dbroker_free.phpt13 $broker = enchant_broker_init();
14 if (is_object($broker)) {
16 enchant_broker_free($broker);
H A Dbroker_dict_exists.phpt14 $broker = enchant_broker_init();
15 $dicts = enchant_broker_list_dicts($broker);
17 if (enchant_broker_dict_exists($broker, $dicts[0]['lang_tag'])) {
H A Dbroker_get_error.phpt13 $broker = enchant_broker_init();
14 if (is_object($broker)) {
16 $enchantErr = enchant_broker_get_error($broker);
/PHP-8.2/ext/enchant/
H A Denchant.stub.php44 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 Denchant.c178 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 …]
H A Denchant_arginfo.h8 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)

Completed in 22 milliseconds

12