Home
last modified time | relevance | path

Searched defs:__exit__ (Results 1 – 25 of 945) sorted by relevance

12345678910>>...38

/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_with.py25 def __exit__(self, type, value, traceback): member in MockContextManager
74 def __exit__(self, *exc_info): member in Nested
101 def __exit__(self, *exc_info): member in MockNested
115 def __exit__(self, type, value, traceback): member in FailureTestCase.testEnterAttributeError.LacksEnter
164 def __exit__(self, *args): member in FailureTestCase.testEnterThrows.EnterThrows
179 def __exit__(self, *args): member in FailureTestCase.testExitThrows.ExitThrows
463 def __exit__(self, type, value, traceback): member in ExceptionalTestCase.testRaisedStopIteration2.cm
502 def __exit__(self, type, value, traceback): member in ExceptionalTestCase.testRaisedGeneratorExit2.cm
523 def __exit__(self, a, b, c): member in ExceptionalTestCase.testErrorsInBool.cm
621 def __exit__(self, t, v, tb): pass member in AssignmentTargetTestCase.testMultipleComplexTargets.C
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_with.py24 def __exit__(self, type, value, traceback): member in MockContextManager
73 def __exit__(self, *exc_info): member in Nested
100 def __exit__(self, *exc_info): member in MockNested
114 def __exit__(self, type, value, traceback): member in FailureTestCase.testEnterAttributeError1.LacksEnter
167 def __exit__(self, *args): member in FailureTestCase.testEnterThrows.EnterThrows
182 def __exit__(self, *args): member in FailureTestCase.testExitThrows.ExitThrows
469 def __exit__(self, type, value, traceback): member in ExceptionalTestCase.testRaisedStopIteration2.cm
510 def __exit__(self, type, value, traceback): member in ExceptionalTestCase.testRaisedGeneratorExit2.cm
531 def __exit__(self, a, b, c): member in ExceptionalTestCase.testErrorsInBool.cm
629 def __exit__(self, t, v, tb): pass member in AssignmentTargetTestCase.testMultipleComplexTargets.C
[all …]
Dtest_contextlib.py20 def __exit__(self, *args): member in TestAbstractContextManager.test_enter.DefaultEnter
37 def __exit__(self, exc_type, exc_value, traceback): member in TestAbstractContextManager.test_structural_subclassing.ManagerFromScratch
43 def __exit__(self, *args): member in TestAbstractContextManager.test_structural_subclassing.DefaultEnter
54 __exit__ = None variable in TestAbstractContextManager.test_structural_subclassing.NoExit
448 def __exit__(self, *exc): member in mycontext
548 def __exit__(self, *exc): member in TestContextDecorator.test_typo_enter.mycontext
577 def __exit__(self, *exc): member in TestContextDecorator.test_contextdecorator_as_mixin.somecontext
683 def __exit__(self, *exc_details): member in TestBaseExitStack.test_push.ExitCM
706 def __exit__(self, *exc_details): member in TestBaseExitStack.test_enter_context.TestCM
725 def __exit__(self, *exc_info): member in TestBaseExitStack.test_enter_context_errors.LacksEnter
[all …]
/aosp_15_r20/external/pytorch/torch/autograd/
H A Dgrad_mode.py84 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in no_grad
139 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in enable_grad
196 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in set_grad_enabled
273 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in inference_mode
319 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in set_multithreading_enabled
359 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: member in _force_original_view_tracking
396 def __exit__(self, *args) -> None: member in _unsafe_preserve_version_counter
H A Dprofiler.py63 def __exit__(self, exc_type, exc_val, exc_tb): member in _ContextDecorator
344 def __exit__(self, exc_type, exc_val, exc_tb): member in profile
738 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any): member in record_function
862 def __exit__(self, exc_type, exc_val, exc_tb): member in emit_itt
982 def __exit__(self, exc_type, exc_val, exc_tb): member in emit_nvtx
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/external/python/cpython3/Lib/
Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dcontextlib.py28 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager
141 def __exit__(self, typ, value, traceback): member in _GeneratorContextManager
347 def __exit__(self, *exc_info): member in closing
391 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream
434 def __exit__(self, exctype, excinst, exctb): member in suppress
546 def __exit__(self, *exc_details): member in ExitStack
757 def __exit__(self, *excinfo): member in nullcontext
778 def __exit__(self, *excinfo): member in chdir
/aosp_15_r20/external/pigweed/pw_stream/py/pw_stream/
H A Dstream_readers.py67 def __exit__(self, *exc_info) -> None: member in CancellableReader
104 def __exit__(self, *exc_info) -> None: member in SelectableReader
157 def __exit__(self, *exc_info) -> None: member in SocketReader
171 def __exit__(self, *exc_info) -> None: member in SerialReader
312 def __exit__(self, exc_type, exc_value, traceback) -> None: member in SocketSubprocess
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_with.py51 def __exit__(self, type: Any, value: Any, tb: Any) -> bool: member in TestWith.test_with_as.Context
209 def __exit__(self, type: Any, value: Any, tb: Any): member in TestWith.test_with_no_as.Context
366 def __exit__(self, type: Any, value: Any, tb: Any): member in TestWith.test_with_exceptions.Context
465 def __exit__(self, type: Any, value: Any, tb: Any): member in TestWith.test_with_errors.BadEnter
480 def __exit__(self, type: Any, value: Any): # noqa: PLE0302 member in TestWith.test_with_errors.BadExit
495 def __exit__(self, type: Any, value: int, tb: int): member in TestWith.test_with_errors.ExitIncorrectTypes
/aosp_15_r20/external/skia/infra/bots/
H A Dutils.py35 def __exit__(self, t, v, tb): member in print_timings
53 def __exit__(self, t, v, tb): member in tmp_dir
73 def __exit__(self, t, v, tb): member in chdir
110 def __exit__(self, exc_type, _value, _traceback): member in git_branch
/aosp_15_r20/external/pytorch/benchmarks/fastrnns/
H A Drunner.py29 def __exit__(self, *args, **kwargs): member in DisableCuDNN
37 def __exit__(self, *args, **kwargs): member in DummyContext
48 def __exit__(self, *args, **kwargs): member in AssertNoJIT
/aosp_15_r20/external/autotest/client/cros/networking/
H A Dshill_context.py79 def __exit__(self, exc_type, exc_value, traceback): member in AllowedTechnologiesContext
166 def __exit__(self, exc_type, exc_value, traceback): member in ServiceAutoConnectContext
236 def __exit__(self, exception, value, traceback): member in StaticIPContext
/aosp_15_r20/external/python/cpython2/Tools/pybench/
DWith.py13 def __exit__(self, exc, val, tb): member in WithFinally.ContextManager
59 def __exit__(self): member in TryFinally.ContextManager
166 def __exit__(self, exc, val, tb): member in WithRaiseExcept.BlockExceptions
/aosp_15_r20/external/pytorch/torch/
H A Dserialization.py462 def __exit__(self, *args): member in _opener
470 def __exit__(self, *args): member in _open_file
481 def __exit__(self, *args): member in _open_buffer_writer
517 def __exit__(self, *args) -> None: member in _open_zipfile_writer_file
533 def __exit__(self, *args) -> None: member in _open_zipfile_writer_buffer
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/utils/
H A Dgeneric_utils.py87 def __exit__(self, *args, **kwargs): member in CustomObjectScope
159 def __exit__(self, *args, **kwargs): member in DisableSharedObjectScope
219 def __exit__(self, *args, **kwargs): member in SharedObjectLoadingScope
314 def __exit__(self, *args, **kwargs): member in SharedObjectSavingScope
/aosp_15_r20/external/pytorch/torch/xpu/
H A D__init__.py152 def __exit__(self, type: Any, value: Any, traceback: Any): member in _DeviceGuard
172 def __exit__(self, type: Any, value: Any, traceback: Any): member in device
307 def __exit__(self, type: Any, value: Any, traceback: Any): member in StreamContext
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/asyncio/
Dunix_events.py905 def __exit__(self, a, b, c): member in AbstractChildWatcher
929 def __exit__(self, exc_type, exc_value, exc_traceback): member in PidfdChildWatcher
1059 def __exit__(self, a, b, c): member in SafeChildWatcher
1142 def __exit__(self, a, b, c): member in FastChildWatcher
1261 def __exit__(self, exc_type, exc_val, exc_tb): member in MultiLoopChildWatcher
1378 def __exit__(self, exc_type, exc_val, exc_tb): member in ThreadedChildWatcher
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/asyncio/
H A Dunix_events.py905 def __exit__(self, a, b, c): member in AbstractChildWatcher
929 def __exit__(self, exc_type, exc_value, exc_traceback): member in PidfdChildWatcher
1059 def __exit__(self, a, b, c): member in SafeChildWatcher
1142 def __exit__(self, a, b, c): member in FastChildWatcher
1261 def __exit__(self, exc_type, exc_val, exc_tb): member in MultiLoopChildWatcher
1378 def __exit__(self, exc_type, exc_val, exc_tb): member in ThreadedChildWatcher
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/asyncio/
Dunix_events.py905 def __exit__(self, a, b, c): member in AbstractChildWatcher
929 def __exit__(self, exc_type, exc_value, exc_traceback): member in PidfdChildWatcher
1059 def __exit__(self, a, b, c): member in SafeChildWatcher
1142 def __exit__(self, a, b, c): member in FastChildWatcher
1261 def __exit__(self, exc_type, exc_val, exc_tb): member in MultiLoopChildWatcher
1378 def __exit__(self, exc_type, exc_val, exc_tb): member in ThreadedChildWatcher
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/asyncio/
Dunix_events.py905 def __exit__(self, a, b, c): member in AbstractChildWatcher
929 def __exit__(self, exc_type, exc_value, exc_traceback): member in PidfdChildWatcher
1059 def __exit__(self, a, b, c): member in SafeChildWatcher
1142 def __exit__(self, a, b, c): member in FastChildWatcher
1261 def __exit__(self, exc_type, exc_val, exc_tb): member in MultiLoopChildWatcher
1378 def __exit__(self, exc_type, exc_val, exc_tb): member in ThreadedChildWatcher
/aosp_15_r20/external/python/cpython3/Lib/asyncio/
Dunix_events.py905 def __exit__(self, a, b, c): member in AbstractChildWatcher
929 def __exit__(self, exc_type, exc_value, exc_traceback): member in PidfdChildWatcher
1059 def __exit__(self, a, b, c): member in SafeChildWatcher
1142 def __exit__(self, a, b, c): member in FastChildWatcher
1261 def __exit__(self, exc_type, exc_val, exc_tb): member in MultiLoopChildWatcher
1378 def __exit__(self, exc_type, exc_val, exc_tb): member in ThreadedChildWatcher

12345678910>>...38