Home
last modified time | relevance | path

Searched refs:exc_type (Results 1 – 25 of 220) sorted by relevance

123456789

/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachException.cpp58 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()
67 MachException::Name(exc_type), (uint64_t)exc_data, in catch_mach_exception_raise_state()
75 exception_type_t exc_type, mach_exception_data_t exc_data, in catch_mach_exception_raise_state_identity() argument
83 __FUNCTION__, exc_port, thread_port, task_port, exc_type, in catch_mach_exception_raise_state_identity()
84 MachException::Name(exc_type), exc_data_count, in catch_mach_exception_raise_state_identity()
94 mach_port_t task_port, exception_type_t exc_type, in catch_mach_exception_raise() argument
101 __FUNCTION__, exc_port, thread_port, task_port, exc_type, in catch_mach_exception_raise()
102 MachException::Name(exc_type), exc_data_count, in catch_mach_exception_raise()
106 g_message->exc_type = 0; in catch_mach_exception_raise()
[all …]
DMachException.h45 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);
/external/python/cpython3/Python/
Derrors.c79 while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) && in _PyErr_GetTopmostException()
442 *p_type = exc_info->exc_type; in _PyErr_GetExcInfo()
465 oldtype = tstate->exc_info->exc_type; in PyErr_SetExcInfo()
469 tstate->exc_info->exc_type = p_type; in PyErr_SetExcInfo()
538 if (exc_info->exc_type == NULL || exc_info->exc_type == Py_None) { in _PyErr_ChainStackItem()
554 exc2 = exc_info->exc_type; in _PyErr_ChainStackItem()
1206 make_unraisable_hook_args(PyThreadState *tstate, PyObject *exc_type, in make_unraisable_hook_args() argument
1216 #define ADD_ITEM(exc_type) \ in make_unraisable_hook_args() argument
1218 if (exc_type == NULL) { \ in make_unraisable_hook_args()
1219 exc_type = Py_None; \ in make_unraisable_hook_args()
[all …]
/external/python/cpython3/Modules/
Datexitmodule.c74 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local
98 if (exc_type) { in atexit_callfuncs()
99 Py_DECREF(exc_type); in atexit_callfuncs()
103 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs()
104 if (!PyErr_GivenExceptionMatches(exc_type, PyExc_SystemExit)) { in atexit_callfuncs()
106 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs()
107 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs()
114 if (exc_type) in atexit_callfuncs()
115 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
/external/python/cpython3/Lib/test/
Daudit-tests.py19 def __init__(self, raise_on_events=None, exc_type=RuntimeError): argument
21 self.exc_type = exc_type
44 raise self.exc_type("saw event " + event)
102 raise_on_events="sys.addaudithook", exc_type=BaseException
247 def excepthook(exc_type, exc_value, exc_tb): argument
248 if exc_type is not RuntimeError:
249 sys.__excepthook__(exc_type, exc_value, exc_tb)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexc_util.py68 exc_type = sys.exc_info()[0]
69 if exc_type is None:
82 exc_type.__name__)
Dcontextlib_ext.py17 def __exit__(self, exc_type, exc_val, exc_tb): argument
19 return self._manager.__exit__(exc_type, exc_val, exc_tb)
Dretry_util.py13 def RetryOnException(exc_type, retries): argument
52 except exc_type as exc:
/external/libchrome/third_party/jinja2/
Ddebug.py83 def __init__(self, exc_type, exc_value, frames): argument
85 self.exc_type = exc_type
99 lines = traceback.format_exception(self.exc_type, self.exc_value,
119 return self.exc_type, self.exc_value, self.frames[0]
129 return self.exc_type, self.exc_value, tb
134 exc_type, exc_value, tb = exc_info
230 exc_type, exc_value, tb = exc_info
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DStopInfoMachException.h21 StopInfoMachException(Thread &thread, uint32_t exc_type, in StopInfoMachException() argument
24 : StopInfo(thread, exc_type), m_exc_data_count(exc_data_count), in StopInfoMachException()
39 Thread &thread, uint32_t exc_type, uint32_t exc_data_count,
/external/tensorflow/tensorflow/python/autograph/core/
Dfunction_wrappers.py83 def __exit__(self, exc_type, exc_val, exc_tb): argument
85 self.autograph_ctx.__exit__(exc_type, exc_val, exc_tb)
87 self.name_scope.__exit__(exc_type, exc_val, exc_tb)
89 self.autodeps_scope.__exit__(exc_type, exc_val, exc_tb)
/external/python/cpython2/Lib/
Dpy_compile.py45 def __init__(self, exc_type, exc_value, file, msg=''): argument
46 exc_type_name = exc_type.__name__
47 if exc_type is SyntaxError:
48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
DSimpleXMLRPCServer.py270 exc_type, exc_value, exc_tb = sys.exc_info()
272 xmlrpclib.Fault(1, "%s:%s" % (exc_type, exc_value)),
371 exc_type, exc_value, exc_tb = sys.exc_info()
374 'faultString' : "%s:%s" % (exc_type, exc_value)}
635 exc_type, exc_value = sys.exc_info()[:2]
637 xmlrpclib.Fault(1, "%s:%s" % (exc_type, exc_value)),
/external/python/cpython3/Lib/
Dtraceback.py468 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument
511 self.exc_type = exc_type
515 if exc_type and issubclass(exc_type, SyntaxError):
560 if self.exc_type is None:
564 stype = self.exc_type.__qualname__
565 smod = self.exc_type.__module__
569 if not issubclass(self.exc_type, SyntaxError):
Dpy_compile.py46 def __init__(self, exc_type, exc_value, file, msg=''): argument
47 exc_type_name = exc_type.__name__
48 if exc_type is SyntaxError:
50 exc_type, exc_value))
/external/skqp/infra/bots/
Dgit_utils.py33 def __exit__(self, exc_type, _value, _traceback): argument
87 def __exit__(self, exc_type, _value, _traceback): argument
91 if exc_type is None:
/external/python/cpython3/Lib/xmlrpc/
Dserver.py273 exc_type, exc_value, exc_tb = sys.exc_info()
276 Fault(1, "%s:%s" % (exc_type, exc_value)),
281 exc_type = exc_value = exc_tb = None
372 exc_type, exc_value, exc_tb = sys.exc_info()
376 'faultString' : "%s:%s" % (exc_type, exc_value)}
380 exc_type = exc_value = exc_tb = None
641 exc_type, exc_value = sys.exc_info()[:2]
644 Fault(1, "%s:%s" % (exc_type, exc_value)),
649 exc_type = exc_value = None
/external/skia/infra/bots/
Dgit_utils.py34 def __exit__(self, exc_type, _value, _traceback): argument
88 def __exit__(self, exc_type, _value, _traceback): argument
92 if exc_type is None:
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls.py62 def __exit__(self, exc_type, exc_val, exc_tb): argument
64 patch.__exit__(exc_type, exc_val, exc_tb)
65 if exc_type is None:
/external/tensorflow/tensorflow/python/framework/
Derrors_test.py50 for error_code, exc_type in [
72 error_code), exc_type))
76 errors_impl.error_code_from_exception_type(exc_type))
Dmemory_checker.py85 def __exit__(self, exc_type, exc_value, traceback): argument
88 self._trace_me.__exit__(exc_type, exc_value, traceback)
/external/python/cpython3/Modules/_ssl/
Ddebughelpers.c76 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, &ssl_obj->exc_tb); in _PySSL_msg_callback()
144 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, in _PySSL_keylog_callback()
162 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, &ssl_obj->exc_tb); in _PySSL_keylog_callback()
/external/libxml2/doc/
Dindex.py226 print sys.exc_type, sys.exc_value
267 print sys.exc_type, sys.exc_value
316 print sys.exc_type, sys.exc_value
356 print sys.exc_type, sys.exc_value
439 print sys.exc_type, sys.exc_value
616 print sys.exc_type, sys.exc_value
665 print sys.exc_type, sys.exc_value
1018 print sys.exc_type, sys.exc_value
1184 print sys.exc_type, sys.exc_value
1210 print sys.exc_type, sys.exc_value
[all …]
/external/python/cpython3/Lib/multiprocessing/dummy/
Dconnection.py36 def __exit__(self, exc_type, exc_value, exc_tb): argument
74 def __exit__(self, exc_type, exc_value, exc_tb): argument
/external/python/asn1crypto/tests/
D_unittest_compat.py126 def __exit__(self, exc_type, exc_value, tb): argument
127 if exc_type is None:
134 if not issubclass(exc_type, self.expected):

123456789