Home
last modified time | relevance | path

Searched refs:redirect_stdout (Results 1 – 16 of 16) sorted by relevance

/external/python/pybind11/tests/
Dtest_iostream.py19 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/
Diostream.h164 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/
DTestProcessIO.py69 self.redirect_stdout()
99 self.redirect_stdout()
169 def redirect_stdout(self): member in ProcessIOTestCase
/external/python/rsa/tests/
Dtest_cli.py13 from contextlib import contextmanager, redirect_stdout, redirect_stderr
32 with redirect_stdout(buf_out), redirect_stderr(buf_err):
/external/python/cpython2/Lib/
Dwebbrowser.py213 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/
Dwebbrowser.py210 redirect_stdout = True variable in UnixBrowser
238 stdout=(self.redirect_stdout and inout or None),
348 redirect_stdout = False variable in Elinks
Dcontextlib.py324 class redirect_stdout(_RedirectStream): class
/external/fonttools/Lib/fontTools/misc/
Dpy23.py6 from contextlib import redirect_stderr, redirect_stdout
/external/python/cpython3/Doc/library/
Dcontextlib.rst229 .. 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/
Dpy23_test.py12 round2, round3, isclose, redirect_stdout, redirect_stderr)
445 redirect_stream = redirect_stdout
/external/python/cpython3/Lib/test/
Dtest_contextlib.py992 redirect_stream = redirect_stdout
Dtest_dis.py474 with contextlib.redirect_stdout(output):
/external/fonttools/
DNEWS.rst1210 - [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1023 :func:`~contextlib.redirect_stdout`) makes it easier for utility scripts to
D3.4.rst687 The new :func:`contextlib.redirect_stdout` context manager makes it easier
/external/python/cpython3/Misc/
DHISTORY3462 - Issue #19403: contextlib.redirect_stdout is now reentrant
3511 implementations of the new contextlib.redirect_stdout and
3815 - Issue #15805: Add contextlib.redirect_stdout().