Lines Matching refs:dict
39 enchant_dict **dict; member
92 ZEND_ARG_INFO(0, dict)
102 ZEND_ARG_INFO(0, dict)
108 ZEND_ARG_INFO(0, dict)
113 ZEND_ARG_INFO(0, dict)
235 if (broker->dictcnt && broker->dict) { in php_enchant_broker_free()
236 if (broker->dict) { in php_enchant_broker_free()
240 if (broker->dict[total]) { in php_enchant_broker_free()
241 enchant_dict *pdict = broker->dict[total]; in php_enchant_broker_free()
242 broker->dict[total] = NULL; in php_enchant_broker_free()
249 efree(broker->dict); in php_enchant_broker_free()
250 broker->dict = NULL; in php_enchant_broker_free()
272 pbroker->dict[pdict->id] = NULL; in php_enchant_dict_free()
340 pdict = (enchant_dict *)zend_fetch_resource(Z_RES_P(dict), "enchant_dict", le_enchant_dict); \
362 broker->dict = NULL; in PHP_FUNCTION()
533 enchant_dict *dict; in PHP_FUNCTION() local
554 …pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt… in PHP_FUNCTION()
556 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
560 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
561 dict->id = pos; in PHP_FUNCTION()
562 dict->pbroker = pbroker; in PHP_FUNCTION()
563 dict->pdict = d; in PHP_FUNCTION()
564 pbroker->dict[pos] = dict; in PHP_FUNCTION()
566 dict->rsrc = zend_register_resource(dict, le_enchant_dict); in PHP_FUNCTION()
568 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
581 enchant_dict *dict; in PHP_FUNCTION() local
601 …pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt… in PHP_FUNCTION()
603 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
607 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
608 dict->id = pos; in PHP_FUNCTION()
609 dict->pbroker = pbroker; in PHP_FUNCTION()
610 dict->pdict = d; in PHP_FUNCTION()
611 pbroker->dict[pos] = dict; in PHP_FUNCTION()
613 dict->rsrc = zend_register_resource(dict, le_enchant_dict); in PHP_FUNCTION()
615 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
626 zval *dict; in PHP_FUNCTION() local
629 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) { in PHP_FUNCTION()
635 zend_list_close(Z_RES_P(dict)); in PHP_FUNCTION()
709 zval *dict, *sugg = NULL; in PHP_FUNCTION() local
714 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|z", &dict, &word, &wordlen, &sugg) == FAILURE) { in PHP_FUNCTION()
755 zval *dict; in PHP_FUNCTION() local
760 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) { in PHP_FUNCTION()
774 zval *dict; in PHP_FUNCTION() local
781 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) { in PHP_FUNCTION()
805 zval *dict; in PHP_FUNCTION() local
810 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) { in PHP_FUNCTION()
824 zval *dict; in PHP_FUNCTION() local
829 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) { in PHP_FUNCTION()
843 zval *dict; in PHP_FUNCTION() local
848 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) { in PHP_FUNCTION()
865 zval *dict; in PHP_FUNCTION() local
871 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &dict, &mis, &mislen, &cor, &corlen) == FAILURE)… in PHP_FUNCTION()
885 zval *dict; in PHP_FUNCTION() local
889 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) { in PHP_FUNCTION()
908 zval *dict; in PHP_FUNCTION() local
911 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) { in PHP_FUNCTION()