/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/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/openssh/ |
D | progressmeter.c | 84 return (getpgrp() == tcgetpgrp(STDOUT_FILENO)); in can_output() 225 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 282 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter() 297 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
|
/external/curl/src/ |
D | tool_main.h | 35 #ifndef STDOUT_FILENO 36 # define STDOUT_FILENO fileno(stdout) macro
|
D | tool_main.c | 89 fd[0] == STDOUT_FILENO || in main_checkfds() 92 fd[1] == STDOUT_FILENO || in main_checkfds()
|
/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 | 218 self.orig_stdout_fileno = pty.STDOUT_FILENO 226 pty.STDOUT_FILENO = self.orig_stdout_fileno 247 pty.STDOUT_FILENO = mock_stdout_fd 276 pty.STDOUT_FILENO = mock_stdout_fd
|
/external/python/cpython3/Lib/test/ |
D | test_pty.py | 219 self.orig_stdout_fileno = pty.STDOUT_FILENO 228 pty.STDOUT_FILENO = self.orig_stdout_fileno 259 pty.STDOUT_FILENO = mock_stdout_fd 287 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/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite02.c | 77 ret = write(STDOUT_FILENO, "get wrong signal\n", in sighandler() 80 ret = write(STDOUT_FILENO, "caught SIGXFSZ\n", in sighandler()
|
/external/libbrillo/brillo/ |
D | process_unittest.cc | 218 EXPECT_EQ(-1, process_.GetPipe(STDOUT_FILENO)); in TEST_F() 237 EXPECT_EQ(-1, process_.GetPipe(STDOUT_FILENO)); in TEST_F() 250 process_.RedirectUsingPipe(STDOUT_FILENO, false); in TEST_F() 251 EXPECT_EQ(-1, process_.GetPipe(STDOUT_FILENO)); in TEST_F() 253 int pipe_fd = process_.GetPipe(STDOUT_FILENO); in TEST_F()
|
/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/perfetto/src/traced/probes/ftrace/ |
D | atrace_wrapper.cc | 70 if ((dup2(null_fd, STDOUT_FILENO) == -1)) { in ExecvAtrace() 86 if (i != STDIN_FILENO && i != STDERR_FILENO && i != STDOUT_FILENO) in ExecvAtrace()
|
/external/protobuf/conformance/ |
D | conformance_cpp.cc | 182 CheckedWrite(STDOUT_FILENO, &bytes, sizeof(uint32_t)); in DoTestIo() 183 CheckedWrite(STDOUT_FILENO, serialized_output.c_str(), bytes); in DoTestIo()
|