Lines Matching refs:le

38 	zend_rsrc_list_entry le;  in zend_list_insert()  local
41 le.ptr=ptr; in zend_list_insert()
42 le.type=type; in zend_list_insert()
43 le.refcount=1; in zend_list_insert()
47 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL); in zend_list_insert()
53 zend_rsrc_list_entry *le; in _zend_list_delete() local
55 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_delete()
57 if (--le->refcount<=0) { in _zend_list_delete()
70 zend_rsrc_list_entry *le; in _zend_list_find() local
72 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_find()
73 *type = le->type; in _zend_list_find()
74 return le->ptr; in _zend_list_find()
83 zend_rsrc_list_entry *le; in _zend_list_addref() local
85 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) { in _zend_list_addref()
87 le->refcount++; in _zend_list_addref()
171 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; in list_entry_destructor() local
175 if (zend_hash_index_find(&list_destructors, le->type, (void **) &ld)==SUCCESS) { in list_entry_destructor()
179 (ld->list_dtor)(le->ptr); in list_entry_destructor()
184 ld->list_dtor_ex(le TSRMLS_CC); in list_entry_destructor()
190 zend_error(E_WARNING,"Unknown list entry type in request shutdown (%d)", le->type); in list_entry_destructor()
197 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; in plist_entry_destructor() local
201 if (zend_hash_index_find(&list_destructors, le->type, (void **) &ld)==SUCCESS) { in plist_entry_destructor()
205 (ld->plist_dtor)(le->ptr); in plist_entry_destructor()
210 ld->plist_dtor_ex(le TSRMLS_CC); in plist_entry_destructor()
216 zend_error(E_WARNING,"Unknown persistent list entry type in module shutdown (%d)", le->type); in plist_entry_destructor()
243 static int clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRMLS_DC) in clean_module_resource() argument
245 if (le->type == *resource_id) { in clean_module_resource()