Lines Matching refs:rsrc
43 zend_resource *rsrc; member
50 zend_resource *rsrc; member
231 static void php_enchant_broker_free(zend_resource *rsrc) /* {{{ */ in php_enchant_broker_free() argument
233 if (rsrc->ptr) { in php_enchant_broker_free()
234 enchant_broker *broker = (enchant_broker *)rsrc->ptr; in php_enchant_broker_free()
245 zend_list_free(pdict->rsrc); in php_enchant_broker_free()
262 static void php_enchant_dict_free(zend_resource *rsrc) /* {{{ */ in php_enchant_dict_free() argument
265 if (rsrc->ptr) { in php_enchant_dict_free()
266 enchant_dict *pdict = (enchant_dict *)rsrc->ptr; in php_enchant_dict_free()
276 zend_list_delete(pbroker->rsrc); in php_enchant_dict_free()
367 broker->rsrc = zend_register_resource(broker, le_enchant_broker); in PHP_FUNCTION()
368 RETURN_RES(broker->rsrc); in PHP_FUNCTION()
569 dict->rsrc = zend_register_resource(dict, le_enchant_dict); in PHP_FUNCTION()
570 pbroker->rsrc->gc.refcount++; in PHP_FUNCTION()
571 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
620 dict->rsrc = zend_register_resource(dict, le_enchant_dict);
621 pbroker->rsrc->gc.refcount++;
622 RETURN_RES(dict->rsrc);