Lines Matching refs:type
34 ZEND_API zval *zend_list_insert(void *ptr, int type) in zend_list_insert() argument
43 ZVAL_NEW_RES(&zv, index, ptr, type); in zend_list_insert()
70 res->type = -1; in zend_resource_dtor()
73 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
79 zend_error(E_WARNING, "Unknown list entry type (%d)", r.type); in zend_resource_dtor()
88 } else if (res->type >= 0) { in zend_list_close()
106 if (resource_type1 == res->type) { in zend_fetch_resource2()
110 if (resource_type2 == res->type) { in zend_fetch_resource2()
126 if (resource_type == res->type) { in zend_fetch_resource()
186 if (res->type >= 0) { in list_entry_destructor()
196 if (res->type >= 0) { in plist_entry_destructor()
199 ld = zend_hash_index_find_ptr(&list_destructors, res->type); in plist_entry_destructor()
205 zend_error(E_WARNING,"Unknown list entry type (%d)", res->type); in plist_entry_destructor()
229 if (res->type >= 0) { in zend_close_rsrc()
332 lde = zend_hash_index_find_ptr(&list_destructors, res->type); in zend_rsrc_list_get_rsrc_type()