Home
last modified time | relevance | path

Searched refs:exc_val (Results 1 – 25 of 53) sorted by relevance

123

/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/autotest/server/cros/servo/
Dservo.py165 def _log_exception(exc_type, exc_val, exc_tb): argument
167 if exc_val is not None:
169 'Wrapped exception:', exc_info=(exc_type, exc_val, exc_tb))
175 def __exit__(self, exc_type, exc_val, exc_tb): argument
178 if isinstance(exc_val, six.moves.http_client.BadStatusLine):
179 self._log_exception(exc_type, exc_val, exc_tb)
180 if exc_val.line in ('', "''"):
181 err = ServodEmptyResponse(self.description, exc_val.line)
183 err = ServodBadResponse(self.description, exc_val.line)
186 if isinstance(exc_val, seven.SOCKET_ERRORS):
[all …]
/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/chromium-trace/catapult/devil/devil/utils/
Dparallelizer.py218 def __exit__(self, exc_type, exc_val, exc_tb): argument
230 r.__call__(exc_type, exc_val, exc_tb)
Dmock_calls.py62 def __exit__(self, exc_type, exc_val, exc_tb): argument
64 patch.__exit__(exc_type, exc_val, exc_tb)
Dcmd_helper_test.py196 def __exit__(self, exc_type, exc_val, exc_tb): argument
198 m.__exit__(exc_type, exc_val, exc_tb)
/external/tensorflow/tensorflow/python/profiler/
Dtrace.py125 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
Dlogging_pool.py48 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/cros/input_playback/
Dkeyboard.py57 def __exit__(self, exc_type, exc_val, exc_tb): argument
Dstylus.py111 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_channel.py67 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/python/cpython3/Modules/
D_asynciomodule.c559 PyObject *exc_val = NULL; in future_set_exception() local
567 exc_val = PyObject_CallNoArgs(exc); in future_set_exception()
568 if (exc_val == NULL) { in future_set_exception()
572 Py_DECREF(exc_val); in future_set_exception()
578 exc_val = exc; in future_set_exception()
579 Py_INCREF(exc_val); in future_set_exception()
581 if (!PyExceptionInstance_Check(exc_val)) { in future_set_exception()
582 Py_DECREF(exc_val); in future_set_exception()
586 if (Py_IS_TYPE(exc_val, (PyTypeObject *)PyExc_StopIteration)) { in future_set_exception()
587 Py_DECREF(exc_val); in future_set_exception()
[all …]
D_tkinter.c1681 PyObject **exc_val; member
1749 *(ev->exc_val) = val; in var_perform()
1774 PyObject *res, *exc_type, *exc_val; in var_invoke() local
1794 ev->exc_val = &exc_val; in var_invoke()
1800 PyErr_SetObject(exc_type, exc_val); in var_invoke()
1802 Py_DECREF(exc_val); in var_invoke()
/external/autotest/client/cros/image_comparison/
Dpdiff_image_comparer.py106 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/cros/video/
Dchameleon_screenshot_capturer.py109 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_temp_file.py120 def __exit__(self, exc_type, exc_val, exc_tb): argument
Dlogcat_monitor.py273 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/rpc/
Dgrpc.py99 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/cros/chameleon/
Dchameleon_video_capturer.py160 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/cros/
Dmemory_bandwidth_logger.py89 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/cros/faft/utils/
Dflashrom_handler.py118 def __exit__(self, exc_type, exc_val, exc_tb): argument
123 if not isinstance(exc_val, error.CmdError):
126 result = exc_val.result_obj
/external/python/pyfakefs/pyfakefs/
Dfake_scandir.py158 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/autotest/client/deps/lansim/src/py/
Dsimulator.py25 def __exit__(self, exc_type, exc_val, exc_tb): argument
/external/python/cpython2/Modules/
D_tkinter.c1832 PyObject **exc_val; member
1876 *(ev->exc_val) = val; in var_perform()
1904 PyObject *res, *exc_type, *exc_val; in var_invoke() local
1924 ev->exc_val = &exc_val; in var_invoke()
1930 PyErr_SetObject(exc_type, exc_val); in var_invoke()
1932 Py_DECREF(exc_val); in var_invoke()

123