/external/vboot_reference/host/lib/ |
D | host_signature.c | 193 close(c_to_p[STDOUT_FILENO]); in InvokeExternalSigner() 196 if (write(p_to_c[STDOUT_FILENO], inbuf, size) != size) { in InvokeExternalSigner() 200 close(p_to_c[STDOUT_FILENO]); /* Send EOF to child (signer process). */ in InvokeExternalSigner() 217 close (p_to_c[STDOUT_FILENO]); in InvokeExternalSigner() 230 if (STDOUT_FILENO != c_to_p[STDOUT_FILENO]) { in InvokeExternalSigner() 231 if (dup2(c_to_p[STDOUT_FILENO], STDOUT_FILENO) != STDOUT_FILENO) { in InvokeExternalSigner() 233 close(c_to_p[STDOUT_FILENO]); in InvokeExternalSigner()
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
D | libcontainer_target_unittest.cc | 30 original_stdout_fd_.reset(dup(STDOUT_FILENO)); in ScopedCaptureStdout() 35 CHECK(dup2(pipe_fds[1], STDOUT_FILENO) != -1); in ScopedCaptureStdout() 40 CHECK(dup2(original_stdout_fd_.get(), STDOUT_FILENO) != -1); in ~ScopedCaptureStdout() 110 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; in TEST_F() 145 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; in TEST_F() 190 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; in TEST_F()
|
/external/protobuf/src/google/protobuf/testing/ |
D | zcgunzip.cc | 50 #ifndef STDOUT_FILENO 51 #define STDOUT_FILENO 1 macro 74 int err = write(STDOUT_FILENO, inptr, inlen); in main()
|
D | zcgzip.cc | 49 #ifndef STDOUT_FILENO 50 #define STDOUT_FILENO 1 macro 61 FileOutputStream fout(STDOUT_FILENO); in main()
|
/external/selinux/policycoreutils/run_init/ |
D | open_init_pty.c | 212 setfd_block(STDOUT_FILENO); in setfd_atexit() 260 if (tcgetattr(STDOUT_FILENO, &tty_attr) < 0) { in main() 266 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &window_size) < 0) { in main() 304 setfd_nonblock(STDOUT_FILENO); in main() 341 FD_SET(STDOUT_FILENO, &writefds); in main() 366 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main() 370 ssize_t n = rb_write(&outbuf, STDOUT_FILENO); in main()
|
/external/curl/tests/libtest/ |
D | lib556.c | 31 #ifndef STDOUT_FILENO 32 #define STDOUT_FILENO 1 macro 91 if(!write(STDOUT_FILENO, buf, iolen)) in test()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.cc | 44 #ifndef STDOUT_FILENO 45 #define STDOUT_FILENO 1 macro 164 _setmode(STDOUT_FILENO, _O_BINARY); in PluginMain() 178 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) { in PluginMain()
|
/external/libusb/tests/ |
D | testlib.c | 35 #define STDOUT_FILENO 1 macro 44 #define STDOUT_FILENO 1 macro 85 IGNORE_RETVAL(dup2(ctx->old_stdout, STDOUT_FILENO)); in cleanup_test_output() 114 ctx->old_stdout = dup(STDOUT_FILENO); in setup_test_output() 135 if ((dup2(ctx->null_fd, STDOUT_FILENO) < 0) || in setup_test_output()
|
/external/python/cpython3/Lib/ |
D | pty.py | 16 STDOUT_FILENO = 1 variable 105 os.dup2(slave_fd, STDOUT_FILENO) 111 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) 142 os.write(STDOUT_FILENO, data)
|
/external/valgrind/drd/tests/ |
D | pth_detached_sem.c | 28 write(STDOUT_FILENO, ".", 1); in thread_func1() 36 write(STDOUT_FILENO, ".", 1); in thread_func2() 84 write(STDOUT_FILENO, "\n", 1); in main()
|
D | pth_detached.c | 24 write(STDOUT_FILENO, ".", 1); in thread_func1() 32 write(STDOUT_FILENO, ".", 1); in thread_func2() 82 write(STDOUT_FILENO, "\n", 1); in main()
|
D | linuxthreads_det.c | 18 write(STDOUT_FILENO, "NPTL or non-Linux POSIX threads implementation detected.\n", 57); in thread_func() 22 write(STDOUT_FILENO, "Detected LinuxThreads as POSIX threads implementation.\n", 55); in thread_func()
|
D | pth_barrier_thr_cr.c | 20 write(STDOUT_FILENO, ".", 1); in thread() 54 write(STDOUT_FILENO, "\n", 1); in main()
|
/external/python/cpython2/Lib/ |
D | pty.py | 16 STDOUT_FILENO = 1 variable 116 os.dup2(slave_fd, STDOUT_FILENO) 122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) 153 os.write(STDOUT_FILENO, data)
|
/external/curl/src/ |
D | tool_main.h | 35 #ifndef STDOUT_FILENO 36 # define STDOUT_FILENO fileno(stdout) macro
|
/external/squashfs-tools/squashfs-tools/ |
D | progressbar.c | 60 if(isatty(STDOUT_FILENO)) in sigwinch_handler() 111 tty = isatty(STDOUT_FILENO); in progress_bar() 186 if(isatty(STDOUT_FILENO)) in progress_thrd()
|
/external/python/cpython2/Lib/test/ |
D | test_pty.py | 204 self.orig_stdout_fileno = pty.STDOUT_FILENO 212 pty.STDOUT_FILENO = self.orig_stdout_fileno 233 pty.STDOUT_FILENO = mock_stdout_fd 262 pty.STDOUT_FILENO = mock_stdout_fd
|
/external/python/cpython3/Lib/test/ |
D | test_pty.py | 206 self.orig_stdout_fileno = pty.STDOUT_FILENO 215 pty.STDOUT_FILENO = self.orig_stdout_fileno 246 pty.STDOUT_FILENO = mock_stdout_fd 274 pty.STDOUT_FILENO = mock_stdout_fd
|
/external/linux-kselftest/tools/testing/selftests/size/ |
D | get_size.c | 27 #define STDOUT_FILENO 1 macro 31 return write(STDOUT_FILENO, s, __builtin_strlen(s)); in print()
|
/external/gptfdisk/ |
D | sgdisk.cc | 41 int stdout = dup(STDOUT_FILENO); in android_dump() 43 dup2(silence, STDOUT_FILENO); in android_dump()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | raw_ostream.cpp | 49 #ifndef STDOUT_FILENO 50 # define STDOUT_FILENO 1 macro 434 FD = STDOUT_FILENO; in raw_fd_ostream() 477 if (fd == STDOUT_FILENO || fd == STDERR_FILENO) in raw_fd_ostream() 649 static raw_fd_ostream S(STDOUT_FILENO, true); in outs()
|
/external/ltp/lib/ |
D | tst_run_cmd.c | 67 close(STDOUT_FILENO); in tst_run_cmd_fds_() 68 dup2(stdout_fd, STDOUT_FILENO); in tst_run_cmd_fds_()
|
/external/libxml2/ |
D | testC14N.c | 14 #ifndef STDOUT_FILENO 18 #define STDOUT_FILENO fileno(stdout) macro 111 if (write(STDOUT_FILENO, result, ret) == -1) { in test_c14n()
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite02.c | 102 ret = write(STDOUT_FILENO, "get wrong signal\n", in sighandler() 105 ret = write(STDOUT_FILENO, "caught SIGXFSZ\n", in sighandler()
|
/external/libbrillo/brillo/ |
D | process_unittest.cc | 208 EXPECT_EQ(-1, process_.GetPipe(STDOUT_FILENO)); in TEST_F() 231 process_.RedirectUsingPipe(STDOUT_FILENO, false); in TEST_F() 232 EXPECT_EQ(-1, process_.GetPipe(STDOUT_FILENO)); in TEST_F() 234 int pipe_fd = process_.GetPipe(STDOUT_FILENO); in TEST_F()
|