Lines Matching refs:zv

101 	zval *zv = zend_hash_index_lookup(&EG(weakrefs), obj_key);  in zend_weakref_register()  local
102 if (Z_TYPE_P(zv) == IS_NULL) { in zend_weakref_register()
103 ZVAL_PTR(zv, payload); in zend_weakref_register()
107 void *tagged_ptr = Z_PTR_P(zv); in zend_weakref_register()
120 ZVAL_PTR(zv, ZEND_WEAKREF_ENCODE(ht, ZEND_WEAKREF_TAG_HT)); in zend_weakref_register()
170 zval *zv = zend_hash_index_add(ht, zend_object_to_weakref_key(key), pData); in zend_weakrefs_hash_add() local
171 if (zv) { in zend_weakrefs_hash_add()
174 return zv; in zend_weakrefs_hash_add()
178 zval *zv = zend_hash_index_find(ht, zend_object_to_weakref_key(key)); in zend_weakrefs_hash_del() local
179 if (zv) { in zend_weakrefs_hash_del()
366 zval *zv = zend_hash_index_find(&wm->ht, zend_object_to_weakref_key(obj_addr)); in zend_weakmap_read_dimension() local
367 if (zv == NULL) { in zend_weakmap_read_dimension()
377 ZVAL_MAKE_REF(zv); in zend_weakmap_read_dimension()
379 return zv; in zend_weakmap_read_dimension()
400 zval *zv = zend_hash_index_find(&wm->ht, obj_key); in zend_weakmap_write_dimension() local
401 if (zv) { in zend_weakmap_write_dimension()
405 ZVAL_COPY_VALUE(&zv_orig, zv); in zend_weakmap_write_dimension()
406 ZVAL_COPY_VALUE(zv, value); in zend_weakmap_write_dimension()
426 zval *zv = zend_hash_index_find(&wm->ht, zend_object_to_weakref_key(Z_OBJ_P(offset))); in zend_weakmap_has_dimension() local
427 if (!zv) { in zend_weakmap_has_dimension()
432 return i_zend_is_true(zv); in zend_weakmap_has_dimension()
434 return Z_TYPE_P(zv) != IS_NULL; in zend_weakmap_has_dimension()
546 zval *zv = zend_hash_index_find(&wm->ht, obj_key); in zend_weakmap_get_object_key_entry_gc() local
547 ZEND_ASSERT(zv); in zend_weakmap_get_object_key_entry_gc()
548 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_key_entry_gc()
554 zval *zv = zend_hash_index_find(&wm->ht, obj_key); in zend_weakmap_get_object_key_entry_gc() local
555 ZEND_ASSERT(zv); in zend_weakmap_get_object_key_entry_gc()
556 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_key_entry_gc()
581 zval *zv = zend_hash_index_find(&wm->ht, obj_key); in zend_weakmap_get_object_entry_gc() local
582 ZEND_ASSERT(zv); in zend_weakmap_get_object_entry_gc()
583 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_entry_gc()
588 zval *zv = zend_hash_index_find(&wm->ht, obj_key); in zend_weakmap_get_object_entry_gc() local
589 ZEND_ASSERT(zv); in zend_weakmap_get_object_entry_gc()
590 zend_get_gc_buffer_add_ptr(gc_buffer, zv); in zend_weakmap_get_object_entry_gc()
711 zval *zv = zend_weakmap_read_dimension(Z_OBJ_P(ZEND_THIS), key, BP_VAR_R, NULL); in ZEND_METHOD() local
712 if (!zv) { in ZEND_METHOD()
716 ZVAL_COPY(return_value, zv); in ZEND_METHOD()