Home
last modified time | relevance | path

Searched refs:STDIN_FILENO (Results 1 – 11 of 11) sorted by relevance

/bionic/tests/
Dsys_select_test.cpp85 FD_SET(STDIN_FILENO, &r); in TEST()
103 ASSERT_TRUE(FD_ISSET(STDIN_FILENO, &r)); in TEST()
140 FD_SET(STDIN_FILENO, &r); in TEST()
158 ASSERT_TRUE(FD_ISSET(STDIN_FILENO, &r)); in TEST()
Dclang_fortify_tests.cpp108 stdin_saved = dup(STDIN_FILENO); in SetUp()
114 if (!dup2(devnull, STDIN_FILENO)) err(1, "failed to overwrite stdin"); in SetUp()
122 if (!dup2(stdin_saved, STDIN_FILENO)) warn("failed to restore stdin"); in TearDown()
Dfdtrack_test.cpp284 ASSERT_EQ(3, SendFileDescriptors(sockets[0], "foo", 3, STDIN_FILENO));
/bionic/libc/upstream-openbsd/lib/libc/gen/
Ddaemon.c57 (void)dup2(fd, STDIN_FILENO); in daemon()
/bionic/libc/bionic/
Dpty.cpp188 dup2(fd, STDIN_FILENO); in login_tty()
/bionic/benchmarks/tests/
Dinterface_test.cpp86 close(STDIN_FILENO); in Exec()
/bionic/libc/include/
Dunistd.h46 #define STDIN_FILENO 0 macro
/bionic/libc/stdio/
Dstdio.cpp98 MAKE_STD_STREAM(__SRD, STDIN_FILENO),
1207 desired_child_fd = STDIN_FILENO; in popen()
1226 if (bidirectional) dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp77 close(STDIN_FILENO); in Exec()
/bionic/tests/headers/posix/
Dunistd_h.c275 MACRO_VALUE(STDIN_FILENO, 0); in unistd_h()
/bionic/tools/versioner/src/
Dversioner.cpp229 dup2(empty_file_fd, STDIN_FILENO); in compileHeaders()