Lines Matching refs:dict
41 enchant_dict **dict; member
94 ZEND_ARG_INFO(0, dict)
104 ZEND_ARG_INFO(0, dict)
110 ZEND_ARG_INFO(0, dict)
115 ZEND_ARG_INFO(0, dict)
237 if (broker->dictcnt && broker->dict) { in php_enchant_broker_free()
238 if (broker->dict) { in php_enchant_broker_free()
242 if (broker->dict[total]) { in php_enchant_broker_free()
243 enchant_dict *pdict = broker->dict[total]; in php_enchant_broker_free()
244 broker->dict[total] = NULL; in php_enchant_broker_free()
251 efree(broker->dict); in php_enchant_broker_free()
252 broker->dict = NULL; in php_enchant_broker_free()
274 pbroker->dict[pdict->id] = NULL; in php_enchant_dict_free()
343 pdict = (enchant_dict *)zend_fetch_resource(Z_RES_P(dict), "enchant_dict", le_enchant_dict); \
365 broker->dict = NULL; in PHP_FUNCTION()
536 enchant_dict *dict; in PHP_FUNCTION() local
557 …pbroker->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()
564 dict->id = pos; in PHP_FUNCTION()
565 dict->pbroker = pbroker; in PHP_FUNCTION()
566 dict->pdict = d; in PHP_FUNCTION()
567 pbroker->dict[pos] = dict; in PHP_FUNCTION()
569 dict->rsrc = zend_register_resource(dict, le_enchant_dict); in PHP_FUNCTION()
571 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
584 enchant_dict *dict; local
608 …pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt…
610 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *));
614 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict));
615 dict->id = pos;
616 dict->pbroker = pbroker;
617 dict->pdict = d;
618 pbroker->dict[pos] = dict;
620 dict->rsrc = zend_register_resource(dict, le_enchant_dict);
622 RETURN_RES(dict->rsrc);
633 zval *dict; local
636 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) {
642 zend_list_close(Z_RES_P(dict));
716 zval *dict, *sugg = NULL; local
721 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|z/", &dict, &word, &wordlen, &sugg) == FAILURE) {
762 zval *dict; local
767 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) {
781 zval *dict; local
789 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) {
814 zval *dict; local
819 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) {
833 zval *dict; local
838 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) {
852 zval *dict; local
857 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &dict, &word, &wordlen) == FAILURE) {
874 zval *dict; local
880 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &dict, &mis, &mislen, &cor, &corlen) == FAILURE)…
894 zval *dict; local
898 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) {
917 zval *dict; local
920 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &dict) == FAILURE) {