Lines Matching refs:object

61 static inline zend_class_entry *i_get_exception_base(zval *object) /* {{{ */  in i_get_exception_base()  argument
63 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base()
67 ZEND_API zend_class_entry *zend_get_exception_base(zval *object) /* {{{ */ in zend_get_exception_base() argument
69 return i_get_exception_base(object); in zend_get_exception_base()
212 zend_object *object; in zend_default_exception_new_ex() local
217 Z_OBJ(obj) = object = zend_objects_new(class_type); in zend_default_exception_new_ex()
220 object_properties_init(object, class_type); in zend_default_exception_new_ex()
248 return object; in zend_default_exception_new_ex()
279 zval tmp, *object, *previous = NULL; in ZEND_METHOD() local
283 object = ZEND_THIS; in ZEND_METHOD()
284 base_ce = i_get_exception_base(object); in ZEND_METHOD()
302 zend_update_property_ex(base_ce, object, ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in ZEND_METHOD()
307 zend_update_property_ex(base_ce, object, ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in ZEND_METHOD()
311 zend_update_property_ex(base_ce, object, ZSTR_KNOWN(ZEND_STR_PREVIOUS), previous); in ZEND_METHOD()
319 …pvalue = zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &value);…
321 …zend_unset_property(i_get_exception_base(object), object, ZSTR_VAL(ZSTR_KNOWN(id)), ZSTR_LEN(ZSTR_…
327 zval *object = ZEND_THIS; in ZEND_METHOD() local
334 …pvalue = zend_read_property(i_get_exception_base(object), object, "previous", sizeof("previous")-1… in ZEND_METHOD()
337 pvalue == object)) { in ZEND_METHOD()
338 zend_unset_property(i_get_exception_base(object), object, "previous", sizeof("previous")-1); in ZEND_METHOD()
349 zval tmp, *object, *previous = NULL; in ZEND_METHOD() local
366 object = ZEND_THIS; in ZEND_METHOD()
370 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in ZEND_METHOD()
376 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in ZEND_METHOD()
380 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_PREVIOUS), previous); in ZEND_METHOD()
384 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_SEVERITY), &tmp); in ZEND_METHOD()
388 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in ZEND_METHOD()
394 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in ZEND_METHOD()
404 #define GET_PROPERTY(object, id) \ argument
405 zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 0, &rv)
406 #define GET_PROPERTY_SILENT(object, id) \ argument
407 zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &rv)
628 zval *object; in ZEND_METHOD() local
635 object = ZEND_THIS; in ZEND_METHOD()
636 base_ce = i_get_exception_base(object); in ZEND_METHOD()
638 trace = zend_read_property_ex(base_ce, object, ZSTR_KNOWN(ZEND_STR_TRACE), 1, &rv); in ZEND_METHOD()
697 fci.object = Z_OBJ_P(exception); in ZEND_METHOD()