Home
last modified time | relevance | path

Searched refs:stdout_is_tty (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcolor_config.c12 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) in perf_config_colorbool() argument
29 if (stdout_is_tty < 0) in perf_config_colorbool()
30 stdout_is_tty = isatty(1); in perf_config_colorbool()
31 if (stdout_is_tty || pager_in_use()) { in perf_config_colorbool()
H A Dcolor.h36 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty);
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dtout.py48 return stdout_is_tty and verbose > 0
52 if verbose > 0 and stdout_is_tty:
65 if stdout_is_tty:
153 global verbose, _progress, _color, _stdout, stdout_is_tty
161 stdout_is_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()