HomeSort by relevance Sort by last modified time
    Searched refs:__exit__ (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
newstringio.py 38 def __exit__(self, type, value, traceback): member in class:StringIO
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
contextlib.py 21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
dummy_thread.py 118 def __exit__(self, typ, val, tb): member in class:LockType
tempfile.py 419 # Need to trap __exit__ as well to ensure the file gets
421 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
422 result = self.file.__exit__(exc, value, tb)
426 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
427 self.file.__exit__(exc, value, tb)
539 def __exit__(self, exc, value, tb): member in class:SpooledTemporaryFile
codecs.py 388 def __exit__(self, type, value, tb): member in class:StreamWriter
633 def __exit__(self, type, value, tb): member in class:StreamReader
720 def __exit__(self, type, value, tb): member in class:StreamReaderWriter
836 def __exit__(self, type, value, tb): member in class:StreamRecoder
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
contextlib.py 21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
dummy_thread.py 118 def __exit__(self, typ, val, tb): member in class:LockType
tempfile.py 419 # Need to trap __exit__ as well to ensure the file gets
421 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
422 result = self.file.__exit__(exc, value, tb)
426 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
427 self.file.__exit__(exc, value, tb)
539 def __exit__(self, exc, value, tb): member in class:SpooledTemporaryFile
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_with.py 27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(self, *args) member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
    [all...]
test_contextlib.py 52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
test_importlib.py 112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
test_file.py 117 # __exit__ should close the file
118 self.f.__exit__(None, None, None)
126 # file is closed, __exit__ shouldn't do anything
127 self.assertEqual(self.f.__exit__(None, None, None), None)
132 self.assertEqual(self.f.__exit__(*sys.exc_info()), None)
test_pdb.py 82 def __exit__(self, *exc): member in class:PdbTestInput
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_with.py 27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(self, *args) member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
    [all...]
test_contextlib.py 52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
test_importlib.py 112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
test_file.py 117 # __exit__ should close the file
118 self.f.__exit__(None, None, None)
126 # file is closed, __exit__ shouldn't do anything
127 self.assertEqual(self.f.__exit__(None, None, None), None)
132 self.assertEqual(self.f.__exit__(*sys.exc_info()), None)
  /external/chromium_org/chrome/test/functional/ispy/ispy_core/tools/
reverse_port_forwarder.py 47 def __exit__(self, t, v, tb): member in class:ReversePortForwarder
  /external/chromium_org/tools/gyp/test/win/
gyptest-link-embed-manifest.py 34 def __exit__(self, type, value, traceback): member in class:LoadLibrary
gyptest-link-enable-uac.py 34 def __exit__(self, type, value, traceback): member in class:LoadLibrary
  /external/chromium_org/tools/telemetry/telemetry/core/chrome/
inspector_timeline.py 19 def __exit__(self, *args): member in class:InspectorTimeline.Recorder
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
synchronize.py 91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
synchronize.py 91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)
  /external/chromium_org/tools/telemetry/telemetry/core/
temporary_http_server.py 47 def __exit__(self, *args): member in class:TemporaryHTTPServer
wpr_server.py 73 def __exit__(self, *args): member in class:ReplayServer

Completed in 639 milliseconds

1 2 3 4 5