/dports/databases/py-mysql-connector-python/mysql-connector-python-8.0.27/src/ |
H A D | exceptions.c | 57 raise_with_session(MYSQL *conn, PyObject *exc_type) in raise_with_session() argument 64 if (!exc_type) in raise_with_session() 66 exc_type= MySQLInterfaceError; in raise_with_session() 96 PyErr_SetObject(exc_type, err_object); in raise_with_session() 123 raise_with_stmt(MYSQL_STMT *stmt, PyObject *exc_type) in raise_with_stmt() argument 130 if (!exc_type) in raise_with_stmt() 132 exc_type = MySQLInterfaceError; in raise_with_stmt() 162 PyErr_SetObject(exc_type, err_object); in raise_with_stmt() 194 if (!exc_type) in raise_with_string() 196 exc_type= MySQLInterfaceError; in raise_with_string() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/python/ |
H A D | common.cc | 62 StatusCode MapPyError(PyObject* exc_type) { in MapPyError() argument 65 if (PyErr_GivenExceptionMatches(exc_type, PyExc_MemoryError)) { in MapPyError() 69 } else if (PyErr_GivenExceptionMatches(exc_type, PyExc_KeyError)) { in MapPyError() 105 PyObject* exc_type() const { return exc_type_.obj(); } in exc_type() function in arrow::py::__anon21e589d60111::PythonErrorDetail 110 PyObject* exc_type = nullptr; in FromPyError() local 114 PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); in FromPyError() 115 PyErr_NormalizeException(&exc_type, &exc_value, &exc_traceback); in FromPyError() 116 ARROW_CHECK(exc_type) in FromPyError() 118 DCHECK(PyType_Check(exc_type)); in FromPyError() 127 detail->exc_type_.reset(exc_type); in FromPyError() [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/python/ |
H A D | common.cc | 62 StatusCode MapPyError(PyObject* exc_type) { in MapPyError() argument 65 if (PyErr_GivenExceptionMatches(exc_type, PyExc_MemoryError)) { in MapPyError() 69 } else if (PyErr_GivenExceptionMatches(exc_type, PyExc_KeyError)) { in MapPyError() 105 PyObject* exc_type() const { return exc_type_.obj(); } in exc_type() function in arrow::py::__anonaa94a0d50111::PythonErrorDetail 110 PyObject* exc_type = nullptr; in FromPyError() local 114 PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); in FromPyError() 115 PyErr_NormalizeException(&exc_type, &exc_value, &exc_traceback); in FromPyError() 116 ARROW_CHECK(exc_type) in FromPyError() 118 DCHECK(PyType_Check(exc_type)); in FromPyError() 127 detail->exc_type_.reset(exc_type); in FromPyError() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ |
H A D | ExceptionEventRequest.cs | 8 TypeMirror exc_type; field in Mono.Debugger.Soft.ExceptionEventRequest 11 …internal ExceptionEventRequest (VirtualMachine vm, TypeMirror exc_type, bool caught, bool uncaught… in ExceptionEventRequest() argument 12 if (exc_type != null) { in ExceptionEventRequest() 13 CheckMirror (vm, exc_type); in ExceptionEventRequest() 15 if (!exception_type.IsAssignableFrom (exc_type)) in ExceptionEventRequest() 18 this.exc_type = exc_type; in ExceptionEventRequest() 26 return exc_type; 44 …mods.Add (new ExceptionModifier () { Type = exc_type != null ? exc_type.Id : 0, Caught = caught, U… in Enable()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/python/ |
H A D | common.cc | 62 StatusCode MapPyError(PyObject* exc_type) { in MapPyError() argument 65 if (PyErr_GivenExceptionMatches(exc_type, PyExc_MemoryError)) { in MapPyError() 69 } else if (PyErr_GivenExceptionMatches(exc_type, PyExc_KeyError)) { in MapPyError() 105 PyObject* exc_type() const { return exc_type_.obj(); } in exc_type() function in arrow::py::__anona1b79fc30111::PythonErrorDetail 110 PyObject* exc_type = nullptr; in FromPyError() local 114 PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); in FromPyError() 115 PyErr_NormalizeException(&exc_type, &exc_value, &exc_traceback); in FromPyError() 116 ARROW_CHECK(exc_type) in FromPyError() 118 DCHECK(PyType_Check(exc_type)); in FromPyError() 127 detail->exc_type_.reset(exc_type); in FromPyError() [all …]
|
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/_generated_include/ |
H A D | FastTypeChecks_impl_eb0c244bcedc6e568c1b81c159a26dc4457239fd.h | 72 static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { in __Pyx_PyErr_GivenExceptionMatchesTuple() argument 74 assert(PyExceptionClass_Check(exc_type)); in __Pyx_PyErr_GivenExceptionMatchesTuple() 78 if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1; in __Pyx_PyErr_GivenExceptionMatchesTuple() 84 if (likely(exc_type == t)) return 1; in __Pyx_PyErr_GivenExceptionMatchesTuple() 87 if (__Pyx_inner_PyErr_GivenExceptionMatches2(exc_type, NULL, t)) return 1; in __Pyx_PyErr_GivenExceptionMatchesTuple() 94 if (likely(err == exc_type)) return 1; in __Pyx_PyErr_GivenExceptionMatches() 96 if (likely(PyExceptionClass_Check(exc_type))) { in __Pyx_PyErr_GivenExceptionMatches() 97 return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type); in __Pyx_PyErr_GivenExceptionMatches() 98 } else if (likely(PyTuple_Check(exc_type))) { in __Pyx_PyErr_GivenExceptionMatches() 99 return __Pyx_PyErr_GivenExceptionMatchesTuple(err, exc_type); in __Pyx_PyErr_GivenExceptionMatches() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
H A D | MachException.h | 45 exception_type_t exc_type; member 48 : task_port(TASK_NULL), thread_port(THREAD_NULL), exc_type(0), in Data() 54 exc_type = 0; in Clear() 59 exc_type != 0; in IsValid() 64 if (exc_type == EXC_SOFTWARE && exc_data.size() == 2 && in SoftSignal() 70 return (exc_type == EXC_BREAKPOINT || in IsBreakpoint() 71 ((exc_type == EXC_SOFTWARE) && exc_data[0] == 1)); in IsBreakpoint() 129 static const char *Name(exception_type_t exc_type);
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
H A D | MachException.h | 45 exception_type_t exc_type; member 48 : task_port(TASK_NULL), thread_port(THREAD_NULL), exc_type(0), in Data() 54 exc_type = 0; in Clear() 59 exc_type != 0; in IsValid() 64 if (exc_type == EXC_SOFTWARE && exc_data.size() == 2 && in SoftSignal() 70 return (exc_type == EXC_BREAKPOINT || in IsBreakpoint() 71 ((exc_type == EXC_SOFTWARE) && exc_data[0] == 1)); in IsBreakpoint() 129 static const char *Name(exception_type_t exc_type);
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
H A D | MachException.h | 45 exception_type_t exc_type; member 48 : task_port(TASK_NULL), thread_port(THREAD_NULL), exc_type(0), in Data() 54 exc_type = 0; in Clear() 59 exc_type != 0; in IsValid() 64 if (exc_type == EXC_SOFTWARE && exc_data.size() == 2 && in SoftSignal() 70 return (exc_type == EXC_BREAKPOINT || in IsBreakpoint() 71 ((exc_type == EXC_SOFTWARE) && exc_data[0] == 1)); in IsBreakpoint() 129 static const char *Name(exception_type_t exc_type);
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachException.cpp | 58 mach_port_t exc_port, exception_type_t exc_type, in catch_mach_exception_raise_state() argument 66 __FUNCTION__, exc_port, exc_type, in catch_mach_exception_raise_state() 106 g_message->exc_type = 0; in catch_mach_exception_raise() 112 g_message->exc_type = exc_type; in catch_mach_exception_raise() 117 if (exc_type == EXC_SOFTWARE && exc_data_count == 2 && in catch_mach_exception_raise() 124 g_message->exc_type = exc_type; in catch_mach_exception_raise() 156 if (exc_type == 0) { in GetStopInfo() 164 stop_info->details.exception.type = exc_type; in GetStopInfo() 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() 220 DNBLog("%s", Name(exc_type)); in DumpStopReason() [all …]
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/bindings/python/ |
H A D | ns3module_helpers.cc | 67 PyObject *exc_type, *traceback; in _wrap_Simulator_Schedule() local 105 Py_XDECREF(exc_type); in _wrap_Simulator_Schedule() 115 PyObject *exc_type, *traceback; in _wrap_Simulator_ScheduleNow() local 146 Py_XDECREF(exc_type); in _wrap_Simulator_ScheduleNow() 156 PyObject *exc_type, *traceback; in _wrap_Simulator_ScheduleDestroy() local 187 Py_XDECREF(exc_type); in _wrap_Simulator_ScheduleDestroy() 205 PyObject *exc_type, *traceback; in _wrap_TypeId_LookupByNameFailSafe() local 207 Py_XDECREF(exc_type); in _wrap_TypeId_LookupByNameFailSafe() 261 PyObject *exc_type, *traceback; in _wrap_CommandLine_AddValue() local 263 Py_XDECREF(exc_type); in _wrap_CommandLine_AddValue() [all …]
|
/dports/audio/carla/Carla-2.4.1/data/patches/ |
H A D | pyliblo-python3.7.patch | 9 - tmp_type = tstate->exc_type; 12 - tstate->exc_type = local_type; 15 + tmp_type = tstate->exc_state.exc_type; 18 + tstate->exc_state.exc_type = local_type; 28 - *type = tstate->exc_type; 31 + *type = tstate->exc_state.exc_type; 41 - tmp_type = tstate->exc_type; 44 - tstate->exc_type = type; 47 + tmp_type = tstate->exc_state.exc_type; 50 + tstate->exc_state.exc_type = type;
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/3rdparty/dmlc-core/test/unittest/ |
H A D | unittest_threaditer_exc_handling.cc | 29 ExcType exc_type; member 31 IntProducerNextExc(int maxcap, int sleep, ExcType exc_type = ExcType::kDMLCException) in IntProducerNextExc() 32 : counter(0), maxcap(maxcap), sleep(sleep), exc_type(exc_type) {} in IntProducerNextExc() 39 if (exc_type == kDMLCException) { in Next() 56 ExcType exc_type; member 57 IntProducerBeforeFirst(ExcType exc_type = ExcType::kDMLCException) in IntProducerBeforeFirst() 58 : exc_type(exc_type) {} in IntProducerBeforeFirst() 60 if (exc_type == ExcType::kDMLCException) { in BeforeFirst()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Plugins/Process/Darwin/ |
H A D | MachException.h | 50 exception_type_t exc_type; member 53 : task_port(TASK_NULL), thread_port(THREAD_NULL), exc_type(0), in Data() 59 exc_type = 0; in Clear() 65 exc_type != 0; in IsValid() 71 if (exc_type == EXC_SOFTWARE && exc_data.size() == 2 && in SoftSignal() 78 return (exc_type == EXC_BREAKPOINT || in IsBreakpoint() 79 ((exc_type == EXC_SOFTWARE) && exc_data[0] == 1)); in IsBreakpoint() 133 static const char *Name(exception_type_t exc_type);
|
/dports/devel/dmlc-core/dmlc-core-0.3-123-gb3a4c71/test/unittest/ |
H A D | unittest_threaditer_exc_handling.cc | 29 ExcType exc_type; member 31 IntProducerNextExc(int maxcap, int sleep, ExcType exc_type = ExcType::kDMLCException) in IntProducerNextExc() 32 : counter(0), maxcap(maxcap), sleep(sleep), exc_type(exc_type) {} in IntProducerNextExc() 40 if (exc_type == kDMLCException) { in Next() 58 ExcType exc_type; member 59 IntProducerBeforeFirst(ExcType exc_type = ExcType::kDMLCException) in IntProducerBeforeFirst() 60 : exc_type(exc_type) {} in IntProducerBeforeFirst() 63 if (exc_type == ExcType::kDMLCException) { in BeforeFirst()
|
/dports/devel/py-tblib/tblib-1.7.0/src/tblib/ |
H A D | decorators.py | 10 def __init__(self, exc_type, exc_value, traceback): argument 11 self.exc_type = exc_type 20 reraise(self.exc_type, self.exc_value, self.traceback) 23 def return_error(func, exc_type=Exception): argument 28 except exc_type:
|