Lines Matching refs:exception
282 zend_object *old_exception = EG(exception); in zend_generator_dtor_storage()
284 EG(exception) = NULL; in zend_generator_dtor_storage()
294 if (EG(exception)) { in zend_generator_dtor_storage()
295 zend_exception_set_previous(EG(exception), old_exception); in zend_generator_dtor_storage()
297 EG(exception) = old_exception; in zend_generator_dtor_storage()
457 static void zend_generator_throw_exception(zend_generator *generator, zval *exception) in zend_generator_throw_exception() argument
466 if (exception) { in zend_generator_throw_exception()
467 zend_throw_exception_object(exception); in zend_generator_throw_exception()
564 …if (EXPECTED(EG(exception) == NULL) && EXPECTED((OBJ_FLAGS(&generator->std) & IS_OBJ_DESTRUCTOR_CA… in zend_generator_update_current()
643 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
654 if (UNEXPECTED(EG(exception) != NULL) || UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value()
664 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
778 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume()
942 zval *exception; in ZEND_METHOD() local
946 Z_PARAM_OBJECT_OF_CLASS(exception, zend_ce_throwable); in ZEND_METHOD()
949 Z_TRY_ADDREF_P(exception); in ZEND_METHOD()
958 zend_generator_throw_exception(root, exception); in ZEND_METHOD()
969 zend_throw_exception_object(exception); in ZEND_METHOD()
984 if (UNEXPECTED(EG(exception))) { in ZEND_METHOD()