Lines Matching refs:list_destructors
32 static HashTable list_destructors; variable
73 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
199 ld = zend_hash_index_find_ptr(&list_destructors, res->type); in plist_entry_destructor()
273 …zend_hash_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module… in zend_clean_module_rsrc_dtors()
286 lde->resource_id = list_destructors.nNextFreeElement; in zend_register_list_destructors_ex()
290 if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { in zend_register_list_destructors_ex()
293 return list_destructors.nNextFreeElement-1; in zend_register_list_destructors_ex()
300 ZEND_HASH_FOREACH_PTR(&list_destructors, lde) { in zend_fetch_list_dtor_id()
316 zend_hash_init(&list_destructors, 64, NULL, list_destructors_dtor, 1); in zend_init_rsrc_list_dtors()
317 list_destructors.nNextFreeElement=1; /* we don't want resource type 0 */ in zend_init_rsrc_list_dtors()
324 zend_hash_destroy(&list_destructors); in zend_destroy_rsrc_list_dtors()
332 lde = zend_hash_index_find_ptr(&list_destructors, res->type); in zend_rsrc_list_get_rsrc_type()