Home
last modified time | relevance | path

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

1234

/external/libmojo/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
200 exc_type, exc_value, tb = exc_info
/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/chromium-trace/catapult/common/py_utils/py_utils/
Dcontextlib_ext.py17 def __exit__(self, exc_type, exc_val, exc_tb): argument
19 return self._manager.__exit__(exc_type, exc_val, exc_tb)
Dcontextlib_ext_unittest.py21 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/skia/infra/bots/
Dgit_utils.py33 def __exit__(self, exc_type, _value, _traceback): argument
84 def __exit__(self, exc_type, _value, _traceback): argument
88 if exc_type is None:
/external/autotest/client/cros/
Ddevice_jail_utils.py39 def __exit__(self, exc_type, exc_val, traceback): argument
53 def __exit__(self, exc_type, exc_val, traceback): argument
154 def __exit__(self, exc_type, exc_val, traceback): argument
Dcros_disks.py41 def __exit__(self, exc_type, exc_value, traceback): argument
42 if exc_type and issubclass(exc_type, self.__suppressed_exc_types):
45 exc_type, exc_value)
551 def __exit__(self, exc_type, exc_value, traceback): argument
/external/libmojo/third_party/catapult/devil/devil/utils/
Dmock_calls.py60 def __exit__(self, exc_type, exc_val, exc_tb): argument
62 patch.__exit__(exc_type, exc_val, exc_tb)
63 if exc_type is None:
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls.py60 def __exit__(self, exc_type, exc_val, exc_tb): argument
62 patch.__exit__(exc_type, exc_val, exc_tb)
63 if exc_type is None:
Dcmd_helper_test.py191 def __exit__(self, exc_type, exc_val, exc_tb): argument
193 m.__exit__(exc_type, exc_val, exc_tb)
/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/autotest/server/hosts/
Dtestbed.py157 exc_type, exc_value, exc_traceback = sys.exc_info()
158 failures.append((adb_device.adb_serial, exc_type, exc_value,
162 for serial, exc_type, exc_value, exc_traceback in failures:
165 exc_type, exc_value, exc_traceback))
/external/autotest/client/deps/lansim/src/py/
Dsimulator.py25 def __exit__(self, exc_type, exc_val, exc_tb): argument
402 exc_type, exc_value, exc_traceback = sys.exc_info()
404 exc_type, exc_value, exc_traceback))
/external/python/cpython2/Lib/test/
Dtest_exceptions.py690 for exc_type in (ValueError, BrokenStrException):
692 exc = exc_type("test message")
695 except exc_type:
701 self.assertIn(exc_type.__name__, report)
702 if exc_type is BrokenStrException:
Dtest_with.py215 exc_type=None): argument
218 if exc_type is None:
220 exc_type = type(self.TEST_EXCEPTION)
221 self.assertEqual(mock_manager.exit_args[0], exc_type)
223 self.assertIsInstance(mock_manager.exit_args[1], exc_type)
/external/python/cpython2/Lib/idlelib/
DStackViewer.py135 exc_type, exc_value, exc_tb = sys.exc_info()
138 sys.last_type = exc_type
/external/autotest/client/cros/video/
Dimport_screenshot_capturer.py63 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/python/cpython2/Modules/
D_tkinter.c1440 PyObject **exc_type, **exc_value, **exc_tb; member
1550 PyErr_Fetch(e->exc_type, e->exc_value, e->exc_tb); in Tkapp_CallProc()
1560 *(e->exc_type) = NULL; in Tkapp_CallProc()
1616 PyObject *exc_type, *exc_value, *exc_tb; in Tkapp_Call() local
1628 ev->exc_type = &exc_type; in Tkapp_Call()
1636 if (exc_type) in Tkapp_Call()
1637 PyErr_Restore(exc_type, exc_value, exc_tb); in Tkapp_Call()
1831 PyObject **exc_type; member
1875 *(ev->exc_type) = exc; in var_perform()
1904 PyObject *res, *exc_type, *exc_val; in var_invoke() local
[all …]
/external/autotest/client/cros/image_comparison/
Dupload_on_fail_comparer.py100 def __exit__(self, exc_type, exc_val, exc_tb): argument
Drgb_image_comparer.py91 def __exit__(self, exc_type, exc_val, exc_tb): argument
Dpdiff_image_comparer.py106 def __exit__(self, exc_type, exc_val, exc_tb): argument
/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/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs.py354 def __exit__(self, exc_type, _exc_value, _traceback): argument
356 if not exc_type:

1234