Lines Matching refs:pbroker

40 	EnchantBroker	*pbroker;  member
49 enchant_broker *pbroker; member
236 if (broker->pbroker) { in php_enchant_broker_free()
254 enchant_broker_free(broker->pbroker); in php_enchant_broker_free()
268 enchant_broker *pbroker = pdict->pbroker; in php_enchant_dict_free() local
270 if (pdict->pdict && pbroker) { in php_enchant_dict_free()
271 enchant_broker_free_dict(pbroker->pbroker, pdict->pdict); in php_enchant_dict_free()
274 pbroker->dict[pdict->id] = NULL; in php_enchant_dict_free()
276 zend_list_delete(pbroker->rsrc); in php_enchant_dict_free()
315 EnchantBroker *pbroker; in PHP_MINFO_FUNCTION() local
317 pbroker = enchant_broker_init(); in PHP_MINFO_FUNCTION()
329 enchant_broker_describe(pbroker, __enumerate_providers_fn, NULL); in PHP_MINFO_FUNCTION()
331 enchant_broker_free(pbroker); in PHP_MINFO_FUNCTION()
336pbroker = (enchant_broker *)zend_fetch_resource(Z_RES_P(broker), "enchant_broker", le_enchant_brok…
337 if (!pbroker || !pbroker->pbroker) { \
354 EnchantBroker *pbroker; in PHP_FUNCTION() local
360 pbroker = enchant_broker_init(); in PHP_FUNCTION()
362 if (pbroker) { in PHP_FUNCTION()
364 broker->pbroker = pbroker; in PHP_FUNCTION()
380 enchant_broker *pbroker; in PHP_FUNCTION() local
397 enchant_broker *pbroker; in PHP_FUNCTION() local
406 msg = enchant_broker_get_error(pbroker->pbroker); in PHP_FUNCTION()
420 enchant_broker *pbroker; in PHP_FUNCTION() local
438 …enchant_broker_set_param(pbroker->pbroker, "enchant.myspell.dictionary.path", (const char *)value); in PHP_FUNCTION()
444 … enchant_broker_set_param(pbroker->pbroker, "enchant.ispell.dictionary.path", (const char *)value); in PHP_FUNCTION()
460 enchant_broker *pbroker; in PHP_FUNCTION() local
473 value = enchant_broker_get_param(pbroker->pbroker, "enchant.myspell.dictionary.path"); in PHP_FUNCTION()
478 value = enchant_broker_get_param(pbroker->pbroker, "enchant.ispell.dictionary.path"); in PHP_FUNCTION()
517 enchant_broker *pbroker; in PHP_FUNCTION() local
525 enchant_broker_list_dicts(pbroker->pbroker, php_enchant_list_dicts_fn, (void *)return_value); in PHP_FUNCTION()
535 enchant_broker *pbroker; in PHP_FUNCTION() local
553 d = enchant_broker_request_dict(pbroker->pbroker, (const char *)tag); in PHP_FUNCTION()
555 pos = pbroker->dictcnt++; in PHP_FUNCTION()
556 if (pbroker->dictcnt) { in PHP_FUNCTION()
557pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt… in PHP_FUNCTION()
559 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
563 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
565 dict->pbroker = pbroker; in PHP_FUNCTION()
567 pbroker->dict[pos] = dict; in PHP_FUNCTION()
570 pbroker->rsrc->gc.refcount++; in PHP_FUNCTION()
583 enchant_broker *pbroker; in PHP_FUNCTION() local
600 d = enchant_broker_request_pwl_dict(pbroker->pbroker, (const char *)pwl); in PHP_FUNCTION()
602 pos = pbroker->dictcnt++; in PHP_FUNCTION()
603 if (pbroker->dictcnt) { in PHP_FUNCTION()
604pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt… in PHP_FUNCTION()
606 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
610 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
612 dict->pbroker = pbroker; in PHP_FUNCTION()
614 pbroker->dict[pos] = dict; in PHP_FUNCTION()
617 pbroker->rsrc->gc.refcount++; in PHP_FUNCTION()
650 enchant_broker * pbroker; in PHP_FUNCTION() local
658 RETURN_BOOL(enchant_broker_dict_exists(pbroker->pbroker, tag)); in PHP_FUNCTION()
676 enchant_broker * pbroker; in PHP_FUNCTION() local
684 enchant_broker_set_ordering(pbroker->pbroker, ptag, pordering); in PHP_FUNCTION()
695 enchant_broker * pbroker; in PHP_FUNCTION() local
703 enchant_broker_describe(pbroker->pbroker, describetozval, (void *)return_value); in PHP_FUNCTION()