Lines Matching refs:pbroker
39 EnchantBroker *pbroker; member
160 if (broker->pbroker) { /* may have been freed by enchant_broker_free */ in php_enchant_broker_free()
161 enchant_broker_free(broker->pbroker); in php_enchant_broker_free()
162 broker->pbroker = NULL; in php_enchant_broker_free()
176 if (broker && broker->pbroker) { in php_enchant_dict_free()
177 enchant_broker_free_dict(broker->pbroker, dict->pdict); in php_enchant_dict_free()
235 EnchantBroker *pbroker; in PHP_MINFO_FUNCTION() local
237 pbroker = enchant_broker_init(); in PHP_MINFO_FUNCTION()
248 enchant_broker_describe(pbroker, __enumerate_providers_fn, NULL); in PHP_MINFO_FUNCTION()
250 enchant_broker_free(pbroker); in PHP_MINFO_FUNCTION()
255 pbroker = Z_ENCHANT_BROKER_P(broker); \
256 if (!pbroker->pbroker) { \
272 EnchantBroker *pbroker; in PHP_FUNCTION() local
278 pbroker = enchant_broker_init(); in PHP_FUNCTION()
279 if (pbroker) { in PHP_FUNCTION()
282 broker->pbroker = pbroker; in PHP_FUNCTION()
294 enchant_broker *pbroker; in PHP_FUNCTION() local
301 if (pbroker->nb_dict > 0) { in PHP_FUNCTION()
305 if (pbroker->pbroker) { in PHP_FUNCTION()
306 enchant_broker_free(pbroker->pbroker); in PHP_FUNCTION()
307 pbroker->pbroker = NULL; in PHP_FUNCTION()
317 enchant_broker *pbroker; in PHP_FUNCTION() local
326 msg = enchant_broker_get_error(pbroker->pbroker); in PHP_FUNCTION()
347 enchant_broker *pbroker; in PHP_FUNCTION() local
357 …enchant_broker_set_param(pbroker->pbroker, "enchant.myspell.dictionary.path", (const char *)value); in PHP_FUNCTION()
363 … enchant_broker_set_param(pbroker->pbroker, "enchant.ispell.dictionary.path", (const char *)value); in PHP_FUNCTION()
386 enchant_broker *pbroker; in PHP_FUNCTION() local
393 value = enchant_broker_get_param(pbroker->pbroker, "enchant.myspell.dictionary.path"); in PHP_FUNCTION()
398 value = enchant_broker_get_param(pbroker->pbroker, "enchant.ispell.dictionary.path"); in PHP_FUNCTION()
419 enchant_broker *pbroker; in PHP_FUNCTION() local
428 enchant_broker_list_dicts(pbroker->pbroker, php_enchant_list_dicts_fn, (void *)return_value); in PHP_FUNCTION()
437 enchant_broker *pbroker; in PHP_FUNCTION() local
454 pdict = enchant_broker_request_dict(pbroker->pbroker, (const char *)tag); in PHP_FUNCTION()
456 pbroker->nb_dict++; in PHP_FUNCTION()
472 enchant_broker *pbroker; in PHP_FUNCTION() local
488 pdict = enchant_broker_request_pwl_dict(pbroker->pbroker, pwl); in PHP_FUNCTION()
490 pbroker->nb_dict++; in PHP_FUNCTION()
517 if (broker && broker->pbroker) { in PHP_FUNCTION()
518 enchant_broker_free_dict(broker->pbroker, pdict->pdict); in PHP_FUNCTION()
535 enchant_broker * pbroker; in PHP_FUNCTION() local
543 RETURN_BOOL(enchant_broker_dict_exists(pbroker->pbroker, tag)); in PHP_FUNCTION()
560 enchant_broker * pbroker; in PHP_FUNCTION() local
568 enchant_broker_set_ordering(pbroker->pbroker, ptag, pordering); in PHP_FUNCTION()
578 enchant_broker * pbroker; in PHP_FUNCTION() local
587 enchant_broker_describe(pbroker->pbroker, describetozval, (void *)return_value); in PHP_FUNCTION()