Home
last modified time | relevance | path

Searched full:force_color (Results 1 – 20 of 20) sorted by relevance

/external/cronet/stable/build/android/pylib/utils/
Dlogging_utils.py66 def __init__(self, force_color=False): argument
68 self.force_color = force_color
81 if self.force_color or self.is_tty:
86 def MakeDefault(force_color=False): argument
94 force_color: Set to True to bypass the tty check and always colorize.
98 logging.getLogger().addHandler(ColorStreamHandler(force_color))
/external/cronet/tot/build/android/pylib/utils/
Dlogging_utils.py66 def __init__(self, force_color=False): argument
68 self.force_color = force_color
81 if self.force_color or self.is_tty:
86 def MakeDefault(force_color=False): argument
94 force_color: Set to True to bypass the tty check and always colorize.
98 logging.getLogger().addHandler(ColorStreamHandler(force_color))
/external/angle/build/android/pylib/utils/
Dlogging_utils.py66 def __init__(self, force_color=False): argument
68 self.force_color = force_color
81 if self.force_color or self.is_tty:
86 def MakeDefault(force_color=False): argument
94 force_color: Set to True to bypass the tty check and always colorize.
98 logging.getLogger().addHandler(ColorStreamHandler(force_color))
/external/python/cpython3/Lib/test/
Dtest__colorize.py45 with unittest.mock.patch("os.environ", {'FORCE_COLOR': '1'}):
48 {'FORCE_COLOR': '1', 'NO_COLOR': '1'}):
51 {'FORCE_COLOR': '1', "PYTHON_COLORS": '0'}):
/external/python/cpython3/.github/workflows/
Dmypy.yml27 FORCE_COLOR: 1
28 …TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/p…
Dlint.yml9 FORCE_COLOR: 1
Dreusable-ubuntu.yml25 FORCE_COLOR: 1
Dreusable-docs.yml15 FORCE_COLOR: 1
/external/python/cpython3/Lib/
D_colorize.py53 if "FORCE_COLOR" in os.environ:
Ddoctest.py1562 color_variables = {"PYTHON_COLORS": None, "FORCE_COLOR": None}
/external/rust/android-crates-io/crates/googletest/tests/
Dno_color_test.rs33 std::env::set_var("FORCE_COLOR", "1"); in colors_suppressed_when_both_no_color_and_force_color_are_set()
Dcolorized_diff_test.rs33 std::env::set_var("FORCE_COLOR", "1"); in colors_appear_when_no_color_is_no_set_and_force_color_is_set()
/external/python/typing_extensions/.github/workflows/
Dci.yml16 FORCE_COLOR: 1
Dthird_party.yml22 FORCE_COLOR: 1
/external/python/cpython3/Doc/using/
Dcmdline.rst647 If the |FORCE_COLOR|_ environment variable is set, then color will be
652 in the output. This takes precedence over ``FORCE_COLOR``.
658 ``FORCE_COLOR``.
662 .. |FORCE_COLOR| replace:: ``FORCE_COLOR`` substdef
/external/python/cpython3/Lib/test/test_pyrepl/
Dsupport.py109 clean_env.pop("FORCE_COLOR", None)
/external/rust/android-crates-io/crates/googletest/src/matcher_support/
Dsummarize_diff.rs323 match (is_env_var_set("NO_COLOR"), is_env_var_set("FORCE_COLOR")) { in stdout_supports_color()
332 is_env_var_set("FORCE_COLOR") && !is_env_var_set("NO_COLOR") in stdout_supports_color()
/external/rust/android-crates-io/crates/googletest/
DREADME.md346 | FORCE_COLOR | Forces colors even when the output is piped to a file. |
/external/python/cpython3/Doc/whatsnew/
D3.13.rst252 the canonical |NO_COLOR|_ and |FORCE_COLOR|_ environment variables.
258 .. |FORCE_COLOR| replace:: ``FORCE_COLOR`` substdef
861 and |FORCE_COLOR|_ environment variables.
/external/python/cpython3/Lib/test/support/
D__init__.py2703 "PYTHON_COLORS": None, "FORCE_COLOR": None, "NO_COLOR": None