Lines Matching refs:payload
96 static void zend_weakref_register(zend_object *object, void *payload) { in zend_weakref_register() argument
102 ZVAL_PTR(zv, payload); in zend_weakref_register()
109 zend_hash_index_add_new_ptr(ht, (zend_ulong) payload, payload); in zend_weakref_register()
117 zend_hash_index_add_new_ptr(ht, (zend_ulong) payload, payload); in zend_weakref_register()
122 static void zend_weakref_unregister(zend_object *object, void *payload, bool weakref_free) { in zend_weakref_unregister() argument
130 ZEND_ASSERT(tagged_ptr == payload); in zend_weakref_unregister()
139 ZEND_ASSERT(ZEND_WEAKREF_GET_TAG(payload) == ZEND_WEAKREF_TAG_MAP); in zend_weakref_unregister()
146 void *old_payload = zend_hash_index_find_ptr(ht, (zend_ulong) payload); in zend_weakref_unregister()
148 ZEND_ASSERT(old_payload == payload); in zend_weakref_unregister()
150 zend_hash_index_del(ht, (zend_ulong) payload); in zend_weakref_unregister()
161 ZEND_WEAKREF_GET_PTR(payload), ZEND_WEAKREF_GET_TAG(payload), object); in zend_weakref_unregister()
164 ZEND_ASSERT(ZEND_WEAKREF_GET_TAG(payload) == ZEND_WEAKREF_TAG_MAP); in zend_weakref_unregister()