/external/curl/src/ |
H A D | tool_main.h | 35 #ifndef STDOUT_FILENO 36 # define STDOUT_FILENO fileno(stdout) macro
|
/external/valgrind/drd/tests/ |
H A D | linuxthreads_det.c | 18 write(STDOUT_FILENO, "NPTL or non-Linux POSIX threads implementation detected.\n", 57); 22 write(STDOUT_FILENO, "Detected LinuxThreads as POSIX threads implementation.\n", 55);
|
H A D | pth_detached.c | 24 write(STDOUT_FILENO, ".", 1); 32 write(STDOUT_FILENO, ".", 1); 82 write(STDOUT_FILENO, "\n", 1);
|
H A D | pth_detached_sem.c | 28 write(STDOUT_FILENO, ".", 1); 36 write(STDOUT_FILENO, ".", 1); 84 write(STDOUT_FILENO, "\n", 1);
|
H A D | pth_barrier_thr_cr.c | 20 write(STDOUT_FILENO, ".", 1); 54 write(STDOUT_FILENO, "\n", 1);
|
/external/curl/tests/libtest/ |
H A D | lib556.c | 31 #ifndef STDOUT_FILENO 32 #define STDOUT_FILENO 1 macro 91 if(!write(STDOUT_FILENO, buf, iolen))
|
/external/protobuf/src/google/protobuf/testing/ |
H A D | zcgunzip.cc | 50 #ifndef STDOUT_FILENO 51 #define STDOUT_FILENO 1 macro 74 int err = write(STDOUT_FILENO, inptr, inlen);
|
H A D | zcgzip.cc | 49 #ifndef STDOUT_FILENO 50 #define STDOUT_FILENO 1 macro 61 FileOutputStream fout(STDOUT_FILENO);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | closed-fds.cc | 21 close(STDOUT_FILENO);
|
/external/openssh/openbsd-compat/ |
H A D | daemon.c | 73 (void)dup2(fd, STDOUT_FILENO);
|
/external/vboot_reference/host/lib/ |
H A D | host_signature.c | 193 close(c_to_p[STDOUT_FILENO]); 196 if (write(p_to_c[STDOUT_FILENO], inbuf, size) != size) { 200 close(p_to_c[STDOUT_FILENO]); /* Send EOF to child (signer process). */ 217 close (p_to_c[STDOUT_FILENO]); 230 if (STDOUT_FILENO != c_to_p[STDOUT_FILENO]) { 231 if (dup2(c_to_p[STDOUT_FILENO], STDOUT_FILENO) != STDOUT_FILENO) { 233 close(c_to_p[STDOUT_FILENO]); [all...] |
/external/compiler-rt/test/tsan/ |
H A D | fd_stdout_race.cc | 21 write(STDOUT_FILENO, "a", 1);
|
/external/syslinux/com32/include/ |
H A D | unistd.h | 37 #define STDOUT_FILENO 1 macro
|
/external/bison/djgpp/ |
H A D | subpipe.c | 40 #ifndef STDOUT_FILENO 41 # define STDOUT_FILENO 1 macro 129 old_stdout = dup(STDOUT_FILENO); 154 if (dup2(from_in_fd, STDOUT_FILENO) < 0) 162 fd[0] = STDOUT_FILENO; 214 if (dup2(to_in_fd, STDOUT_FILENO) < 0) 233 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); 239 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); 251 if (dup2(old_stdout, STDOUT_FILENO) < 0)
|
/external/gptfdisk/ |
H A D | sgdisk.cc | 41 int stdout = dup(STDOUT_FILENO); 43 dup2(silence, STDOUT_FILENO);
|
/external/linux-kselftest/tools/testing/selftests/size/ |
H A D | get_size.c | 27 #define STDOUT_FILENO 1 macro 31 return write(STDOUT_FILENO, s, __builtin_strlen(s));
|
/external/bison/lib/ |
H A D | spawn-pipe.c | 99 * parent <- fd[0] <- STDOUT_FILENO <- child if pipe_stdout 157 orig_stdout = dup_safer_noinherit (STDOUT_FILENO); 167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0) 182 && (stdoutfd == STDOUT_FILENO 183 || (dup2 (stdoutfd, STDOUT_FILENO) >= 0 222 undup_safer_noinherit (orig_stdout, STDOUT_FILENO); 292 ifd[1], STDOUT_FILENO)) 322 STDOUT_FILENO, 388 * parent <- fd[0] <- STDOUT_FILENO <- child 410 * parent <- fd[0] <- STDOUT_FILENO < [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-3.c | 75 #define WRITE(str) write(STDOUT_FILENO, str, sizeof(str) - 1)
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 44 #ifndef STDOUT_FILENO 45 #define STDOUT_FILENO 1 macro 164 _setmode(STDOUT_FILENO, _O_BINARY); 178 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) {
|
/external/python/cpython2/Lib/ |
H A 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/libusb/tests/ |
H A D | testlib.c | 35 #define STDOUT_FILENO 1 macro 44 #define STDOUT_FILENO 1 macro 85 IGNORE_RETVAL(dup2(ctx->old_stdout, STDOUT_FILENO)); 114 ctx->old_stdout = dup(STDOUT_FILENO); 127 /* Redirect STDOUT_FILENO and STDERR_FILENO to /dev/null or "nul"*/ 135 if ((dup2(ctx->null_fd, STDOUT_FILENO) < 0) ||
|
/external/squashfs-tools/squashfs-tools/ |
H A D | progressbar.c | 60 if(isatty(STDOUT_FILENO)) 111 tty = isatty(STDOUT_FILENO); 186 if(isatty(STDOUT_FILENO))
|
/external/selinux/policycoreutils/run_init/ |
H A D | open_init_pty.c | 238 if (tcgetattr(STDOUT_FILENO, &tty_attr) < 0) { 244 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &window_size) < 0) { 282 setfd_nonblock(STDOUT_FILENO); 315 FD_SET(STDOUT_FILENO, &writefds); 340 if (FD_ISSET(STDOUT_FILENO, &writefds)) { 344 ssize_t n = rb_write(&outbuf, STDOUT_FILENO);
|
/external/ltp/lib/ |
H A D | tst_run_cmd.c | 67 close(STDOUT_FILENO); 68 dup2(stdout_fd, STDOUT_FILENO);
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
H A D | pwrite02.c | 102 ret = write(STDOUT_FILENO, "get wrong signal\n", 105 ret = write(STDOUT_FILENO, "caught SIGXFSZ\n",
|