/freebsd/contrib/llvm-project/libcxx/include/__exception/ |
H A D | exception.h | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 // <vcruntime_exception.h> defines its own std::exception and std::bad_exception types, 27 // The std::exception class was already included above, but we're explicit about this condition here for clarity. 30 // However, <vcruntime_exception.h> does not define std::exception and std::bad_exception 33 // Since libc++ still wants to provide the std::exception hierarchy even when _HAS_EXCEPTIONS == 0 35 // of the VCRuntime std::exception and std::bad_exception types in that mode. 42 class exception { // base of all library exceptions 44 exception() _NOEXCEPT : __data_() {} 46 explicit exception(char const* __message) _NOEXCEPT : __data_() { 51 exception(exceptio [all...] |
/freebsd/contrib/libcxxrt/ |
H A D | stdexcept.cc | 34 exception::exception() _LIBCXXRT_NOEXCEPT {} in exception() function in std::exception 35 exception::~exception() {} in ~exception() 36 exception::exception(const exception&) _LIBCXXRT_NOEXCEPT {} in exception() function in std::exception 37 exception& exception::operator=(const exception&) _LIBCXXRT_NOEXCEPT in operator =() argument 41 const char* exception::what() const _LIBCXXRT_NOEXCEPT in what()
|
H A D | stdexcept.h | 37 class exception 40 exception() _LIBCXXRT_NOEXCEPT; 41 exception(const exception&) _LIBCXXRT_NOEXCEPT; 42 exception& operator=(const exception&) _LIBCXXRT_NOEXCEPT; 43 virtual ~exception(); 51 class bad_alloc: public exception 64 class bad_cast: public exception { 76 class bad_typeid: public exception
|
/freebsd/sys/arm64/arm64/ |
H A D | trap.c | 458 fpe_trap(struct thread *td, void *addr, uint32_t exception) in fpe_trap() argument 463 if ((exception & ISS_FP_TFV) != 0) { in fpe_trap() 464 if ((exception & ISS_FP_IOF) != 0) in fpe_trap() 466 else if ((exception & ISS_FP_DZF) != 0) in fpe_trap() 468 else if ((exception & ISS_FP_OFF) != 0) in fpe_trap() 470 else if ((exception & ISS_FP_UFF) != 0) in fpe_trap() 472 else if ((exception & ISS_FP_IXF) != 0) in fpe_trap() 475 call_trapsignal(td, SIGFPE, code, addr, exception); in fpe_trap() 485 uint32_t exception; in do_el1h_sync() local 495 exception = ESR_ELx_EXCEPTION(esr); in do_el1h_sync() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | exception | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 exception synopsis 19 class exception 22 exception() noexcept; 23 exception(const exception&) noexcept; 24 exception& operator=(const exception&) noexcept; 25 virtual ~exception() noexcept; 30 : public exception 80 #include <__exception/exception.h>
|
H A D | typeinfo | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 36 : public exception 46 : public exception 60 #include <__exception/exception.h> 328 class _LIBCPP_EXPORTED_FROM_ABI bad_cast : public exception { 337 class _LIBCPP_EXPORTED_FROM_ABI bad_typeid : public exception { 354 class bad_cast : public exception { 356 bad_cast() _NOEXCEPT : exception("bad cast") {} 359 bad_cast(const char* const __message) _NOEXCEPT : exception(__message) {} 362 class bad_typeid : public exception { [all …]
|
H A D | stdexcept | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 31 class xxx_error : public exception // at least indirectly 45 #include <__exception/exception.h> 76 class _LIBCPP_EXPORTED_FROM_ABI logic_error : public exception { 96 _LIBCPP_HIDE_FROM_ABI explicit logic_error(const char* __s) : exception(__s) {} 100 class _LIBCPP_EXPORTED_FROM_ABI runtime_error : public exception { 120 _LIBCPP_HIDE_FROM_ABI explicit runtime_error(const char* __s) : exception(__s) {} 282 # include <exception>
|
/freebsd/sys/riscv/riscv/ |
H A D | trap.c | 309 uint64_t exception; in do_trap_supervisor() local 318 exception = frame->tf_scause & SCAUSE_CODE; in do_trap_supervisor() 326 if (dtrace_trap_func != NULL && (*dtrace_trap_func)(frame, exception)) in do_trap_supervisor() 331 exception, frame->tf_sepc, frame->tf_stval); in do_trap_supervisor() 333 switch (exception) { in do_trap_supervisor() 360 kdb_trap(exception, 0, frame); in do_trap_supervisor() 375 exception, frame->tf_stval); in do_trap_supervisor() 382 uint64_t exception; in do_trap_user() local 399 exception = frame->tf_scause & SCAUSE_CODE; in do_trap_user() 408 exception, frame->tf_sepc, frame->tf_stval); in do_trap_user() [all …]
|
/freebsd/contrib/opencsd/decoder/source/etmv3/ |
H A D | trc_pkt_elem_etmv3.cpp | 59 m_pkt_data.exception.bits.present = 0; in Clear() 126 m_pkt_data.exception.bits.cancel = cancel ? 1 : 0; in SetException() 127 m_pkt_data.exception.bits.cm_irq_n = irq_n; in SetException() 128 m_pkt_data.exception.bits.cm_resume = resume; in SetException() 129 m_pkt_data.exception.bits.cm_type = cm_type ? 1 : 0; in SetException() 130 m_pkt_data.exception.number = number; in SetException() 131 m_pkt_data.exception.type = type; in SetException() 134 m_pkt_data.exception.bits.present = 1; in SetException() 507 if(m_pkt_data.exception.bits.present) in getBranchAddressStr() 669 if(m_pkt_data.exception.bits.cm_type) in getExcepStr() [all …]
|
/freebsd/contrib/llvm-project/libcxx/src/support/runtime/ |
H A D | exception_fallback.ipp | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 46 // handler should not throw exception 47 fprintf(stderr, "terminate_handler unexpectedly threw an exception\n"); 61 exception::~exception() noexcept {} 63 const char* exception::what() const noexcept { return "std::exception"; }
|
H A D | exception_msvc.ipp | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 55 // handler should not throw exception 56 fprintf(stderr, "terminate_handler unexpectedly threw an exception\n"); 79 exception::~exception() noexcept {} 81 const char* exception::what() const noexcept { return "std::exception"; }
|
H A D | stdexcept_vcruntime.ipp | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 logic_error::logic_error(std::string const& s) : exception(s.c_str()) {} 15 runtime_error::runtime_error(std::string const& s) : exception(s.c_str()) {}
|
/freebsd/sys/dev/dpaa/ |
H A D | if_dtsec.c | 139 dtsec_fm_mac_ex_to_str(e_FmMacExceptions exception) in dtsec_fm_mac_ex_to_str() argument 143 for (i = 0; dtsec_fm_mac_exceptions[i].num != exception && in dtsec_fm_mac_ex_to_str() 155 e_FmMacExceptions exception) in dtsec_fm_mac_mdio_event_callback() argument 160 device_printf(sc->sc_dev, "MDIO event %i: %s.\n", exception, in dtsec_fm_mac_mdio_event_callback() 161 dtsec_fm_mac_ex_to_str(exception)); in dtsec_fm_mac_mdio_event_callback() 165 dtsec_fm_mac_exception_callback(t_Handle app, e_FmMacExceptions exception) in dtsec_fm_mac_exception_callback() argument 170 device_printf(sc->sc_dev, "MAC exception %i: %s.\n", exception, in dtsec_fm_mac_exception_callback() 171 dtsec_fm_mac_ex_to_str(exception)); in dtsec_fm_mac_exception_callback() 246 dtsec_fm_port_ex_to_str(e_FmPortExceptions exception) in dtsec_fm_port_ex_to_str() argument 249 switch (exception) { in dtsec_fm_port_ex_to_str() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | coredump.c | 102 bool *exception) in mt7996_coredump_fw_state() argument 114 *exception = !!count; in mt7996_coredump_fw_state() 119 bool exception) in mt7996_coredump_fw_stack() argument 134 if (!exception) { in mt7996_coredump_fw_stack() 156 if (!exception) { in mt7996_coredump_fw_stack() 169 bool exception; in mt7996_coredump_build() local 201 mt7996_coredump_fw_state(dev, dump, &exception); in mt7996_coredump_build() 202 mt7996_coredump_fw_stack(dev, dump, exception); in mt7996_coredump_build()
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | exception.cppm |
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | coredump.c | 145 bool *exception) in mt7915_coredump_fw_state() argument 163 *exception = !!count; in mt7915_coredump_fw_state() 168 bool exception) in mt7915_coredump_fw_trace() argument 190 if (exception) { in mt7915_coredump_fw_trace() 225 bool exception) in mt7915_coredump_fw_stack() argument 230 if (!exception) in mt7915_coredump_fw_stack() 240 if (!exception) in mt7915_coredump_fw_stack() 309 bool exception; in mt7915_coredump_build() local 341 mt7915_coredump_fw_state(dev, dump, &exception); in mt7915_coredump_build() 342 mt7915_coredump_fw_trace(dev, dump, exception); in mt7915_coredump_build() [all …]
|
/freebsd/contrib/opencsd/decoder/include/opencsd/ptm/ |
H A D | trc_pkt_elem_ptm.h | 109 const bool isBranchExcepPacket() const { return (exception.bits.present == 1); }; in isBranchExcepPacket() 110 const ocsd_armv7_exception excepType() const { return exception.type; }; in excepType() 111 const uint16_t excepNum() const { return exception.number; }; in excepNum() 186 exception.bits.present = 1; in SetException() 187 exception.number = number; in SetException() 188 exception.type = type; in SetException()
|
/freebsd/lib/libcxxrt/ |
H A D | Version.map | 273 "std::exception::exception(std::exception const&)"; 274 "std::exception::exception()"; 275 "std::exception::operator=(std::exception const&)"; 311 "std::exception::~exception()"; 315 "std::exception::what() const"; 325 "vtable for std::exception"; 332 "typeinfo for std::exception"; 338 "typeinfo name for std::exception";
|
H A D | Version.map.arm | 274 "std::exception::exception(std::exception const&)"; 275 "std::exception::exception()"; 276 "std::exception::operator=(std::exception const&)"; 312 "std::exception::~exception()"; 316 "std::exception::what() const"; 326 "vtable for std::exception"; 333 "typeinfo for std::exception"; 339 "typeinfo name for std::exception";
|
/freebsd/tests/sys/fifo/ |
H A D | fifo_io.c | 862 poll_status(int fd, int *readable, int *writable, int *exception, in poll_status() argument 877 *exception = (fds[0].revents & POLLERR) ? 1 : 0; in poll_status() 882 select_status(int fd, int *readable, int *writable, int *exception, in select_status() argument 902 *exception = FD_ISSET(fd, &exceptfds) ? 1 : 0; in select_status() 952 int *exception, const char *testname) in kqueue_status() argument 968 *readable = *writable = *exception = 0; in kqueue_status() 1012 int readable, writable, exception; in assert_status() local 1014 if (poll_status(fd, &readable, &writable, &exception, testname) < 0) in assert_status() 1018 exception != assert_exception) { in assert_status() 1020 fdname, readable, writable, exception, conditionname); in assert_status() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/keystone/ |
H A D | keystone-k2hk.dtsi | 167 interrupt-names = "vring", "exception"; 183 interrupt-names = "vring", "exception"; 199 interrupt-names = "vring", "exception"; 215 interrupt-names = "vring", "exception"; 231 interrupt-names = "vring", "exception"; 247 interrupt-names = "vring", "exception"; 263 interrupt-names = "vring", "exception"; 279 interrupt-names = "vring", "exception";
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_libzfs_core.py | 486 self.assertEqual(len(ctx.exception.errors), len(snaps)) 487 for e in ctx.exception.errors: 500 self.assertEqual(len(ctx.exception.errors), 1) 501 for e in ctx.exception.errors: 513 self.assertEqual(len(ctx.exception.errors), 1) 514 for e in ctx.exception.errors: 524 self.assertEqual(len(ctx.exception.errors), 1) 525 for e in ctx.exception.errors: 536 self.assertEqual(len(ctx.exception.errors), 1) 537 for e in ctx.exception.errors: [all …]
|
/freebsd/contrib/opencsd/decoder/include/opencsd/etmv3/ |
H A D | trc_pkt_elem_etmv3.h | 125 const bool isExcepPkt() const { return (m_pkt_data.exception.bits.present == 1); }; in isExcepPkt() 126 const ocsd_armv7_exception excepType() const { return m_pkt_data.exception.type; }; in excepType() 127 const uint16_t excepNum() const { return m_pkt_data.exception.number; }; in excepNum() 128 …t bool isExcepCancel() const { return (m_pkt_data.exception.bits.present == 1) && (m_pkt_data.exce… in isExcepCancel()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | exceptions_test.cpp | 96 } catch (const std::exception& e) { in ATF_TEST_CASE_BODY() 112 } catch (const std::exception& e) { in ATF_TEST_CASE_BODY() 130 } catch (const std::exception& e) { in ATF_TEST_CASE_BODY()
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_macsec_ext.h | 88 e_FmMacsecExceptions exception); 345 t_Error FM_MACSEC_ConfigException(t_Handle h_FmMacsec, e_FmMacsecExceptions exception, bool enable); 414 t_Error FM_MACSEC_SetException(t_Handle h_FmMacsec, e_FmMacsecExceptions exception, bool enable); 523 e_FmMacsecSecYExceptions exception); 883 t_Error FM_MACSEC_SECY_ConfigException(t_Handle h_FmMacsecSecY, e_FmMacsecSecYExceptions exception,… 1219 t_Error FM_MACSEC_SECY_SetException(t_Handle h_FmMacsecSecY, e_FmMacsecExceptions exception, bool e…
|