Lines Matching refs:dict
41 enchant_dict **dict; member
96 ZEND_ARG_INFO(0, dict)
106 ZEND_ARG_INFO(0, dict)
112 ZEND_ARG_INFO(0, dict)
117 ZEND_ARG_INFO(0, dict)
245 if (broker->dictcnt && broker->dict) { in php_enchant_broker_free()
246 if (broker->dict) { in php_enchant_broker_free()
250 zend_list_delete(broker->dict[total]->rsrc_id); in php_enchant_broker_free()
251 efree(broker->dict[total]); in php_enchant_broker_free()
255 efree(broker->dict); in php_enchant_broker_free()
256 broker->dict = NULL; in php_enchant_broker_free()
275 pdict->pbroker->dict[pdict->id-1]->next = NULL; in php_enchant_dict_free()
347 ZEND_FETCH_RESOURCE(pdict, enchant_dict *, &dict, -1, "enchant_dict", le_enchant_dict); \
369 broker->dict = NULL; in PHP_FUNCTION()
534 enchant_dict *dict; in PHP_FUNCTION() local
549 …pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt… in PHP_FUNCTION()
552 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *)); in PHP_FUNCTION()
557 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION()
558 dict->id = pos; in PHP_FUNCTION()
559 dict->pbroker = pbroker; in PHP_FUNCTION()
560 dict->pdict = d; in PHP_FUNCTION()
561 dict->prev = pos ? pbroker->dict[pos-1] : NULL; in PHP_FUNCTION()
562 dict->next = NULL; in PHP_FUNCTION()
563 pbroker->dict[pos] = dict; in PHP_FUNCTION()
566 pbroker->dict[pos-1]->next = dict; in PHP_FUNCTION()
569 dict->rsrc_id = ZEND_REGISTER_RESOURCE(return_value, dict, le_enchant_dict); in PHP_FUNCTION()
583 enchant_dict *dict; local
611 …pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt…
613 pbroker->dict = (enchant_dict **)emalloc(sizeof(enchant_dict *));
617 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict));
618 dict->id = pos;
619 dict->pbroker = pbroker;
620 dict->pdict = d;
621 dict->prev = pos?pbroker->dict[pos-1]:NULL;
622 dict->next = NULL;
623 pbroker->dict[pos] = dict;
625 pbroker->dict[pos-1]->next = dict;
627 dict->rsrc_id = ZEND_REGISTER_RESOURCE(return_value, dict, le_enchant_dict);
638 zval *dict; local
641 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &dict) == FAILURE) {
647 zend_list_delete(Z_RESVAL_P(dict));
721 zval *dict, *sugg = NULL; local
726 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|z/", &dict, &word, &wordlen, &sugg) == FA…
767 zval *dict; local
772 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &dict, &word, &wordlen) == FAILURE) {
786 zval *dict; local
794 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &dict, &word, &wordlen) == FAILURE) {
819 zval *dict; local
824 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &dict, &word, &wordlen) == FAILURE) {
838 zval *dict; local
843 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &dict, &word, &wordlen) == FAILURE) {
857 zval *dict; local
862 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &dict, &word, &wordlen) == FAILURE) {
879 zval *dict; local
885 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &dict, &mis, &mislen, &cor, &corlen) =…
899 zval *dict; local
903 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &dict) == FAILURE) {
922 zval *dict; local
925 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &dict) == FAILURE) {