Home
last modified time | relevance | path

Searched refs:__enter__ (Results 1 – 25 of 35) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DWith.py11 def __enter__(self): member in WithFinally.ContextManager
57 def __enter__(self): member in TryFinally.ContextManager
69 cm.__enter__()
73 cm.__enter__()
77 cm.__enter__()
81 cm.__enter__()
85 cm.__enter__()
89 cm.__enter__()
93 cm.__enter__()
97 cm.__enter__()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_with.py23 def __enter__(self): member in MockContextManager
25 return GeneratorContextManager.__enter__(self)
62 def __enter__(self): member in Nested
69 vars.append(mgr.__enter__())
99 def __enter__(self): member in MockNested
101 return Nested.__enter__(self)
127 def __enter__(self): member in FailureTestCase.testExitAttributeError.LacksExit
164 def __enter__(self): member in FailureTestCase.testEnterThrows.EnterThrows
179 def __enter__(self): member in FailureTestCase.testExitThrows.ExitThrows
463 def __enter__(self): member in ExceptionalTestCase.testRaisedStopIteration2.cm
[all …]
Dtest_pdb.py18 def __enter__(self): member in PdbTestInput
Dtest_importlib.py107 def __enter__(self): member in mock_modules
109 self._uncache.__enter__()
Dtest_contextlib.py51 ctx.__enter__()
63 ctx.__enter__()
156 def __enter__(self): member in NestedTestCase.test_nested_right_exception.b
Dtest_xml_etree.py1852 def __enter__(self): member in CleanContext
1860 self.checkwarnings.__enter__()
Dtest_compiler.py12 def __enter__(self): member in TrivialContext
205 def __enter__(self): member in CompilerTest.testWithMult.Ctx
Dtest_support.py649 def __enter__(self): member in CleanImport
690 def __enter__(self): member in EnvironmentVarGuard
720 def __enter__(self): member in DirsOnSysPath
737 def __enter__(self): member in TransientResource
Dtest_warnings.py631 self.assertRaises(RuntimeError, x.__enter__)
636 self.assertRaises(RuntimeError, x.__enter__)
Dtest_grammar.py936 def __enter__(self): member in GrammarTests.test_with_statement.manager
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcontextlib.py15 def __enter__(self): member in GeneratorContextManager
111 enter = mgr.__enter__
151 def __enter__(self): member in closing
Ddummy_thread.py116 __enter__ = acquire variable in LockType
Drunpy.py31 def __enter__(self): member in _TempModule
52 def __enter__(self): member in _ModifiedArgv0
Dcodecs.py385 def __enter__(self): member in StreamWriter
630 def __enter__(self): member in StreamReader
717 def __enter__(self): member in StreamReaderWriter
833 def __enter__(self): member in StreamRecoder
Dtempfile.py383 def __enter__(self): member in _TemporaryFileWrapper
384 self.file.__enter__()
523 def __enter__(self): member in SpooledTemporaryFile
D_weakrefset.py20 def __enter__(self): member in _IterationGuard
Dwarnings.py339 def __enter__(self): member in catch_warnings
Dcalendar.py488 def __enter__(self): member in TimeEncoding
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Ddummy_thread.py116 __enter__ = acquire variable in LockType
Drunpy.py31 def __enter__(self): member in _TempModule
52 def __enter__(self): member in _ModifiedArgv0
Dcodecs.py391 def __enter__(self): member in StreamWriter
633 def __enter__(self): member in StreamReader
720 def __enter__(self): member in StreamReaderWriter
836 def __enter__(self): member in StreamRecoder
D_weakrefset.py20 def __enter__(self): member in _IterationGuard
Dwarnings.py343 def __enter__(self): member in catch_warnings
Dcalendar.py492 def __enter__(self): member in TimeEncoding
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
Dpy3_test_grammar.py873 def __enter__(self): member in GrammarTests.test_with_statement.manager

12