Lines Matching refs:payload
97 static void zend_weakref_register(zend_object *object, void *payload) { in zend_weakref_register() argument
103 ZVAL_PTR(zv, payload); in zend_weakref_register()
110 zend_hash_index_add_new_ptr(ht, (zend_ulong) payload, payload); in zend_weakref_register()
118 zend_hash_index_add_new_ptr(ht, (zend_ulong) payload, payload); in zend_weakref_register()
123 static void zend_weakref_unregister(zend_object *object, void *payload, bool weakref_free) { in zend_weakref_unregister() argument
131 ZEND_ASSERT(tagged_ptr == payload); in zend_weakref_unregister()
140 ZEND_ASSERT(ZEND_WEAKREF_GET_TAG(payload) == ZEND_WEAKREF_TAG_MAP); in zend_weakref_unregister()
147 void *old_payload = zend_hash_index_find_ptr(ht, (zend_ulong) payload); in zend_weakref_unregister()
149 ZEND_ASSERT(old_payload == payload); in zend_weakref_unregister()
151 zend_hash_index_del(ht, (zend_ulong) payload); in zend_weakref_unregister()
162 ZEND_WEAKREF_GET_PTR(payload), ZEND_WEAKREF_GET_TAG(payload), object); in zend_weakref_unregister()
165 ZEND_ASSERT(ZEND_WEAKREF_GET_TAG(payload) == ZEND_WEAKREF_TAG_MAP); in zend_weakref_unregister()