Lines Matching refs:pbroker

32 	EnchantBroker  *pbroker;  member
158 if (broker->pbroker) { /* may have been freed by enchant_broker_free */ in php_enchant_broker_free()
159 enchant_broker_free(broker->pbroker); in php_enchant_broker_free()
160 broker->pbroker = NULL; in php_enchant_broker_free()
174 if (broker && broker->pbroker) { in php_enchant_dict_free()
175 enchant_broker_free_dict(broker->pbroker, dict->pdict); in php_enchant_dict_free()
234 EnchantBroker *pbroker; in PHP_MINFO_FUNCTION() local
236 pbroker = enchant_broker_init(); in PHP_MINFO_FUNCTION()
247 enchant_broker_describe(pbroker, __enumerate_providers_fn, NULL); in PHP_MINFO_FUNCTION()
249 enchant_broker_free(pbroker); in PHP_MINFO_FUNCTION()
254 pbroker = Z_ENCHANT_BROKER_P(broker); \
255 if (!pbroker->pbroker) { \
271 EnchantBroker *pbroker; in PHP_FUNCTION() local
277 pbroker = enchant_broker_init(); in PHP_FUNCTION()
278 if (pbroker) { in PHP_FUNCTION()
281 broker->pbroker = pbroker; in PHP_FUNCTION()
293 enchant_broker *pbroker; in PHP_FUNCTION() local
300 if (pbroker->nb_dict > 0) { in PHP_FUNCTION()
304 if (pbroker->pbroker) { in PHP_FUNCTION()
305 enchant_broker_free(pbroker->pbroker); in PHP_FUNCTION()
306 pbroker->pbroker = NULL; in PHP_FUNCTION()
316 enchant_broker *pbroker; in PHP_FUNCTION() local
325 msg = enchant_broker_get_error(pbroker->pbroker); in PHP_FUNCTION()
346 enchant_broker *pbroker; in PHP_FUNCTION() local
356 …enchant_broker_set_param(pbroker->pbroker, "enchant.myspell.dictionary.path", (const char *)value); in PHP_FUNCTION()
362 … enchant_broker_set_param(pbroker->pbroker, "enchant.ispell.dictionary.path", (const char *)value); in PHP_FUNCTION()
385 enchant_broker *pbroker; in PHP_FUNCTION() local
392 value = enchant_broker_get_param(pbroker->pbroker, "enchant.myspell.dictionary.path"); in PHP_FUNCTION()
397 value = enchant_broker_get_param(pbroker->pbroker, "enchant.ispell.dictionary.path"); in PHP_FUNCTION()
418 enchant_broker *pbroker; in PHP_FUNCTION() local
427 enchant_broker_list_dicts(pbroker->pbroker, php_enchant_list_dicts_fn, (void *)return_value); in PHP_FUNCTION()
436 enchant_broker *pbroker; in PHP_FUNCTION() local
453 pdict = enchant_broker_request_dict(pbroker->pbroker, (const char *)tag); in PHP_FUNCTION()
455 pbroker->nb_dict++; in PHP_FUNCTION()
471 enchant_broker *pbroker; in PHP_FUNCTION() local
487 pdict = enchant_broker_request_pwl_dict(pbroker->pbroker, pwl); in PHP_FUNCTION()
489 pbroker->nb_dict++; in PHP_FUNCTION()
516 if (broker && broker->pbroker) { in PHP_FUNCTION()
517 enchant_broker_free_dict(broker->pbroker, pdict->pdict); in PHP_FUNCTION()
534 enchant_broker * pbroker; in PHP_FUNCTION() local
542 RETURN_BOOL(enchant_broker_dict_exists(pbroker->pbroker, tag)); in PHP_FUNCTION()
559 enchant_broker * pbroker; in PHP_FUNCTION() local
567 enchant_broker_set_ordering(pbroker->pbroker, ptag, pordering); in PHP_FUNCTION()
577 enchant_broker * pbroker; in PHP_FUNCTION() local
586 enchant_broker_describe(pbroker->pbroker, describetozval, (void *)return_value); in PHP_FUNCTION()