Lines Matching refs:list_destructors
30 static HashTable list_destructors; variable
70 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
193 ld = zend_hash_index_find_ptr(&list_destructors, res->type); in plist_entry_destructor()
257 …zend_hash_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module… in zend_clean_module_rsrc_dtors()
270 lde->resource_id = list_destructors.nNextFreeElement; in zend_register_list_destructors_ex()
274 if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { in zend_register_list_destructors_ex()
277 return list_destructors.nNextFreeElement-1; in zend_register_list_destructors_ex()
284 ZEND_HASH_FOREACH_PTR(&list_destructors, lde) { in zend_fetch_list_dtor_id()
300 zend_hash_init(&list_destructors, 64, NULL, list_destructors_dtor, 1); in zend_init_rsrc_list_dtors()
301 list_destructors.nNextFreeElement=1; /* we don't want resource type 0 */ in zend_init_rsrc_list_dtors()
307 zend_hash_destroy(&list_destructors); in zend_destroy_rsrc_list_dtors()
315 lde = zend_hash_index_find_ptr(&list_destructors, res->type); in zend_rsrc_list_get_rsrc_type()