Searched refs:isatty (Results 1 – 16 of 16) sorted by relevance
78 if (!isatty(1) && !forced_pager) in setup_pager()106 if (isatty(2)) in setup_pager()
55 if (data->raw && isatty(data->fd)) { in fd_open()74 if (!data->raw || !isatty(fd)) in fd_close()
80 if (isatty(fd)) { in generic_console_write()105 if (isatty(fd)) { in generic_console_write()281 if (!isatty(fd)) in register_winch()
22 if (isatty(1) || pager_in_use()) in __color_vsnprintf()48 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
30 stdout_is_tty = isatty(1); in perf_config_colorbool()
79 if (use_browser < 2 && (!isatty(1) || dump_trace)) in setup_browser()
159 int isatty(int fd) in isatty() function
507 tty_stdio = isatty(0) && isatty(1); in main()
284 if (!isatty(STDIN_FILENO)) { in main()
92 if (!isatty(STDIN_FILENO)) { in os_enter_line_edit_mode()
367 if (!isatty(fd)) in maybe_sigio_broken()
121 COLOR = args.color and sys.stdout.isatty()
589 if (isatty(fileno(stdin)) == 0) in output_listing()
878 if (!isatty(STDIN_FILENO)) { in set_input_mode()
3404 if (isatty(1)) in parse_xed()
309 if (hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()):