/external/tensorflow/tensorflow/python/util/ |
tf_contextlib.py | 25 def contextmanager(target): function 26 """A tf_decorator-aware wrapper for `contextlib.contextmanager`. 28 Usage is identical to `contextlib.contextmanager`. 31 target: A callable to be wrapped in a contextmanager. 35 context_manager = _contextlib.contextmanager(target) 36 return tf_decorator.make_decorator(target, context_manager, 'contextmanager')
|
tf_contextlib_test.py | 28 @tf_contextlib.contextmanager 35 @tf_contextlib.contextmanager 40 @tf_contextlib.contextmanager 82 self.assertEqual('contextmanager', decorators[0].decorator_name)
|
/development/gsi/gsi_util/gsi_util/utils/ |
file_utils.py | 22 @contextlib.contextmanager
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
tempfile_ext.py | 11 @contextlib.contextmanager
|
logging_util.py | 13 @contextlib.contextmanager
|
shell_util.py | 11 from contextlib import contextmanager as _contextmanager
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_contextlib.py | 18 @contextmanager
31 @contextmanager
47 @contextmanager
56 @contextmanager
70 @contextmanager
92 @contextmanager
114 @contextmanager
117 @contextmanager
120 @contextmanager
130 @contextmanager
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_contextlib.py | 18 @contextmanager 31 @contextmanager 47 @contextmanager 56 @contextmanager 70 @contextmanager 92 @contextmanager 114 @contextmanager 117 @contextmanager 120 @contextmanager 130 @contextmanager [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_contextlib.py | 18 @contextmanager 31 @contextmanager 47 @contextmanager 56 @contextmanager 70 @contextmanager 92 @contextmanager 114 @contextmanager 117 @contextmanager 120 @contextmanager 130 @contextmanager [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_contextlib.py | 18 @contextmanager 31 @contextmanager 47 @contextmanager 56 @contextmanager 70 @contextmanager 92 @contextmanager 114 @contextmanager 117 @contextmanager 120 @contextmanager 130 @contextmanager [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_contextlib.py | 18 @contextmanager 31 @contextmanager 47 @contextmanager 56 @contextmanager 70 @contextmanager 92 @contextmanager 114 @contextmanager 117 @contextmanager 120 @contextmanager 130 @contextmanager [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
signal_handler.py | 9 @contextlib.contextmanager 26 @contextlib.contextmanager
|
/external/tensorflow/tensorflow/contrib/py2tf/utils/ |
context_managers.py | 38 return contextlib.contextmanager(lambda: (yield))()
|
/external/python/cpython2/Lib/test/ |
test_contextlib.py | 18 @contextmanager 31 @contextmanager 47 @contextmanager 56 @contextmanager 70 @contextmanager 92 @contextmanager 111 @contextmanager 122 @contextmanager 125 @contextmanager 128 @contextmanager [all...] |
/external/autotest/client/cros/chameleon/ |
chameleon_measurer_base.py | 7 from contextlib import contextmanager 24 @contextmanager 66 @contextmanager
|
/external/autotest/site_utils/lxc/ |
unittest_http.py | 4 from contextlib import contextmanager 20 @contextmanager
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
queues.py | 25 from contextlib import contextmanager 43 @contextmanager
|
/external/libmojo/build/android/pylib/constants/ |
host_paths.py | 26 @contextlib.contextmanager
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"]
10 """Helper for @contextmanager decorator."""
54 def contextmanager(func):
function 55 """@contextmanager decorator.
59 @contextmanager
88 @contextmanager
|
/external/python/cpython2/Lib/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"] 10 """Helper for @contextmanager decorator.""" 54 def contextmanager(func): function 55 """@contextmanager decorator. 59 @contextmanager 88 @contextmanager
|
/external/scapy/test/tls/ |
travis_test_server.py | 18 from contextlib import contextmanager 30 @contextmanager
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"] 10 """Helper for @contextmanager decorator.""" 54 def contextmanager(func): function 55 """@contextmanager decorator. 59 @contextmanager 88 @contextmanager
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"] 10 """Helper for @contextmanager decorator.""" 54 def contextmanager(func): function 55 """@contextmanager decorator. 59 @contextmanager 88 @contextmanager
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"] 10 """Helper for @contextmanager decorator.""" 54 def contextmanager(func): function 55 """@contextmanager decorator. 59 @contextmanager 88 @contextmanager
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
contextlib.py | 7 __all__ = ["contextmanager", "nested", "closing"] 10 """Helper for @contextmanager decorator.""" 54 def contextmanager(func): function 55 """@contextmanager decorator. 59 @contextmanager 88 @contextmanager
|