Lines Matching refs:list_destructors
30 static HashTable list_destructors; variable
71 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
197 ld = zend_hash_index_find_ptr(&list_destructors, res->type); in plist_entry_destructor()
271 …zend_hash_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module… in zend_clean_module_rsrc_dtors()
284 lde->resource_id = list_destructors.nNextFreeElement; in zend_register_list_destructors_ex()
288 if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { in zend_register_list_destructors_ex()
291 return list_destructors.nNextFreeElement-1; in zend_register_list_destructors_ex()
298 ZEND_HASH_FOREACH_PTR(&list_destructors, lde) { in zend_fetch_list_dtor_id()
314 zend_hash_init(&list_destructors, 64, NULL, list_destructors_dtor, 1); in zend_init_rsrc_list_dtors()
315 list_destructors.nNextFreeElement=1; /* we don't want resource type 0 */ in zend_init_rsrc_list_dtors()
322 zend_hash_destroy(&list_destructors); in zend_destroy_rsrc_list_dtors()
330 lde = zend_hash_index_find_ptr(&list_destructors, res->type); in zend_rsrc_list_get_rsrc_type()