/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 87 except pywintypes.error as exc_value: 88 if exc_value[0] == 33: 90 (target_file.name, exc_value[2])) 99 except pywintypes.error as exc_value: 100 if exc_value[0] == 158: 112 except IOError as exc_value: 113 if exc_value[0] == 11 or exc_value[0] == 35: 115 (target_file.name, exc_value[1]))
|
/external/python/cpython3/Lib/ |
D | traceback.py | 468 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument 476 _seen.add(id(exc_value)) 479 if (exc_value and exc_value.__cause__ is not None 480 and id(exc_value.__cause__) not in _seen): 482 type(exc_value.__cause__), 483 exc_value.__cause__, 484 exc_value.__cause__.__traceback__, 491 if (exc_value and exc_value.__context__ is not None 492 and id(exc_value.__context__) not in _seen): 494 type(exc_value.__context__), [all …]
|
D | py_compile.py | 46 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/python/cpython3/Python/ |
D | errors.c | 103 PyObject *exc_value; in _PyErr_SetObject() local 115 exc_value = _PyErr_GetTopmostException(tstate)->exc_value; in _PyErr_SetObject() 116 if (exc_value != NULL && exc_value != Py_None) { in _PyErr_SetObject() 118 Py_INCREF(exc_value); in _PyErr_SetObject() 130 Py_DECREF(exc_value); in _PyErr_SetObject() 141 if (exc_value != value) { in _PyErr_SetObject() 142 PyObject *o = exc_value, *context; in _PyErr_SetObject() 151 PyException_SetContext(value, exc_value); in _PyErr_SetObject() 154 Py_DECREF(exc_value); in _PyErr_SetObject() 439 *p_value = exc_info->exc_value; in PyErr_GetExcInfo() [all …]
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 83 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/ |
D | py_compile.py | 45 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
|
D | SimpleXMLRPCServer.py | 270 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)),
|
D | subprocess.py | 397 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/python/cpython3/Modules/ |
D | atexitmodule.c | 68 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/asn1crypto/tests/ |
D | _unittest_compat.py | 126 def __exit__(self, exc_type, exc_value, tb): argument 137 self.exception = exc_value # store for later retrieval 142 if not expected_regexp.search(str(exc_value)): 145 (expected_regexp.pattern, str(exc_value))
|
/external/python/cpython3/Lib/xmlrpc/ |
D | server.py | 273 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/libxml2/doc/ |
D | index.py | 226 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 …]
|
D | queries.py | 48 print sys.exc_type, sys.exc_value 107 print sys.exc_type, sys.exc_value
|
/external/python/cpython3/Modules/_ssl/ |
D | debughelpers.c | 76 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, &ssl_obj->exc_tb); in _PySSL_msg_callback() 138 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/scapy/scapy/ |
D | autorun.py | 35 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/ |
D | connection.py | 36 def __exit__(self, exc_type, exc_value, exc_tb): argument 74 def __exit__(self, exc_type, exc_value, exc_tb): argument
|
/external/python/cpython3/Lib/test/ |
D | audit-tests.py | 273 def excepthook(exc_type, exc_value, exc_tb): argument 275 sys.__excepthook__(exc_type, exc_value, exc_tb) 300 print(event, repr(args[1].exc_value), args[1].err_msg)
|
/external/autotest/client/cros/networking/ |
D | shill_context.py | 78 def __exit__(self, exc_type, exc_value, traceback): argument 161 def __exit__(self, exc_type, exc_value, traceback): argument
|
/external/python/cpython3/Lib/idlelib/ |
D | stackviewer.py | 137 exc_type, exc_value, exc_tb = sys.exc_info() 140 sys.last_value = exc_value
|
/external/python/cpython2/Lib/idlelib/ |
D | StackViewer.py | 135 exc_type, exc_value, exc_tb = sys.exc_info() 139 sys.last_value = exc_value
|
/external/autotest/client/deps/lansim/src/py/ |
D | simulator.py | 402 exc_type, exc_value, exc_traceback = sys.exc_info() 404 exc_type, exc_value, exc_traceback))
|
/external/python/cpython3/PC/clinic/ |
D | winreg.c.h | 84 PyObject *exc_value, PyObject *traceback); 94 PyObject *exc_value; in winreg_HKEYType___exit__() local 102 exc_value = args[1]; in winreg_HKEYType___exit__() 104 return_value = winreg_HKEYType___exit___impl(self, exc_type, exc_value, traceback); in winreg_HKEYType___exit__()
|
/external/python/cpython3/Modules/clinic/ |
D | selectmodule.c.h | 900 PyObject *exc_value, PyObject *exc_tb); 907 PyObject *exc_value = Py_None; in select_epoll___exit__() local 920 exc_value = args[1]; in select_epoll___exit__() 926 return_value = select_epoll___exit___impl(self, exc_type, exc_value, exc_tb); in select_epoll___exit__()
|
/external/python/cpython2/Doc/library/ |
D | traceback.rst | 45 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/ |
D | case.py | 217 def __exit__(self, exc_type, exc_value, tb): argument 234 self.exception = exc_value.with_traceback(None) 239 if not expected_regex.search(str(exc_value)): 241 expected_regex.pattern, str(exc_value))) 262 def __exit__(self, exc_type, exc_value, tb): argument 263 self.warnings_manager.__exit__(exc_type, exc_value, tb) 352 def __exit__(self, exc_type, exc_value, tb): argument
|