Lines Matching refs:pdict

48 	EnchantDict		*pdict;  member
270 enchant_dict *pdict = (enchant_dict *)rsrc->ptr; in php_enchant_dict_free() local
271 if (pdict) { in php_enchant_dict_free()
272 if (pdict->pdict && pdict->pbroker) { in php_enchant_dict_free()
273 enchant_broker_free_dict(pdict->pbroker->pbroker, pdict->pdict); in php_enchant_dict_free()
274 if (pdict->id) { in php_enchant_dict_free()
275 pdict->pbroker->dict[pdict->id-1]->next = NULL; in php_enchant_dict_free()
277 zend_list_delete(pdict->pbroker->rsrc_id); in php_enchant_dict_free()
347 ZEND_FETCH_RESOURCE(pdict, enchant_dict *, &dict, -1, "enchant_dict", le_enchant_dict); \
348 if (!pdict || !pdict->pdict) { \
560 dict->pdict = d; in PHP_FUNCTION()
620 dict->pdict = d;
639 enchant_dict *pdict; local
724 enchant_dict *pdict; local
737 if (enchant_dict_check(pdict->pdict, word, wordlen) > 0) {
746 suggs = enchant_dict_suggest(pdict->pdict, word, wordlen, &n_sugg_st);
753 enchant_dict_free_suggestions(pdict->pdict, suggs);
770 enchant_dict *pdict; local
778 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen));
790 enchant_dict *pdict; local
800 suggs = enchant_dict_suggest(pdict->pdict, word, wordlen, &n_sugg_st);
810 enchant_dict_free_suggestions(pdict->pdict, suggs);
822 enchant_dict *pdict; local
830 enchant_dict_add_to_personal(pdict->pdict, word, wordlen);
841 enchant_dict *pdict; local
849 enchant_dict_add_to_session(pdict->pdict, word, wordlen);
860 enchant_dict *pdict; local
868 RETURN_BOOL(enchant_dict_is_in_session(pdict->pdict, word, wordlen));
883 enchant_dict *pdict; local
891 enchant_dict_store_replacement(pdict->pdict, mis, mislen, cor, corlen);
900 enchant_dict *pdict; local
909 msg = enchant_dict_get_error(pdict->pdict);
923 enchant_dict *pdict; local
931 enchant_dict_describe(pdict->pdict, describe_dict_fn, (void *)return_value);