Searched refs:isatty (Results 1 – 8 of 8) sorted by relevance
38 bool stdout_is_tty = isatty(STDOUT_FILENO) != 0; in ShouldUseColor()
69 if (isatty(0)) printf("%s", (c == kRed) ? "\e[31m" : "\e[32m"); in Print()70 printf("%s%s", lhs, isatty(0) ? "\e[0m" : ""); in Print()
172 #define isatty ___xxx_isatty macro553 return isatty(fd.get()); in unix_isatty()555 #define isatty ___xxx_isatty macro
1322 #undef isatty in _get_console_handle()1323 if (!isatty(fd.get())) { in _get_console_handle()
386 if self.device.has_shell_protocol() and os.isatty(sys.stdin.fileno()):
50 # perfetto log formatter calls isatty() on its stderr. Denial when running
41 int isatty(int fd) in isatty() function