Home
last modified time | relevance | path

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

12

/PHP-7.0/ext/enchant/tests/
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
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 Ddict_describe.phpt13 $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 Dbroker_request_pwl_dict.phpt2 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 Dbroker_free_02.phpt13 $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 Dbroker_free_dict.phpt13 $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 Ddict_quick_check_01.phpt13 $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 Ddict_suggest.phpt13 $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 Ddict_add_to_personal.phpt13 $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 Ddict_add_to_session.phpt13 $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 Ddict_check.phpt13 $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 Ddict_is_in_session.phpt13 $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 Ddict_store_replacement.phpt13 $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 Ddict_get_error.phpt13 $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 Dbroker_free_01.phpt12 $broker = enchant_broker_init();
13 if (is_resource($broker)) {
16 if (enchant_broker_free($broker)) {
19 echo("broker free failed\n");
H A Dbroker_list_dicts.phpt12 $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 Dbroker_set_ordering.phpt13 $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 Dbroker_describe.phpt12 $broker = enchant_broker_init();
15 if($broker) {
17 $provider = enchant_broker_describe($broker);
26 echo("failed, broker describe\n");
H A Dbroker_free.phpt12 $broker = enchant_broker_init();
13 if (is_resource($broker)) {
15 enchant_broker_free($broker);
H A Dbroker_get_error.phpt12 $broker = enchant_broker_init();
13 if (is_resource($broker)) {
15 $enchantErr = enchant_broker_get_error($broker);
H A Dbroker_dict_exists.phpt13 $broker = enchant_broker_init();
14 $dicts = enchant_broker_list_dicts($broker);
16 if (enchant_broker_dict_exists($broker, $dicts[0]['lang_tag'])) {
H A Dbug53070.phpt10 $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 Dbroker_request_dict_01.phpt13 $broker = enchant_broker_init();
14 $dicts = enchant_broker_list_dicts($broker);
17 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
H A Dbroker_request_dict.phpt13 $broker = enchant_broker_init();
14 $dicts = enchant_broker_list_dicts($broker);
18 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
H A Dbug13181.phpt2 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 Denchant.c235 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 …]

Completed in 31 milliseconds

12