/external/python/pybind11/tests/ |
D | test_iostream.py | 19 from contextlib import redirect_stdout 23 def redirect_stdout(target): function 109 with redirect_stdout(stream): 117 with redirect_stdout(stream): 146 with redirect_stdout(stream): 166 with redirect_stdout(stream): 173 with redirect_stdout(stream): 181 with redirect_stdout(stream): 209 with redirect_stdout(stream):
|
/external/python/pybind11/include/pybind11/ |
D | iostream.h | 164 std::unique_ptr<scoped_ostream_redirect> redirect_stdout; in PYBIND11_NAMESPACE_BEGIN() local 173 redirect_stdout.reset(new scoped_ostream_redirect()); in PYBIND11_NAMESPACE_BEGIN() 179 redirect_stdout.reset(); in PYBIND11_NAMESPACE_BEGIN()
|
/external/llvm-project/lldb/test/API/python_api/process/io/ |
D | TestProcessIO.py | 69 self.redirect_stdout() 99 self.redirect_stdout() 169 def redirect_stdout(self): member in ProcessIOTestCase
|
/external/python/rsa/tests/ |
D | test_cli.py | 13 from contextlib import contextmanager, redirect_stdout, redirect_stderr 32 with redirect_stdout(buf_out), redirect_stderr(buf_err):
|
/external/python/cpython2/Lib/ |
D | webbrowser.py | 213 redirect_stdout = True variable in UnixBrowser 237 stdout=(self.redirect_stdout and inout or None), 340 redirect_stdout = False variable in Elinks
|
/external/python/cpython3/Lib/ |
D | webbrowser.py | 210 redirect_stdout = True variable in UnixBrowser 238 stdout=(self.redirect_stdout and inout or None), 348 redirect_stdout = False variable in Elinks
|
D | contextlib.py | 324 class redirect_stdout(_RedirectStream): class
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 6 from contextlib import redirect_stderr, redirect_stdout
|
/external/python/cpython3/Doc/library/ |
D | contextlib.rst | 229 .. function:: redirect_stdout(new_target) 242 with redirect_stdout(f): 250 with redirect_stdout(f): 255 with redirect_stdout(sys.stderr): 270 Similar to :func:`~contextlib.redirect_stdout` but redirecting 778 :func:`suppress` and :func:`redirect_stdout`. Here's a very simple example of 781 >>> from contextlib import redirect_stdout 784 >>> write_to_stream = redirect_stdout(stream) 801 :func:`redirect_stdout`, for example, is definitely not thread safe, as it
|
/external/fonttools/Tests/misc/ |
D | py23_test.py | 12 round2, round3, isclose, redirect_stdout, redirect_stderr) 445 redirect_stream = redirect_stdout
|
/external/python/cpython3/Lib/test/ |
D | test_contextlib.py | 992 redirect_stream = redirect_stdout
|
D | test_dis.py | 474 with contextlib.redirect_stdout(output):
|
/external/fonttools/ |
D | NEWS.rst | 1210 - [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1023 :func:`~contextlib.redirect_stdout`) makes it easier for utility scripts to
|
D | 3.4.rst | 687 The new :func:`contextlib.redirect_stdout` context manager makes it easier
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3462 - Issue #19403: contextlib.redirect_stdout is now reentrant 3511 implementations of the new contextlib.redirect_stdout and 3815 - Issue #15805: Add contextlib.redirect_stdout().
|