Home
last modified time | relevance | path

Searched refs:isatty (Results 1 – 25 of 117) sorted by relevance

12345

/external/lldb/test/
Dprogress.py92 if hasattr(self.stdout, 'isatty') and self.stdout.isatty():
124 isatty = hasattr(self.stdout, 'isatty') and self.stdout.isatty()
125 if isatty:
135 if isatty:
/external/toybox/toys/posix/
Dnohup.c25 if (isatty(1)) { in nohup_main()
37 if (isatty(0)) { in nohup_main()
Drm.c40 if (!(dir && try->again) && ((or && isatty(0)) || (flags & FLAG_i))) { in do_rm()
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c60 if(isatty(STDOUT_FILENO)) in sigwinch_handler()
111 tty = isatty(STDOUT_FILENO); in progress_bar()
186 if(isatty(STDOUT_FILENO)) in progress_thrd()
/external/linux-tools-perf/src/tools/perf/util/
Dpager.c51 if (!isatty(1)) in setup_pager()
86 if (isatty(2)) in setup_pager()
Dcolor.c151 stdout_is_tty = isatty(1); in perf_config_colorbool()
179 if (isatty(1) || pager_in_use()) in __color_vsnprintf()
204 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
/external/toybox/toys/other/
Dlogin.c156 if (!isatty(0) || !isatty(1) || !isatty(2)) error_exit("no tty"); in login_main()
Dmkpasswd.c63 if (isatty(0)) {
/external/mksh/src/
DBuild.sh403 int main(void) { return (isatty(0)); }
1069 int main(void) { return (isatty(0)); }
1257 int main(void) { return (isatty(0)); }
1264 int main(void) { return (isatty(0)); }
1361 int main(void) { return (isatty(0)); }
1575 int main(int ac, char **av) { return (foo(av[ac - 1]) + isatty(0)); }
1588 __attribute__((__unused__))) { return (isatty(0)); }
1600 int main(void) { return (isatty(0)); }
1653 int main(void) { struct tm tm; return ((int)sizeof(tm) + isatty(0)); }
1736 int main(void) { return (((int)(rlim_t)0) + isatty(0)); }
[all …]
/external/bison/lib/
Dunistd.in.h962 # undef isatty
963 # define isatty rpl_isatty
965 _GL_FUNCDECL_RPL (isatty, int, (int fd));
966 _GL_CXXALIAS_RPL (isatty, int, (int fd));
968 _GL_CXXALIAS_SYS (isatty, int, (int fd));
970 _GL_CXXALIASWARN (isatty);
972 # undef isatty
974 _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - "
Dbinary-io.h65 # define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0))
/external/bison/linux-lib/
Dunistd.h1274 # undef isatty
1275 # define isatty rpl_isatty
1277 _GL_FUNCDECL_RPL (isatty, int, (int fd));
1278 _GL_CXXALIAS_RPL (isatty, int, (int fd));
1280 _GL_CXXALIAS_SYS (isatty, int, (int fd));
1282 _GL_CXXALIASWARN (isatty);
1284 # undef isatty
1286 _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - "
/external/bison/darwin-lib/
Dunistd.h1274 # undef isatty
1275 # define isatty rpl_isatty
1277 _GL_FUNCDECL_RPL (isatty, int, (int fd));
1278 _GL_CXXALIAS_RPL (isatty, int, (int fd));
1280 _GL_CXXALIAS_SYS (isatty, int, (int fd));
1282 _GL_CXXALIASWARN (isatty);
1284 # undef isatty
1286 _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - "
/external/linux-tools-perf/src/tools/perf/ui/
Dsetup.c11 if (use_browser < 2 && (!isatty(1) || dump_trace)) in setup_browser()
/external/e2fsprogs/include/nonunix/
Dunistd.h31 #define isatty _isatty macro
/external/toybox/kconfig/
Dconf.c506 valid_stdin = isatty(0) && isatty(1) && isatty(2); in main()
/external/lldb/tools/debugserver/source/
DTTYState.cpp34 if (fd >= 0 && ::isatty (fd)) in GetTTYState()
/external/libvncserver/vncterm/
DTODO5 Find out how to satisfy isatty(). => /dev/ptyN
/external/e2fsprogs/lib/et/
Dcom_err.c47 if (!isatty(fd)) in default_com_err_proc()
/external/libvpx/libvpx/
Dtools_common.h38 #define isatty _isatty macro
/external/toybox/toys/pending/
Dsulogin.c92 if (!isatty(0)) error_exit("%s: it is not a tty", toys.optargs[0]); in sulogin_main()
/external/e2fsprogs/e2fsck/
Discan.c27 extern int isatty(int);
/external/openssh/
Dserverloop.c439 } else if ((!isatty(fdout) && len <= 0) || in process_input()
440 (isatty(fdout) && (len < 0 || (len == 0 && errno != 0)))) { in process_input()
458 } else if ((!isatty(fderr) && len <= 0) || in process_input()
459 (isatty(fderr) && (len < 0 || (len == 0 && errno != 0)))) { in process_input()
596 if (!(datafellows & SSH_BUG_IGNOREMSG) && isatty(fdin)) in server_loop()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c236 if (isatty(STDIN_FILENO)) { in main()
284 if (isatty(STDIN_FILENO)) { in main()
/external/liblzf/
Dlzf.c512 if ((mode == uncompress || mode == lzcat) && isatty (0)) in main()
517 if (mode == compress && isatty (1)) in main()

12345