Lines Matching refs:object
68 void *ptr, uintptr_t tag, zend_object *object) in zend_weakref_unref_single() argument
77 zend_hash_index_del((HashTable *) ptr, zend_object_to_weakref_key(object)); in zend_weakref_unref_single()
81 static void zend_weakref_unref(zend_object *object, void *tagged_ptr) { in zend_weakref_unref() argument
88 ZEND_WEAKREF_GET_PTR(tagged_ptr), ZEND_WEAKREF_GET_TAG(tagged_ptr), object); in zend_weakref_unref()
93 zend_weakref_unref_single(ptr, tag, object); in zend_weakref_unref()
97 static void zend_weakref_register(zend_object *object, void *payload) { in zend_weakref_register() argument
98 GC_ADD_FLAGS(object, IS_OBJ_WEAKLY_REFERENCED); in zend_weakref_register()
100 zend_ulong obj_key = zend_object_to_weakref_key(object); in zend_weakref_register()
123 static void zend_weakref_unregister(zend_object *object, void *payload, bool weakref_free) { in zend_weakref_unregister() argument
124 zend_ulong obj_key = zend_object_to_weakref_key(object); in zend_weakref_unregister()
133 GC_DEL_FLAGS(object, IS_OBJ_WEAKLY_REFERENCED); in zend_weakref_unregister()
137 zend_weakref_unref_single(ptr, tag, object); in zend_weakref_unregister()
153 GC_DEL_FLAGS(object, IS_OBJ_WEAKLY_REFERENCED); in zend_weakref_unregister()
162 ZEND_WEAKREF_GET_PTR(payload), ZEND_WEAKREF_GET_TAG(payload), object); in zend_weakref_unregister()
192 void zend_weakrefs_notify(zend_object *object) { in zend_weakrefs_notify() argument
195 const zend_ulong obj_key = zend_object_to_weakref_key(object); in zend_weakrefs_notify()
201 zend_weakref_unref(object, tagged_ptr); in zend_weakrefs_notify()
310 static void zend_weakmap_free_obj(zend_object *object) in zend_weakmap_free_obj() argument
312 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_free_obj()
325 static zval *zend_weakmap_read_dimension(zend_object *object, zval *offset, int type, zval *rv) in zend_weakmap_read_dimension() argument
338 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_read_dimension()
356 static void zend_weakmap_write_dimension(zend_object *object, zval *offset, zval *value) in zend_weakmap_write_dimension() argument
369 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_write_dimension()
390 static int zend_weakmap_has_dimension(zend_object *object, zval *offset, int check_empty) in zend_weakmap_has_dimension() argument
398 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_has_dimension()
410 static void zend_weakmap_unset_dimension(zend_object *object, zval *offset) in zend_weakmap_unset_dimension() argument
418 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_unset_dimension()
428 static zend_result zend_weakmap_count_elements(zend_object *object, zend_long *count) in zend_weakmap_count_elements() argument
430 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_count_elements()
435 static HashTable *zend_weakmap_get_properties_for(zend_object *object, zend_prop_purpose purpose) in zend_weakmap_get_properties_for() argument
441 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_get_properties_for()
464 HashTable *zend_weakmap_get_gc(zend_object *object, zval **table, int *n) in zend_weakmap_get_gc() argument
466 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_get_gc()
476 HashTable *zend_weakmap_get_key_entry_gc(zend_object *object, zval **table, int *n) in zend_weakmap_get_key_entry_gc() argument
478 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_get_key_entry_gc()
491 HashTable *zend_weakmap_get_entry_gc(zend_object *object, zval **table, int *n) in zend_weakmap_get_entry_gc() argument
493 zend_weakmap *wm = zend_weakmap_from(object); in zend_weakmap_get_entry_gc()
503 HashTable *zend_weakmap_get_object_key_entry_gc(zend_object *object, zval **table, int *n) in zend_weakmap_get_object_key_entry_gc() argument
506 const zend_ulong obj_key = zend_object_to_weakref_key(object); in zend_weakmap_get_object_key_entry_gc()
538 HashTable *zend_weakmap_get_object_entry_gc(zend_object *object, zval **table, int *n) in zend_weakmap_get_object_entry_gc() argument
541 const zend_ulong obj_key = zend_object_to_weakref_key(object); in zend_weakmap_get_object_entry_gc()
665 zend_class_entry *ce, zval *object, int by_ref) in zend_weakmap_get_iterator() argument
667 zend_weakmap *wm = zend_weakmap_fetch(object); in zend_weakmap_get_iterator()
671 ZVAL_COPY(&iter->it.data, object); in zend_weakmap_get_iterator()