Lines Matching refs:le

38 	zend_rsrc_list_entry le;  in zend_list_insert()  local
40 le.ptr=ptr; in zend_list_insert()
41 le.type=type; in zend_list_insert()
42 le.refcount=1; in zend_list_insert()
46 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL); in zend_list_insert()
52 zend_rsrc_list_entry *le; in _zend_list_delete() local
54 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_delete()
56 if (--le->refcount<=0) { in _zend_list_delete()
69 zend_rsrc_list_entry *le; in _zend_list_find() local
71 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_find()
72 *type = le->type; in _zend_list_find()
73 return le->ptr; in _zend_list_find()
82 zend_rsrc_list_entry *le; in _zend_list_addref() local
84 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_addref()
86 le->refcount++; in _zend_list_addref()
170 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; in list_entry_destructor() local
174 if (zend_hash_index_find(&list_destructors, le->type, (void **) &ld)==SUCCESS) { in list_entry_destructor()
178 (ld->list_dtor)(le->ptr); in list_entry_destructor()
183 ld->list_dtor_ex(le TSRMLS_CC); in list_entry_destructor()
189 zend_error(E_WARNING,"Unknown list entry type in request shutdown (%d)", le->type); in list_entry_destructor()
196 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; in plist_entry_destructor() local
200 if (zend_hash_index_find(&list_destructors, le->type, (void **) &ld)==SUCCESS) { in plist_entry_destructor()
204 (ld->plist_dtor)(le->ptr); in plist_entry_destructor()
209 ld->plist_dtor_ex(le TSRMLS_CC); in plist_entry_destructor()
215 zend_error(E_WARNING,"Unknown persistent list entry type in module shutdown (%d)", le->type); in plist_entry_destructor()
242 static int clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRMLS_DC) in clean_module_resource() argument
244 if (le->type == *resource_id) { in clean_module_resource()