Lines Matching refs:weakrefs
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()
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()
138 zend_hash_index_del(&EG(weakrefs), obj_addr); in zend_weakref_unregister()
164 zend_hash_init(&EG(weakrefs), 8, NULL, NULL, 0); in zend_weakrefs_init()
171 void *tagged_ptr = zend_hash_index_find_ptr(&EG(weakrefs), obj_addr); in zend_weakrefs_notify()
177 zend_hash_index_del(&EG(weakrefs), obj_addr); in zend_weakrefs_notify()
184 ZEND_HASH_FOREACH_NUM_KEY_PTR(&EG(weakrefs), obj_addr, tagged_ptr) { in zend_weakrefs_shutdown()
187 zend_hash_destroy(&EG(weakrefs)); in zend_weakrefs_shutdown()
201 void *tagged_ptr = zend_hash_index_find_ptr(&EG(weakrefs), (zend_ulong) Z_OBJ_P(referent)); in zend_weakref_find()