Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 1364) sorted by relevance

12345678910>>...55

/src/contrib/llvm-project/libcxx/include/__exception/
H A Dexception.h42 class exception { // base of all library exceptions
44 exception() _NOEXCEPT : __data_() {}
46 explicit exception(char const* __message) _NOEXCEPT : __data_() {
51 exception(exception const&) _NOEXCEPT {}
53 exception& operator=(exception const&) _NOEXCEPT { return *this; }
55 virtual ~exception() _NOEXCEPT {}
63 class bad_exception : public exception {
65 bad_exception() _NOEXCEPT : exception("bad exception") {}
72 class _LIBCPP_EXPORTED_FROM_ABI exception {
74 _LIBCPP_HIDE_FROM_ABI exception() _NOEXCEPT {}
[all …]
/src/contrib/libcxxrt/
H A Dstdexcept.cc34 exception::exception() _LIBCXXRT_NOEXCEPT {} in exception() function in std::exception
35 exception::~exception() {} in ~exception()
36 exception::exception(const exception&) _LIBCXXRT_NOEXCEPT {} in exception() argument
37 exception& exception::operator=(const exception&) _LIBCXXRT_NOEXCEPT in operator =() argument
41 const char* exception::what() const _LIBCXXRT_NOEXCEPT in what()
H A Dstdexcept.h37 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
H A Dexception.cc241 class exception class
244 virtual ~exception() _LIBCXXRT_NOEXCEPT;
341 static_cast<const __class_type_info*>(&typeid(std::exception)); in terminate_with_diagnostics()
346 std::exception *e = in terminate_with_diagnostics()
347 static_cast<std::exception*>(e_ti->cast_to(static_cast<void*>(ex+1), throw_ti)); in terminate_with_diagnostics()
721 static void releaseException(__cxa_exception *exception) in releaseException() argument
723 if (isDependentException(exception->unwindHeader.exception_class)) in releaseException()
725 __cxa_free_dependent_exception(exception+1); in releaseException()
728 if (__sync_sub_and_fetch(&exception->referenceCount, 1) == 0) in releaseException()
733 __cxa_free_exception(exception+1); in releaseException()
[all …]
/src/sys/arm64/arm64/
H A Dtrap.c464 fpe_trap(struct thread *td, void *addr, uint32_t exception) in fpe_trap() argument
469 if ((exception & ISS_FP_TFV) != 0) { in fpe_trap()
470 if ((exception & ISS_FP_IOF) != 0) in fpe_trap()
472 else if ((exception & ISS_FP_DZF) != 0) in fpe_trap()
474 else if ((exception & ISS_FP_OFF) != 0) in fpe_trap()
476 else if ((exception & ISS_FP_UFF) != 0) in fpe_trap()
478 else if ((exception & ISS_FP_IXF) != 0) in fpe_trap()
481 call_trapsignal(td, SIGFPE, code, addr, exception); in fpe_trap()
551 uint32_t exception; in do_el1h_sync() local
561 exception = ESR_ELx_EXCEPTION(esr); in do_el1h_sync()
[all …]
/src/contrib/llvm-project/libcxx/include/
H A Dexception6 // 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 Dtypeinfo6 // 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 Dstdexcept6 // 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>
/src/sys/riscv/riscv/
H A Dtrap.c309 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 …]
/src/contrib/opencsd/decoder/source/etmv3/
H A Dtrc_pkt_elem_etmv3.cpp59 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 …]
/src/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_fallback.ipp6 // 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 Dexception_msvc.ipp6 // 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 Dstdexcept_vcruntime.ipp5 // 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()) {}
/src/sys/dev/dpaa/
H A Dif_dtsec.c139 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 …]
/src/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dcoredump.c106 bool *exception) in mt7996_coredump_fw_state() argument
118 *exception = !!count; in mt7996_coredump_fw_state()
123 bool exception) in mt7996_coredump_fw_stack() argument
138 if (!exception) { in mt7996_coredump_fw_stack()
160 if (!exception) { in mt7996_coredump_fw_stack()
173 bool exception; in mt7996_coredump_build() local
205 mt7996_coredump_fw_state(dev, dump, &exception); in mt7996_coredump_build()
206 mt7996_coredump_fw_stack(dev, dump, exception); in mt7996_coredump_build()
/src/contrib/opencsd/decoder/include/opencsd/ptm/
H A Dtrc_pkt_elem_ptm.h109 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()
/src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dcoredump.c149 bool *exception) in mt7915_coredump_fw_state() argument
167 *exception = !!count; in mt7915_coredump_fw_state()
172 bool exception) in mt7915_coredump_fw_trace() argument
194 if (exception) { in mt7915_coredump_fw_trace()
229 bool exception) in mt7915_coredump_fw_stack() argument
234 if (!exception) in mt7915_coredump_fw_stack()
244 if (!exception) in mt7915_coredump_fw_stack()
313 bool exception; in mt7915_coredump_build() local
345 mt7915_coredump_fw_state(dev, dump, &exception); in mt7915_coredump_build()
346 mt7915_coredump_fw_trace(dev, dump, exception); in mt7915_coredump_build()
[all …]
/src/lib/libcxxrt/
H A DVersion.map.arm274 "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";
H A DVersion.map273 "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";
/src/tests/sys/fifo/
H A Dfifo_io.c862 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 …]
/src/sys/contrib/device-tree/src/arm/ti/keystone/
H A Dkeystone-k2hk.dtsi167 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";
/src/contrib/opencsd/decoder/include/opencsd/etmv3/
H A Dtrc_pkt_elem_etmv3.h125 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()
/src/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_libzfs_core.py487 self.assertEqual(len(ctx.exception.errors), len(snaps))
488 for e in ctx.exception.errors:
501 self.assertEqual(len(ctx.exception.errors), 1)
502 for e in ctx.exception.errors:
514 self.assertEqual(len(ctx.exception.errors), 1)
515 for e in ctx.exception.errors:
525 self.assertEqual(len(ctx.exception.errors), 1)
526 for e in ctx.exception.errors:
537 self.assertEqual(len(ctx.exception.errors), 1)
538 for e in ctx.exception.errors:
[all …]
/src/contrib/atf/atf-c++/detail/
H A Dexceptions_test.cpp96 } 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()
/src/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_macsec_ext.h88 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…

12345678910>>...55