Lines Matching refs:obj_addr

59 		void *ptr, uintptr_t tag, zend_ulong obj_addr)  in zend_weakref_unref_single()  argument
66 zend_hash_index_del((HashTable *) ptr, obj_addr); in zend_weakref_unref_single()
70 static void zend_weakref_unref(zend_ulong obj_addr, void *tagged_ptr) { in zend_weakref_unref() argument
77 ZEND_WEAKREF_GET_PTR(tagged_ptr), ZEND_WEAKREF_GET_TAG(tagged_ptr), obj_addr); in zend_weakref_unref()
82 zend_weakref_unref_single(ptr, tag, obj_addr); in zend_weakref_unref()
89 zend_ulong obj_addr = (zend_ulong) object; in zend_weakref_register() local
90 zval *zv = zend_hash_index_find(&EG(weakrefs), obj_addr); in zend_weakref_register()
92 zend_hash_index_add_new_ptr(&EG(weakrefs), obj_addr, payload); in zend_weakref_register()
109 &EG(weakrefs), obj_addr, ZEND_WEAKREF_ENCODE(ht, ZEND_WEAKREF_TAG_HT)); in zend_weakref_register()
113 zend_ulong obj_addr = (zend_ulong) object; in zend_weakref_unregister() local
114 void *tagged_ptr = zend_hash_index_find_ptr(&EG(weakrefs), obj_addr); in zend_weakref_unregister()
121 zend_hash_index_del(&EG(weakrefs), obj_addr); in zend_weakref_unregister()
125 zend_weakref_unref_single(ptr, tag, obj_addr); in zend_weakref_unregister()
138 zend_hash_index_del(&EG(weakrefs), obj_addr); in zend_weakref_unregister()
143 ZEND_WEAKREF_GET_PTR(payload), ZEND_WEAKREF_GET_TAG(payload), obj_addr); in zend_weakref_unregister()
170 zend_ulong obj_addr = (zend_ulong) object; in zend_weakrefs_notify() local
171 void *tagged_ptr = zend_hash_index_find_ptr(&EG(weakrefs), obj_addr); in zend_weakrefs_notify()
176 zend_hash_index_del(&EG(weakrefs), obj_addr); in zend_weakrefs_notify()
177 zend_weakref_unref(obj_addr, tagged_ptr); in zend_weakrefs_notify()
182 zend_ulong obj_addr; in zend_weakrefs_shutdown() local
184 ZEND_HASH_FOREACH_NUM_KEY_PTR(&EG(weakrefs), obj_addr, tagged_ptr) { in zend_weakrefs_shutdown()
185 zend_weakref_unref(obj_addr, tagged_ptr); in zend_weakrefs_shutdown()
297 zend_ulong obj_addr; in zend_weakmap_free_obj() local
298 ZEND_HASH_FOREACH_NUM_KEY(&wm->ht, obj_addr) { in zend_weakmap_free_obj()
300 (zend_object *) obj_addr, ZEND_WEAKREF_ENCODE(&wm->ht, ZEND_WEAKREF_TAG_MAP)); in zend_weakmap_free_obj()
426 zend_ulong obj_addr; in zend_weakmap_get_properties_for() local
428 ZEND_HASH_FOREACH_NUM_KEY_VAL(&wm->ht, obj_addr, val) { in zend_weakmap_get_properties_for()
429 zend_object *obj = (zend_object*)obj_addr; in zend_weakmap_get_properties_for()
463 zend_ulong obj_addr; in zend_weakmap_clone_obj() local
465 ZEND_HASH_FOREACH_NUM_KEY_VAL(&new_wm->ht, obj_addr, val) { in zend_weakmap_clone_obj()
467 (zend_object *) obj_addr, ZEND_WEAKREF_ENCODE(new_wm, ZEND_WEAKREF_TAG_MAP)); in zend_weakmap_clone_obj()