Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32_test.cpp73 TEST(sysdeps_win32, unix_isatty) { in TEST() argument
81 EXPECT_EQ(1, unix_isatty(fd)); in TEST()
89 EXPECT_EQ(0, unix_isatty(nul_fd)); in TEST()
96 EXPECT_EQ(0, unix_isatty(temp_file.fd)); in TEST()
100 EXPECT_EQ(0, unix_isatty(temp_file_ro_fd)); in TEST()
106 EXPECT_EQ(0, unix_isatty(pipe_fds[0])); in TEST()
107 EXPECT_EQ(0, unix_isatty(pipe_fds[1])); in TEST()
112 EXPECT_EQ(0, unix_isatty(-1)); in TEST()
Dadb_trace.cpp161 if (unix_isatty(STDOUT_FILENO) == 0) { in adb_trace_init()
Dsysdeps.h171 int unix_isatty(borrowed_fd fd);
552 static inline int unix_isatty(borrowed_fd fd) { in unix_isatty() function
Dsysdeps_win32.cpp1355 int unix_isatty(borrowed_fd fd) { in unix_isatty() function
2174 if (len > 4096 && unix_isatty(fd)) { in unix_read_interruptible()
/system/core/adb/client/
Dline_printer.cpp51 smart_terminal_ = unix_isatty(1) && term && string(term) != "dumb"; in LinePrinter()
Dcommandline.cpp743 if (!unix_isatty(STDIN_FILENO) || !is_interactive) { in adb_shell()
748 if (!unix_isatty(STDIN_FILENO)) { in adb_shell()