Lines Matching refs:obj
43 #define OBJ_RELEASE(obj) zend_object_release(obj) argument
65 static zend_always_inline void zend_object_store_ctor_failed(zend_object *obj) in zend_object_store_ctor_failed() argument
67 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_object_store_ctor_failed()
72 static zend_always_inline void zend_object_release(zend_object *obj) in END_EXTERN_C()
74 if (GC_DELREF(obj) == 0) { in END_EXTERN_C()
75 zend_objects_store_del(obj); in END_EXTERN_C()
76 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
77 gc_possible_root((zend_refcounted*)obj); in END_EXTERN_C()
92 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc() local
93 memset(obj, 0, obj_size - sizeof(zend_object)); in zend_object_alloc()
94 return obj; in zend_object_alloc()
97 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() argument
99 zend_property_info **table = obj->ce->properties_info_table; in zend_get_property_info_for_slot()
100 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot()
101 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot()
106 static inline zend_property_info *zend_get_typed_property_info_for_slot(zend_object *obj, zval *slo… in zend_get_typed_property_info_for_slot() argument
108 zend_property_info *prop_info = zend_get_property_info_for_slot(obj, slot); in zend_get_typed_property_info_for_slot()