/freebsd-src/contrib/sendmail/libsm/ |
H A D | exc.html | 3 <title>libsm : Exception Handling</title> 10 <h1> libsm : Exception Handling </h1> 16 The exception handling package provides the facilities that 33 Instead, errors are represented by exception objects. 34 An exception object contains an exception code and an array 35 of zero or more exception arguments. 36 The exception code is a string that specifies what kind of exception 37 this is, and the arguments may be integers, strings or exception objects. 43 error handling code. Errors are reported by raising an exception. 44 When an exception is raised, we unwind the call stack [all …]
|
H A D | exc.c | 15 ** exception handling 33 ** SM_ETYPE_PRINTF -- printf for exception types. 36 ** exc -- exception. 45 ** by most exception types. It prints the printcontext string, interpreting 47 ** If exception argument 3 is an int or long, then %3 will print the 135 ** Standard exception types. 139 ** SM_ETYPE_OS_PRINT -- Print OS related exception. 142 ** exc -- exception. 191 ** more specific exception codes. 204 ** SM_EXC_VNEW_X -- Construct a new exception object. [all …]
|
/freebsd-src/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 her… 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(exception const&) _NOEXCEPT {} [all …]
|
/freebsd-src/contrib/googletest/googletest/test/ |
H A D | googletest-catch-exceptions-test.py | 31 """Tests Google Test's exception catching behavior. 86 """Tests exception-catching behavior.""" 91 'SEH exception with code 0x2a thrown ' 98 'SEH exception with code 0x2a thrown ' 104 'SEH exception with code 0x2a thrown in SetUpTestSuite()', test_output 107 'SEH exception with code 0x2a thrown in TearDownTestSuite()', 111 'SEH exception with code 0x2a thrown in SetUp()', test_output 114 'SEH exception with code 0x2a thrown in TearDown()', test_output 117 'SEH exception with code 0x2a thrown in the test body', test_output 128 """Tests C++ exception-catching behavior. [all …]
|
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestStateMachine.java | 35 * the expected Java exception. 77 } catch (Exception e) { in beforeOpen() 88 } catch (Exception e) { in beforeOpen() 99 } catch (Exception e) { in beforeOpen() 108 } catch (Exception e) { in beforeOpen() 117 } catch (Exception e) { in beforeOpen() 128 } catch (Exception e) { in beforeOpen() 137 } catch (Exception e) { in beforeOpen() 148 } catch (Exception e) { in beforeOpen() 159 } catch (Exception e) { in beforeOpen() [all …]
|
/freebsd-src/lib/libdevdctl/ |
H A D | exception.h | 48 /*--------------------------------- Exception --------------------------------*/ 52 class Exception 56 * \brief Exception constructor allowing arbitrary string 61 Exception(const char *fmt, ...); 64 * \brief Augment/Modify a Exception's string data. 69 * \brief Emit exception data to syslog(3). 74 Exception(); 77 * \brief Convert exception string format and arguments provided 86 Exception::GetString() in GetString() 93 * Exception thrown when an event string is not converted to an actionable [all …]
|
H A D | exception.cc | 34 * \file exception.cc 45 #include "exception.h" 54 /*--------------------------------- Exception --------------------------------*/ 56 Exception::FormatLog(const char *fmt, va_list ap) in FormatLog() 64 Exception::Exception(const char *fmt, ...) in Exception() function in DevdCtl::Exception 73 Exception::Exception() in Exception() function in DevdCtl::Exception 78 Exception::Log() const in Log() 87 : Exception(), in ParseException() 109 logstream << "exception on buffer: \'"; in ParseException()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyExceptionInfo.cpp | 1 //===--- WebAssemblyExceptionInfo.cpp - Exception Infomation --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 29 #define DEBUG_TYPE "wasm-exception-info" 34 "WebAssembly Exception Information", true, true) in INITIALIZE_PASS_DEPENDENCY() 38 "WebAssembly Exception Information", true, true) in INITIALIZE_PASS_DEPENDENCY() 41 LLVM_DEBUG(dbgs() << "********** Exception Info Calculation **********\n" in INITIALIZE_PASS_DEPENDENCY() 94 // which means, if an exception is not caught by the catchpad, it should end in recalculate() 101 // ... // this catch (int) { ... } is grouped as an exception in recalculate() 107 // unwind destination is in the outside of the catchpad's exception. in recalculate() 111 // children outside of the exception, tha in recalculate() [all...] |
/freebsd-src/sys/arm64/arm64/ |
H A D | trap.c | 76 /* Called from exception.S */ 270 * of the exclusive monitors after data abort exception is unknown. in data_abort() 365 * If the exception was because of a read or cache operation in data_abort() 458 fpe_trap(struct thread *td, void *addr, uint32_t exception) in fpe_trap() 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) 472 else if ((exception 450 fpe_trap(struct thread * td,void * addr,uint32_t exception) fpe_trap() argument 477 uint32_t exception; do_el1h_sync() local 595 uint32_t exception; do_el0_sync() local [all...] |
/freebsd-src/lib/libpmc/pmu-events/arch/arm64/ |
H A D | recommended.json | 321 "PublicDescription": "Exception taken, Other synchronous", 324 "BriefDescription": "Exception taken, Other synchronous" 327 "PublicDescription": "Exception taken, Supervisor Call", 330 "BriefDescription": "Exception taken, Supervisor Call" 333 "PublicDescription": "Exception taken, Instruction Abort", 336 "BriefDescription": "Exception taken, Instruction Abort" 339 "PublicDescription": "Exception taken, Data Abort and SError", 342 "BriefDescription": "Exception taken, Data Abort and SError" 345 "PublicDescription": "Exception taken, IRQ", 348 "BriefDescription": "Exception taken, IRQ" [all …]
|
H A D | armv8-recommended.json | 321 "PublicDescription": "Exception taken, Other synchronous", 324 "BriefDescription": "Exception taken, Other synchronous" 327 "PublicDescription": "Exception taken, Supervisor Call", 330 "BriefDescription": "Exception taken, Supervisor Call" 333 "PublicDescription": "Exception taken, Instruction Abort", 336 "BriefDescription": "Exception taken, Instruction Abort" 339 "PublicDescription": "Exception taken, Data Abort and SError", 342 "BriefDescription": "Exception taken, Data Abort and SError" 345 "PublicDescription": "Exception taken, IRQ", 348 "BriefDescription": "Exception taken, IRQ" [all …]
|
/freebsd-src/contrib/libcxxrt/ |
H A D | exception.cc | 67 * stored in the C++ exception. 76 // On ARM, we store the saved exception in the generic part of the structure in saveLandingPad() 82 // and this is not a foreign exception. in saveLandingPad() 139 * A cleanup - the exception will propagate through this frame, but code 144 * A catch statement. The exception will not propagate past this frame 163 /** The unexpected exception handler for this thread. */ 169 * fails to return memory for allocating an exception. Threads are not 176 * The exception currently running in a cleanup. 181 * caught if we have just caught an exception and rethrown if we are 197 * Dependent exception 241 class exception global() class 656 releaseException(__cxa_exception * exception) releaseException() argument [all...] |
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(); 49 * Bad allocation exception. Thrown by ::operator new() if it fails. 51 class bad_alloc: public exception 62 * Bad cast exception [all...] |
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() argument 37 exception& exception::operator=(const exception in exception() argument [all...] |
H A D | cxxabi.h | 55 * Function type to call when an unexpected exception is encountered. 69 * This structure is allocated when an exception is thrown. Unwinding happens 75 * we should avoid dynamic allocation during unwinding (the exception may be 102 * of the end (where the exception object can be stored). 110 /** Handler called when an exception specification is violated. */ 115 * Next exception in the list. If an exception is thrown inside a catch 116 * block and caught in a nested catch, this points to the exception that 122 * exception. The top (non-sign) bit of this is used as a flag to indicate 123 * that the exception i [all...] |
/freebsd-src/share/man/man3/ |
H A D | fpgetround.3 | 90 When a floating point exception is detected, the exception sticky flag is 91 set and the exception mask is tested. 94 These routines allow both setting the floating point exception 95 masks, and resetting the exception sticky flags after an exception is 125 returns the current floating point exception masks. 130 sets the floating point exception masks and returns the 170 After a floating point exception and before a mask is set, the sticky 172 If another exception occurs before the sticky 173 flags are reset, then a wrong exception type may be signaled.
|
/freebsd-src/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 [all...] |
/freebsd-src/lib/msun/man/ |
H A D | feclearexcept.3 | 34 .Nd floating-point exception flag manipulation 53 routine clears the floating-point exception flags specified by 58 Raising an exception causes the corresponding flag to be set, 61 is delivered to the process if the exception is unmasked. 70 function stores the state of the exception flags specified in 76 changes the specified exception flags to reflect the state stored in 90 On some architectures, raising an overflow or underflow exception 91 also causes an inexact exception to be raised. 102 respectively, for saving and restoring exception flags. 116 function returns the bitwise OR of the values of the current exception
|
H A D | fenv.3 | 81 which includes the exception flags and rounding modes defined in 84 Exception flags are set as side-effects of floating-point arithmetic 92 A divide-by-zero exception occurs when the 97 raises a divide-by-zero exception. 99 An inexact exception is raised whenever there is a loss of accuracy 110 an overflow exception occurs when an infinity is produced because 116 raises an overflow exception. 135 processor's floating-point exception flags, respectively. 179 which includes exception flags, the current exception mask, 186 but with the additional effect of clearing the exception flags and [all …]
|
H A D | ieee.3 | 128 .Em "Exception Default Result" 136 NOTE: An Exception is not an Error unless handled 144 computation every time the exception occurs. 274 For each kind of floating-point exception, IEEE 754 275 provides a Flag that is raised each time its exception 284 Test for a condition that might cause an exception 285 later, and branch to avoid the exception. 287 Test a flag to see whether an exception has occurred 291 an exception could have produced. 322 This mechanism classifies an exception in [all …]
|
/freebsd-src/contrib/llvm-project/libcxx/include/__utility/ |
H A D | exception_guard.h | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 27 // __exception_guard is a helper class for writing code with the strong exception guarantee. 29 // When writing code that can throw an exception, one can store rollback instructions in an 30 // exception guard so that if an exception is thrown at any point during the lifetime of the 31 // exception guard, it will be rolled back automatically. When the exception guard is done, one 32 // must mark it as being complete so it isn't rolled back when the exception guard is destroyed. 34 // Exception guards are not default constructible, they can't be copied or assigned to, but 38 // that we don't provide the strong exception guarantee [all...] |
/freebsd-src/sys/powerpc/include/ |
H A D | ieeefp.h | 14 #define FP_X_OFL 0x01 /* overflow exception */ 15 #define FP_X_UFL 0x02 /* underflow exception */ 16 #define FP_X_DZ 0x04 /* divide-by-zero exception */ 17 #define FP_X_INV 0x08 /* invalid operation exception */ 21 #define FP_X_DZ 0x02 /* divide-by-zero exception */ 22 #define FP_X_UFL 0x04 /* underflow exception */ 23 #define FP_X_OFL 0x08 /* overflow exception */ 24 #define FP_X_INV 0x10 /* invalid operation exception */
|
/freebsd-src/sys/riscv/riscv/ |
H A D | trap.c | 79 /* Called from exception.S */ 309 uint64_t exception; in do_trap_supervisor() 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() 330 CTR4(KTR_TRAP, "%s: exception=%lu, sepc=%#lx, stval=%#lx", __func__, in do_trap_supervisor() 331 exception, frame->tf_sepc, frame->tf_stval); in do_trap_supervisor() 333 switch (exception) { in do_trap_supervisor() 338 panic("Memory access exception at %#lx: %#lx", in do_trap_supervisor() 345 panic("Misaligned address exception at %#lx: %#lx", in do_trap_supervisor() 360 kdb_trap(exception, in do_trap_supervisor() 310 uint64_t exception; do_trap_supervisor() local 383 uint64_t exception; do_trap_user() local [all...] |
/freebsd-src/sys/contrib/dev/acpica/components/utilities/ |
H A D | utexcep.c | 3 * Module Name: utexcep - Exception code support 169 * RETURN: A string containing the exception text. A valid pointer is 172 * DESCRIPTION: This function translates an ACPI exception into an ASCII 181 const ACPI_EXCEPTION_INFO *Exception; in AcpiFormatException() local 187 Exception = AcpiUtValidateException (Status); in AcpiFormatException() 188 if (!Exception) in AcpiFormatException() 190 /* Exception code was not recognized */ in AcpiFormatException() 193 "Unknown exception code: 0x%8.8X", Status)); in AcpiFormatException() 198 return (Exception->Name); in AcpiFormatException() 210 * RETURN: A string containing the exception tex in ACPI_EXPORT_SYMBOL() 223 const ACPI_EXCEPTION_INFO *Exception = NULL; ACPI_EXPORT_SYMBOL() local [all...] |
/freebsd-src/bin/sh/ |
H A D | error.c | 57 volatile sig_atomic_t exception; variable 65 * Called to raise an exception. Since C doesn't include exceptions, we 66 * just do a longjmp to the exception handler. The type of exception is 67 * stored in the global variable "exception". 69 * Interrupts are disabled; they should be re-enabled when the exception is 79 exception = e; in exraise() 144 * Exverror is called to raise the error exception. If the first argument 146 * formatting. It then raises the error exception. 154 * in child processes, and if an error exception can be handled, in verrorwithstatus() 157 * exraise() will disable interrupts for the exception handler. in verrorwithstatus()
|