Searched refs:exception (Results 1 - 25 of 51) sorted by relevance

123

/gem5/src/systemc/ext/utils/
H A Dsc_exception.hh33 #include <exception>
38 typedef std::exception sc_exception;
H A Dsc_report.hh33 #include <exception>
62 class sc_report : public std::exception
/gem5/ext/dsent/libutil/
H A DException.h25 #include <exception>
31 using std::exception;
33 // Exception class handles the all exception messages in the program
34 class Exception : public exception
41 // Derived from std::exception class that returns a null-terminated char string
H A DException.cc27 : exception(), mExceptionMsg(exception_msg_)
/gem5/src/systemc/tests/systemc/kernel/process_control/test05/
H A Dtest05.cpp22 test05.cpp -- Test user exception throws.
66 cout << sc_time_stamp() << " caught my exception " << endl;
70 cout << sc_time_stamp() << " caught your exception " << endl;
76 my_exception exception; local
81 cout << sc_time_stamp() << " throwing my exception " << endl;
82 m_monitor_handle.throw_it(exception);
87 cout << sc_time_stamp() << " throwing my exception " << endl;
88 m_monitor_handle.throw_it(exception);
89 cout << sc_time_stamp() << " throwing your exception " << endl;
/gem5/ext/googletest/googletest/test/
H A Dgtest-death-test_ex_test.cc47 # include <exception> // For std::exception.
53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception");
55 FAIL() << "An exception escaped a death test macro invocation "
61 class TestException : public std::exception {
67 // Verifies that the exception message is quoted in the failure text.
H A Dgtest_throw_on_failure_test_.cc42 #include <exception> // for set_terminate
48 fprintf(stderr, "%s\n", "Unhandled C++ exception terminating the program.");
/gem5/ext/googletest/googlemock/test/
H A Dgmock_ex_test.cc69 FAIL() << "Google Test does not try to catch an exception of type "
74 } catch (const std::exception& ex) {
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_except.h33 #include <exception>
70 class sc_unwind_exception : public std::exception
106 : std::exception( that )
114 // global exception handling
161 // (2) New exception processing code.
H A Dsc_except.cpp22 sc_except.cpp -- kill/reset exception handling
67 // can't throw an exception, since we're already throwing
87 // re-throw exception here
98 catch( std::exception const & x )
138 // Andy Goodrich: first check in of Philipp A. Hartmann's new exception
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_writer_policy/
H A Dsc_writer_policy.cpp112 catch (const std::exception& e) {
190 catch (const std::exception& e) {
197 catch (const std::exception& e) {
206 catch (const std::exception& e) {
226 catch (const std::exception& e) {
233 catch (const std::exception& e) {
241 catch (const std::exception& e) {
261 catch (const std::exception& e) {
268 catch (const std::exception& e) {
276 catch (const std::exception
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/include_descendants/
H A Dinclude_descendants.cpp68 std::exception ex;
213 catch (std::exception e) {
228 catch (std::exception e) {
242 catch (std::exception e) {
254 catch (std::exception e) {
266 catch (std::exception e) {
278 catch (std::exception e) {
290 catch (std::exception e) {
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_elab/
H A Dproc_ctrl_elab.cpp145 catch (std::exception e) {
153 catch (std::exception e) {
161 catch (std::exception e) {
184 catch (std::exception e) {
192 catch (std::exception e) {
200 catch (std::exception e) {
214 catch (std::exception e) {
222 catch (std::exception e) {
230 catch (std::exception e) {
237 std::exception e
[all...]
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64mi/
H A Dmcsr.S26 # Check that reading the following CSRs doesn't cause an exception
31 # Check that writing hte following CSRs doesn't cause an exception
H A Daccess.S7 # Test access-exception behavior.
24 # after the pc is set to rs1, an access exception should be raised.
/gem5/ext/pybind11/tests/
H A Dtest_exceptions.cpp2 tests/test_custom-exceptions.cpp -- exception translation
12 // A type that should be raised as an exception in Python
13 class MyException : public std::exception {
21 // A type that should be translated to a standard Python exception
22 class MyException2 : public std::exception {
30 // A type that is not derived from std::exception (and is thus unknown)
40 // and delegated to its exception translator
41 class MyException4 : public std::exception {
70 throw std::runtime_error("This exception was intentionally thrown.");
73 // make a new custom exception an
[all...]
H A Dtest_modules.cpp69 py::exception<DupeException>(dm, "DupeException");
84 py::exception<Dupe3>(dm, "Dupe2");
H A Dtest_eval.cpp86 } catch (std::exception &) {
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.h37 #include <exception>
45 // Enumeration of possible exception severity levels
76 // Enumeration of actions on an exception (implementation specific)
82 SC_THROW = 0x0002, // throw an exception
104 class sc_report : public std::exception
183 typedef std::exception sc_exception;
/gem5/src/systemc/tests/systemc/1666-2011-compliance/throw_it/
H A Dthrow_it.cpp79 std::exception ex;
86 catch (std::exception ex) {
109 t4.throw_it(ex); // Throw exception in method process
238 catch (const std::exception& ex) {
267 t2.throw_it(ex); // Process throws an exception to itself
270 catch (std::exception ex) {
283 catch (std::exception ex) {
292 t4.throw_it(ex); // Method process throws exception to itself
319 catch (const std::exception& ex) {
/gem5/src/systemc/ext/core/
H A Dsc_process_handle.hh33 #include <exception>
100 class sc_unwind_exception : public std::exception
/gem5/ext/systemc/src/tlm_core/tlm_2/tlm_generic_payload/
H A Dtlm_array.h24 #include <exception>
/gem5/src/systemc/ext/
H A Dsystemc.h51 #include <exception>
/gem5/src/systemc/tests/systemc/1666-2011-compliance/mixed_child_procs/
H A Dmixed_child_procs.cpp84 std::exception ex;
152 catch (const std::exception& e) {
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h224 // Action Throw(exception) can be used in a mock function of any type
225 // to throw the given exception. Any copyable value can be thrown.
233 ACTION_P(Throw, exception) { throw exception; }

Completed in 24 milliseconds

123