/external/chromium-trace/catapult/common/py_utils/py_utils/ |
contextlib_ext.py | 17 def __exit__(self, exc_type, exc_val, exc_tb): 19 return self._manager.__exit__(exc_type, exc_val, exc_tb)
|
retry_util.py | 9 def RetryOnException(exc_type, retries): 35 exc_type: An exception type (or a tuple of them), on which to retry. 48 except exc_type as exc:
|
contextlib_ext_unittest.py | 21 def __exit__(self, exc_type, exc_val, exc_tb):
|
/external/python/cpython3/Modules/ |
atexitmodule.c | 68 PyObject *exc_type = NULL, *exc_value, *exc_tb, *r; local 94 if (exc_type) { 95 Py_DECREF(exc_type); 99 PyErr_Fetch(&exc_type, &exc_value, &exc_tb); 102 PyErr_NormalizeException(&exc_type, &exc_value, &exc_tb); 103 PyErr_Display(exc_type, exc_value, exc_tb); 110 if (exc_type) 111 PyErr_Restore(exc_type, exc_value, exc_tb);
|
/development/gsi/gsi_util/gsi_util/dumpers/ |
prop_dumper.py | 35 def __exit__(self, exc_type, exc_val, exc_tb):
|
xml_dumper.py | 34 def __exit__(self, exc_type, exc_val, exc_tb):
|
/development/vndk/tools/sourcedr/sourcedr/ |
utils.py | 25 def __exit__(self, exc_type, exc_val, exc_tb):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg])
28 exc_type: exception type to be used in error message
45 def __init__(self, exc_type, exc_value, file, msg=''):
46 exc_type_name = exc_type.__name__
47 if exc_type is SyntaxError:
48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/external/autotest/client/cros/video/ |
import_screenshot_capturer.py | 63 def __exit__(self, exc_type, exc_val, exc_tb):
|
/external/autotest/server/cros/ |
tradefed_chromelogin.py | 112 def __exit__(self, exc_type, exc_value, traceback): 115 @param exc_type: Exception type if an exception is raised from the 132 self.reboot(exc_type, exc_value, traceback) 145 def reboot(self, exc_type=None, exc_value=None, traceback=None): 148 @param exc_type: Exception type if an exception is raised from the 162 if exc_type is None:
|
/external/python/cpython2/Lib/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg]) 28 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/external/python/cpython3/Lib/ |
py_compile.py | 23 raise PyCompileError(exc_type,exc_value,file[,msg]) 27 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 49 exc_type, exc_value))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg]) 28 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg]) 28 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg]) 28 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
py_compile.py | 24 raise PyCompileError(exc_type,exc_value,file[,msg]) 28 exc_type: exception type to be used in error message 45 def __init__(self, exc_type, exc_value, file, msg=''): 46 exc_type_name = exc_type.__name__ 47 if exc_type is SyntaxError: 48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
|
/external/libmojo/third_party/jinja2/ |
debug.py | 83 def __init__(self, exc_type, exc_value, frames): 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/cpython3/Lib/multiprocessing/dummy/ |
connection.py | 34 def __exit__(self, exc_type, exc_value, exc_tb): 72 def __exit__(self, exc_type, exc_value, exc_tb):
|
/development/gsi/gsi_util/gsi_util/mounters/ |
base_mounter.py | 36 def __exit__(self, exc_type, exc_val, exc_tb): 61 def __exit__(self, exc_type, exc_val, exc_tb): 173 def __exit__(self, exc_type, exc_val, exc_tb):
|
/external/autotest/client/cros/ |
device_jail_utils.py | 39 def __exit__(self, exc_type, exc_val, traceback): 53 def __exit__(self, exc_type, exc_val, traceback): 154 def __exit__(self, exc_type, exc_val, traceback):
|
/external/chromium-trace/catapult/devil/devil/utils/ |
mock_calls.py | 60 def __exit__(self, exc_type, exc_val, exc_tb): 62 patch.__exit__(exc_type, exc_val, exc_tb) 63 if exc_type is None:
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
mock_calls.py | 60 def __exit__(self, exc_type, exc_val, exc_tb): 62 patch.__exit__(exc_type, exc_val, exc_tb) 63 if exc_type is None:
|
/external/skia/infra/bots/ |
git_utils.py | 33 def __exit__(self, exc_type, _value, _traceback): 87 def __exit__(self, exc_type, _value, _traceback): 91 if exc_type is None:
|
/external/skqp/infra/bots/ |
git_utils.py | 33 def __exit__(self, exc_type, _value, _traceback): 87 def __exit__(self, exc_type, _value, _traceback): 91 if exc_type is None:
|
/external/autotest/client/cros/image_comparison/ |
upload_on_fail_comparer.py | 100 def __exit__(self, exc_type, exc_val, exc_tb):
|