Lines Matching refs:list_destructors
30 static HashTable list_destructors; variable
69 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
192 ld = zend_hash_index_find_ptr(&list_destructors, res->type); in plist_entry_destructor()
261 …zend_hash_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module… in zend_clean_module_rsrc_dtors()
274 lde->resource_id = list_destructors.nNextFreeElement; in zend_register_list_destructors_ex()
278 if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { in zend_register_list_destructors_ex()
282 return list_destructors.nNextFreeElement-1; in zend_register_list_destructors_ex()
289 ZEND_HASH_PACKED_FOREACH_PTR(&list_destructors, lde) { in zend_fetch_list_dtor_id()
305 zend_hash_init(&list_destructors, 64, NULL, list_destructors_dtor, 1); in zend_init_rsrc_list_dtors()
306 list_destructors.nNextFreeElement=1; /* we don't want resource type 0 */ in zend_init_rsrc_list_dtors()
312 zend_hash_destroy(&list_destructors); in zend_destroy_rsrc_list_dtors()
320 lde = zend_hash_index_find_ptr(&list_destructors, res->type); in zend_rsrc_list_get_rsrc_type()