Lines Matching refs:zv
34 zval zv; in zend_list_insert() local
42 ZVAL_NEW_RES(&zv, index, ptr, type); in zend_list_insert()
43 return zend_hash_index_add_new(&EG(regular_list), index, &zv); in zend_list_insert()
89 zval *zv; in zend_register_resource() local
91 zv = zend_list_insert(rsrc_pointer, rsrc_type); in zend_register_resource()
93 return Z_RES_P(zv); in zend_register_resource()
174 void list_entry_destructor(zval *zv) in list_entry_destructor() argument
176 zend_resource *res = Z_RES_P(zv); in list_entry_destructor()
178 ZVAL_UNDEF(zv); in list_entry_destructor()
185 void plist_entry_destructor(zval *zv) in plist_entry_destructor() argument
187 zend_resource *res = Z_RES_P(zv); in plist_entry_destructor()
238 static int clean_module_resource(zval *zv, void *arg) in clean_module_resource() argument
242 return Z_RES_TYPE_P(zv) == resource_id; in clean_module_resource()
246 static int zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg) in zend_clean_module_rsrc_dtors_cb() argument
248 zend_rsrc_list_dtors_entry *ld = (zend_rsrc_list_dtors_entry *)Z_PTR_P(zv); in zend_clean_module_rsrc_dtors_cb()
268 zval zv; in zend_register_list_destructors_ex() local
276 ZVAL_PTR(&zv, lde); in zend_register_list_destructors_ex()
278 if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { in zend_register_list_destructors_ex()
298 static void list_destructors_dtor(zval *zv) in list_destructors_dtor() argument
300 free(Z_PTR_P(zv)); in list_destructors_dtor()
330 zval *zv; in zend_register_persistent_resource_ex() local
337 zv = zend_hash_update(&EG(persistent_list), key, &tmp); in zend_register_persistent_resource_ex()
339 return Z_RES_P(zv); in zend_register_persistent_resource_ex()