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 in zend_objects_store_call_destructors()
54 && (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_call_destructors()
55 || obj->ce->destructor)) { in zend_objects_store_call_destructors()
56 GC_ADDREF(obj); in zend_objects_store_call_destructors()
57 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
58 GC_DELREF(obj); in zend_objects_store_call_destructors()
73 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() local
75 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
76 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_objects_store_mark_destructed()
85 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 && 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()
105 GC_DELREF(obj); in zend_objects_store_free_object_storage()
113 obj = *obj_ptr; in zend_objects_store_free_object_storage()
114 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
115 if (!(OBJ_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
116 GC_ADD_FLAGS(obj, IS_OBJ_FREE_CALLED); in zend_objects_store_free_object_storage()
117 if (obj->handlers->free_obj) { in zend_objects_store_free_object_storage()
118 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
119 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
120 GC_DELREF(obj); in zend_objects_store_free_object_storage()