/external/python/cpython2/Tools/pybench/ |
D | With.py | 11 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 …]
|
/external/python/cpython2/Lib/test/ |
D | test_with.py | 21 def __enter__(self): member in MockContextManager 23 return GeneratorContextManager.__enter__(self) 60 def __enter__(self): member in Nested 67 vars.append(mgr.__enter__()) 97 def __enter__(self): member in MockNested 99 return Nested.__enter__(self) 125 def __enter__(self): member in FailureTestCase.testExitAttributeError.LacksExit 162 def __enter__(self): member in FailureTestCase.testEnterThrows.EnterThrows 177 def __enter__(self): member in FailureTestCase.testExitThrows.ExitThrows 461 def __enter__(self): member in ExceptionalTestCase.testRaisedStopIteration2.cm [all …]
|
D | test_contextlib.py | 51 ctx.__enter__() 63 ctx.__enter__() 164 def __enter__(self): member in NestedTestCase.test_nested_right_exception.b
|
D | test_importlib.py | 107 def __enter__(self): member in mock_modules 109 self._uncache.__enter__()
|
/external/skia/infra/bots/ |
D | git_utils.py | 22 def __enter__(self): member in GitLocalConfig 58 def __enter__(self): member in GitBranch 128 def __enter__(self): member in NewGitCheckout 133 super(NewGitCheckout, self).__enter__()
|
D | utils.py | 29 def __enter__(self): member in print_timings 45 def __enter__(self): member in tmp_dir 66 def __enter__(self): member in chdir 90 def __enter__(self): member in git_branch
|
/external/python/cpython2/Lib/ |
D | contextlib.py | 15 def __enter__(self): member in GeneratorContextManager 111 enter = mgr.__enter__ 151 def __enter__(self): member in closing
|
/external/autotest/client/cros/cellular/ |
D | environment.py | 37 def __enter__(self): member in EmulatedEnvironment 92 def __enter__(self): member in DefaultCellularTestContext 95 self.env) = self._nested.__enter__()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | contextlib_ext.py | 12 def __enter__(self): member in _OptionalContextManager 14 return self._manager.__enter__()
|
D | contextlib_ext_unittest.py | 18 def __enter__(self): member in OptionalUnittest.SampleContextMgr
|
/external/autotest/client/cros/ |
D | device_jail_utils.py | 35 def __enter__(self): member in OSFile 50 def __enter__(self): member in ConcurrentFunc 67 def __enter__(self): member in JailDevice
|
D | shill_temporary_profile.py | 15 def __enter__(self): member in ShillTemporaryProfile
|
/external/skia/tools/skpbench/ |
D | _hardware_android.py | 22 def __enter__(self): member in HardwareAndroid 56 return Hardware.__enter__(self)
|
D | _hardware_pixel_c.py | 17 def __enter__(self): member in HardwarePixelC 19 return HardwareAndroid.__enter__(self)
|
D | _hardware_nexus_6p.py | 16 def __enter__(self): member in HardwareNexus6P 18 return HardwareAndroid.__enter__(self)
|
/external/autotest/client/cros/networking/ |
D | apmanager_xmlrpc_server.py | 32 def __enter__(self): member in ApmanagerXmlRpcDelegate 33 super(ApmanagerXmlRpcDelegate, self).__enter__()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | synchronize.py | 88 def __enter__(self): member in SemLock 89 return self._semlock.__enter__() 214 def __enter__(self): member in Condition 215 return self._lock.__enter__()
|
/external/autotest/server/hosts/ |
D | file_store_unittest.py | 130 mock_file_lock.__enter__.return_value = mock_file_lock 150 mock_file_lock.__enter__.return_value = mock_file_lock 175 mock_file_lock.__enter__.return_value = mock_file_lock
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | mock_calls.py | 55 def __enter__(self): member in TestCase._AssertCalls 57 patch.__enter__()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | mock_calls.py | 55 def __enter__(self): member in TestCase._AssertCalls 57 patch.__enter__()
|
/external/autotest/server/cros/network/ |
D | wifi_interface_claim_context.py | 17 def __enter__(self): member in WiFiInterfaceClaimContext
|
/external/python/cpython2/Misc/Vim/ |
D | syntax_test.py | 21 def __enter__(self): member in Bar
|
/external/r8/tools/ |
D | utils.py | 69 def __enter__(self): member in TempDir 80 def __enter__(self): member in ChangedWorkingDirectory
|
/external/autotest/client/common_lib/ |
D | metrics_mock_class.py | 65 def __enter__(self, *args, **kwargs): member in mock_class_base
|
/external/autotest/client/cros/video/ |
D | import_screenshot_capturer.py | 33 def __enter__(self): member in ImportScreenShotCapturer
|