Home
last modified time | relevance | path

Searched refs:unix_isatty (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dsysdeps_win32_test.cpp103 TEST(sysdeps_win32, unix_isatty) { in TEST() argument
111 EXPECT_EQ(1, unix_isatty(fd)); in TEST()
119 EXPECT_EQ(0, unix_isatty(nul_fd)); in TEST()
126 EXPECT_EQ(0, unix_isatty(temp_file.fd)); in TEST()
130 EXPECT_EQ(0, unix_isatty(temp_file_ro_fd)); in TEST()
136 EXPECT_EQ(0, unix_isatty(pipe_fds[0])); in TEST()
137 EXPECT_EQ(0, unix_isatty(pipe_fds[1])); in TEST()
142 EXPECT_EQ(0, unix_isatty(-1)); in TEST()
Dline_printer.cpp49 smart_terminal_ = unix_isatty(1) && term && string(term) != "dumb"; in LinePrinter()
Dadb_trace.cpp160 if (unix_isatty(STDOUT_FILENO) == 0) { in adb_trace_init()
Dsysdeps.h269 int unix_isatty(int fd);
634 static __inline__ int unix_isatty(int fd) { in unix_isatty() function
Dcommandline.cpp789 if (!unix_isatty(STDIN_FILENO)) { in adb_shell()
794 if (!unix_isatty(STDIN_FILENO)) { in adb_shell()
Dsysdeps_win32.cpp1344 int unix_isatty(int fd) { in unix_isatty() function
2164 if (len > 4096 && unix_isatty(fd)) { in unix_read_interruptible()