Lines Matching refs:obj
49 zend_object *obj = objects->object_buckets[i]; in zend_objects_store_call_destructors() local
50 if (IS_OBJ_VALID(obj)) { in zend_objects_store_call_destructors()
51 if (!(GC_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) { in zend_objects_store_call_destructors()
52 GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; in zend_objects_store_call_destructors()
53 GC_REFCOUNT(obj)++; in zend_objects_store_call_destructors()
54 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
55 GC_REFCOUNT(obj)--; in zend_objects_store_call_destructors()
69 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() local
71 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
72 GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; in zend_objects_store_mark_destructed()
81 zend_object **obj_ptr, **end, *obj; in zend_objects_store_free_object_storage() local
93 obj = *obj_ptr; in zend_objects_store_free_object_storage()
94 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
95 if (!(GC_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
96 GC_FLAGS(obj) |= IS_OBJ_FREE_CALLED; in zend_objects_store_free_object_storage()
97 if (obj->handlers->free_obj) { in zend_objects_store_free_object_storage()
98 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage()
99 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
100 GC_REFCOUNT(obj)--; in zend_objects_store_free_object_storage()
216 ZEND_API void zend_object_store_ctor_failed(zend_object *obj) in zend_object_store_ctor_failed() argument
218 GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; in zend_object_store_ctor_failed()