Home
last modified time | relevance | path

Searched refs:exc_value (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py87 except pywintypes.error, exc_value:
88 if exc_value[0] == 33:
90 (target_file.name, exc_value[2]))
99 except pywintypes.error, exc_value:
100 if exc_value[0] == 158:
112 except IOError, exc_value:
113 if exc_value[0] == 11 or exc_value[0] == 35:
115 (target_file.name, exc_value[1]))
/external/python/cpython3/Lib/
Dtraceback.py465 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument
473 _seen.add(id(exc_value))
476 if (exc_value and exc_value.__cause__ is not None
477 and id(exc_value.__cause__) not in _seen):
479 type(exc_value.__cause__),
480 exc_value.__cause__,
481 exc_value.__cause__.__traceback__,
488 if (exc_value and exc_value.__context__ is not None
489 and id(exc_value.__context__) not in _seen):
491 type(exc_value.__context__),
[all …]
Dpy_compile.py46 def __init__(self, exc_type, exc_value, file, msg=''): argument
50 exc_type, exc_value))
53 errmsg = "Sorry: %s: %s" % (exc_type_name,exc_value)
55 Exception.__init__(self,msg or errmsg,exc_type_name,exc_value,file)
58 self.exc_value = exc_value
/external/libchrome/third_party/jinja2/
Ddebug.py83 def __init__(self, exc_type, exc_value, frames): argument
86 self.exc_value = exc_value
99 lines = traceback.format_exception(self.exc_type, self.exc_value,
114 return isinstance(self.exc_value, TemplateSyntaxError)
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
135 if isinstance(exc_value, TemplateSyntaxError):
136 exc_info = translate_syntax_error(exc_value, source_hint)
230 exc_type, exc_value, tb = exc_info
/external/python/cpython2/Lib/
Dpy_compile.py45 def __init__(self, exc_type, exc_value, file, msg=''): argument
48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
51 errmsg = "Sorry: %s: %s" % (exc_type_name,exc_value)
53 Exception.__init__(self,msg or errmsg,exc_type_name,exc_value,file)
56 self.exc_value = 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)),
Dsubprocess.py397 exc_type, exc_value, exc_trace = sys.exc_info()
408 raise exc_type, exc_value, exc_trace
1002 exc_type, exc_value, tb = sys.exc_info()
1005 exc_value,
1007 exc_value.child_traceback = ''.join(exc_lines)
1008 os.write(errpipe_write, pickle.dumps(exc_value))
/external/autotest/server/cros/
Dtradefed_chromelogin.py125 def exit(self, exc_type=None, exc_value=None, traceback=None): argument
145 self.reboot(exc_type, exc_value, traceback)
147 def __exit__(self, exc_type, exc_value, traceback): argument
159 self.exit(exc_type, exc_value, traceback)
173 def reboot(self, exc_type=None, exc_value=None, traceback=None): argument
/external/python/cpython3/Modules/
Datexitmodule.c68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; in atexit_callfuncs() local
94 Py_XDECREF(exc_value); in atexit_callfuncs()
97 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs()
100 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); in atexit_callfuncs()
101 PyErr_Display(exc_type, exc_value, exc_tb); in atexit_callfuncs()
109 PyErr_Restore(exc_type, exc_value, exc_tb); in atexit_callfuncs()
/external/python/cpython3/Python/
Derrors.c86 PyObject *exc_value; in PyErr_SetObject() local
98 exc_value = _PyErr_GetTopmostException(tstate)->exc_value; in PyErr_SetObject()
99 if (exc_value != NULL && exc_value != Py_None) { in PyErr_SetObject()
101 Py_INCREF(exc_value); in PyErr_SetObject()
113 Py_DECREF(exc_value); in PyErr_SetObject()
124 if (exc_value != value) { in PyErr_SetObject()
125 PyObject *o = exc_value, *context; in PyErr_SetObject()
134 PyException_SetContext(value, exc_value); in PyErr_SetObject()
137 Py_DECREF(exc_value); in PyErr_SetObject()
361 *p_value = exc_info->exc_value; in PyErr_GetExcInfo()
[all …]
/external/python/cpython3/Lib/xmlrpc/
Dserver.py272 exc_type, exc_value, exc_tb = sys.exc_info()
275 Fault(1, "%s:%s" % (exc_type, exc_value)),
280 exc_type = exc_value = exc_tb = None
371 exc_type, exc_value, exc_tb = sys.exc_info()
375 'faultString' : "%s:%s" % (exc_type, exc_value)}
379 exc_type = exc_value = exc_tb = None
640 exc_type, exc_value = sys.exc_info()[:2]
643 Fault(1, "%s:%s" % (exc_type, exc_value)),
648 exc_type = exc_value = None
/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 …]
Dqueries.py48 print sys.exc_type, sys.exc_value
107 print sys.exc_type, sys.exc_value
/external/scapy/scapy/
Dautorun.py35 exc_type, exc_value, exc_tb = sys.exc_info()
36 if isinstance(exc_value, StopAutorun):
37 raise exc_value
/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/autotest/client/cros/networking/
Dshill_context.py81 def __exit__(self, exc_type, exc_value, traceback): argument
164 def __exit__(self, exc_type, exc_value, traceback): argument
/external/python/cpython3/Lib/idlelib/
Dstackviewer.py137 exc_type, exc_value, exc_tb = sys.exc_info()
140 sys.last_value = exc_value
/external/python/cpython2/Lib/idlelib/
DStackViewer.py135 exc_type, exc_value, exc_tb = sys.exc_info()
139 sys.last_value = exc_value
DWindowList.py49 sys.exc_type, ":", sys.exc_value
/external/autotest/client/deps/lansim/src/py/
Dsimulator.py402 exc_type, exc_value, exc_traceback = sys.exc_info()
404 exc_type, exc_value, exc_traceback))
/external/python/cpython3/PC/clinic/
Dwinreg.c.h84 PyObject *exc_value, PyObject *traceback);
93 PyObject *exc_value; in winreg_HKEYType___exit__() local
97 &exc_type, &exc_value, &traceback)) { in winreg_HKEYType___exit__()
100 return_value = winreg_HKEYType___exit___impl(self, exc_type, exc_value, traceback); in winreg_HKEYType___exit__()
/external/python/cpython2/Doc/library/
Dtraceback.rst45 This is a shorthand for ``print_exception(sys.exc_type, sys.exc_value,
182 exc_type, exc_value, exc_traceback = sys.exc_info()
186 traceback.print_exception(exc_type, exc_value, exc_traceback,
195 print repr(traceback.format_exception(exc_type, exc_value,
/external/python/cpython3/Lib/unittest/
Dcase.py193 def __exit__(self, exc_type, exc_value, tb): argument
210 self.exception = exc_value.with_traceback(None)
215 if not expected_regex.search(str(exc_value)):
217 expected_regex.pattern, str(exc_value)))
238 def __exit__(self, exc_type, exc_value, tb): argument
239 self.warnings_manager.__exit__(exc_type, exc_value, tb)
328 def __exit__(self, exc_type, exc_value, tb): argument
/external/autotest/client/site_tests/platform_PrinterPpds/
Dfake_printer.py62 def __exit__(self, exc_type, exc_value, traceback): argument
/external/autotest/client/cros/
Dcros_disks.py42 def __exit__(self, exc_type, exc_value, traceback): argument
46 exc_type, exc_value)
605 def __exit__(self, exc_type, exc_value, traceback): argument

1234