Lines Matching refs:obj

50 			zend_object *obj = objects->object_buckets[i];  in zend_objects_store_call_destructors()  local
51 if (IS_OBJ_VALID(obj)) { in zend_objects_store_call_destructors()
52 if (!(GC_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) { in zend_objects_store_call_destructors()
53 GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; in zend_objects_store_call_destructors()
55 if (obj->handlers->dtor_obj in zend_objects_store_call_destructors()
56 && (obj->handlers->dtor_obj != zend_objects_destroy_object in zend_objects_store_call_destructors()
57 || obj->ce->destructor)) { in zend_objects_store_call_destructors()
58 GC_REFCOUNT(obj)++; in zend_objects_store_call_destructors()
59 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
60 GC_REFCOUNT(obj)--; in zend_objects_store_call_destructors()
75 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() local
77 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
78 GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; in zend_objects_store_mark_destructed()
87 zend_object **obj_ptr, **end, *obj; in zend_objects_store_free_object_storage() local
100 obj = *obj_ptr; in zend_objects_store_free_object_storage()
101 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
102 if (!(GC_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
103 GC_FLAGS(obj) |= IS_OBJ_FREE_CALLED; in zend_objects_store_free_object_storage()
104 if (obj->handlers->free_obj && obj->handlers->free_obj != zend_object_std_dtor) { in zend_objects_store_free_object_storage()
105 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage()
106 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
107 GC_REFCOUNT(obj)--; in zend_objects_store_free_object_storage()
115 obj = *obj_ptr; in zend_objects_store_free_object_storage()
116 if (IS_OBJ_VALID(obj)) { in zend_objects_store_free_object_storage()
117 if (!(GC_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { in zend_objects_store_free_object_storage()
118 GC_FLAGS(obj) |= IS_OBJ_FREE_CALLED; in zend_objects_store_free_object_storage()
119 if (obj->handlers->free_obj) { in zend_objects_store_free_object_storage()
120 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage()
121 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
122 GC_REFCOUNT(obj)--; in zend_objects_store_free_object_storage()