Searched refs:exception (Results 26 - 50 of 51) sorted by relevance

123

/gem5/src/python/m5/util/
H A D__init__.py187 no_exception = 'exception' in kwargs
188 exception = kwargs.pop('exception', None)
198 return exception
/gem5/src/mem/ruby/slicc_interface/
H A DAbstractController.hh44 #include <exception>
67 class RejectException: public std::exception
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_process_handle.h119 inline void throw_it( const EXCEPT& exception,
480 // This method throws the supplied exception to the process whose handle this
482 // exception is thrown the currently executed process will suspend to allow
483 // the exception to be propagated. Once the propagation has occurred the
491 // exception = exception to be thrown
496 inline void sc_process_handle::throw_it( const EXCEPT& exception, argument
499 sc_throw_it<EXCEPT> helper(exception); // helper to throw the exception.
/gem5/ext/googletest/googletest/test/
H A Dgtest_catch_exceptions_test_.cc45 # include <exception> // For set_terminate().
109 throw std::runtime_error("Standard C++ exception"));
153 throw std::runtime_error("Standard C++ exception"));
169 throw std::runtime_error("Standard C++ exception");
207 throw std::runtime_error("Standard C++ exception");
228 virtual void SetUp() { throw std::runtime_error("Standard C++ exception"); }
258 throw std::runtime_error("Standard C++ exception");
287 throw std::runtime_error("Standard C++ exception");
298 fprintf(stderr, "%s\n", "Unhandled C++ exception terminating the program.");
/gem5/ext/testlib/
H A Dhandlers.py374 exception = None
378 # exception raise until we get a chance to unlock.
382 exception = e
386 if exception is not None:
387 raise exception
H A Dhelper.py355 exception on join if the child threw an unhandled exception.
371 exception = self._eq.get()
372 if exception:
373 raise Exception(exception)
/gem5/ext/pybind11/include/pybind11/
H A Dembed.h56 } catch (const std::exception &e) { \
91 called before this is done; with the exception of `PYBIND11_EMBEDDED_MODULE`. The
97 is controlled by the CPython runtime and is an exception to pybind11's normal behavior
H A Dpybind11.h17 # pragma warning disable 878 // incompatible exception specifications
675 /* When an exception is caught, give each registered exception
676 translator a chance to translate it to a Python exception
681 - catch the exception and call PyErr_SetString or PyErr_SetObject
682 to set a standard (or custom) Python exception, or
683 - do nothing and let the exception fall through to the next translator, or
684 - delegate translation to the next translator by throwing a new type of exception. */
697 PyErr_SetString(PyExc_SystemError, "Exception escaped from default exception translator!");
1772 * Wrapper to generate a new Python exception typ
1779 class exception : public object { class in inherits:object
1782 exception(handle scope, const char *name, PyObject *base = PyExc_Exception) { function in class:exception
[all...]
H A Dstl_bind.h159 } catch (const std::exception &) {
379 // numpy.h declares this for arbitrary types, but it may raise an exception and crash hard at runtime if PYBIND11_NUMPY_DTYPE hasn't been called, so check here
/gem5/src/gpu-compute/
H A Dkernel_cfg.cc204 const std::set<uint32_t>& b, uint32_t exception)
207 if (b_elem != exception) {
203 setDifference(std::set<uint32_t>&a, const std::set<uint32_t>& b, uint32_t exception) argument
/gem5/ext/pybind11/tests/
H A Dconftest.py178 def suppress(exception):
179 """Suppress the desired exception"""
182 except exception:
231 Any possible exception is caught here and reported manually *without* the stack
/gem5/src/sim/
H A Dcxx_manager.hh79 class Exception : public std::exception
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h164 } catch (const ::std::exception& gtest_exception) { \
167 "\n%s: Caught std::exception-derived exception escaping the " \
/gem5/src/arch/riscv/
H A Dfaults.hh56 * In RISC-V, exception and interrupt codes share some values. They can be
59 * exception (or interrupt) code in the least significant bits of the CAUSE
61 * For more details on exception causes, see Chapter 3.1.20 of the RISC-V
108 ExceptionCode exception() const { return _code; } function in class:RiscvISA::RiscvFault
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_immed/
H A Dproc_ctrl_immed.cpp94 std::exception ex;
268 catch (const std::exception& e) {
/gem5/src/cpu/kvm/
H A Dx86_cpu.cc354 events.exception.injected, events.exception.nr,
355 events.exception.has_error_code, events.exception.error_code);
1390 const bool pending_events(events.exception.injected ||
1396 events.exception.injected ? "exception" : "",
H A Dbase.cc1101 panic("KVM: Got exception when starting vCPU "
1102 "(exception: %u, error_code: %u)\n",
1103 _kvmRun->ex.exception, _kvmRun->ex.error_code);
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.cpp109 : std::exception(other),
/gem5/src/systemc/ext/utils/
H A Dsc_trace_file.hh33 #include <exception>
H A Dsc_vector.hh54 #include <exception>
/gem5/src/base/
H A Dremote_gdb.hh50 #include <exception>
/gem5/src/systemc/core/
H A Dscheduler.cc513 // Rethrow the current exception so we can catch it and throw an
520 panic("Kill/reset exception escaped a Process::run()");
521 } catch (const std::exception &e) {
536 panic("No exception thrown in reportifyException.");
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinternals.h214 } catch (const std::exception &e) { PyErr_SetString(PyExc_RuntimeError, e.what()); return;
216 PyErr_SetString(PyExc_RuntimeError, "Caught an unknown exception!");
252 // initial exception translator, below, so add another for our local exception classes.
H A Dcommon.h235 } catch (const std::exception &e) { \
/gem5/ext/systemc/src/
H A Dsystemc.h50 #include <exception>

Completed in 58 milliseconds

123