Lines Matching refs:obj

48 			zend_object *obj = objects->object_buckets[i];  in zend_objects_store_call_destructors()  local
49 if (IS_OBJ_VALID(obj)) { in zend_objects_store_call_destructors()
50 if (!(OBJ_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) { in zend_objects_store_call_destructors()
51 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_objects_store_call_destructors()
53 if (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_call_destructors()
54 || obj->ce->destructor) { in zend_objects_store_call_destructors()
55 GC_ADDREF(obj); in zend_objects_store_call_destructors()
56 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
57 GC_DELREF(obj); in zend_objects_store_call_destructors()
72 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() local
74 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
75 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_objects_store_mark_destructed()
84 zend_object **obj_ptr, **end, *obj; in zend_objects_store_free_object_storage() local
98 obj = *obj_ptr; in zend_objects_store_free_object_storage()
99 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
100 if (!(OBJ_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
101 GC_ADD_FLAGS(obj, IS_OBJ_FREE_CALLED); in zend_objects_store_free_object_storage()
102 if (obj->handlers->free_obj != zend_object_std_dtor) { in zend_objects_store_free_object_storage()
103 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
104 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
112 obj = *obj_ptr; in zend_objects_store_free_object_storage()
113 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
114 if (!(OBJ_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
115 GC_ADD_FLAGS(obj, IS_OBJ_FREE_CALLED); in zend_objects_store_free_object_storage()
116 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
117 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()