Searched refs:STDOUT_FILENO (Results 1 - 25 of 173) sorted by relevance

1234567

/external/curl/src/
H A Dtool_main.h35 #ifndef STDOUT_FILENO
36 # define STDOUT_FILENO fileno(stdout) macro
/external/valgrind/drd/tests/
H A Dlinuxthreads_det.c18 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 Dpth_detached.c24 write(STDOUT_FILENO, ".", 1);
32 write(STDOUT_FILENO, ".", 1);
82 write(STDOUT_FILENO, "\n", 1);
H A Dpth_detached_sem.c28 write(STDOUT_FILENO, ".", 1);
36 write(STDOUT_FILENO, ".", 1);
84 write(STDOUT_FILENO, "\n", 1);
H A Dpth_barrier_thr_cr.c20 write(STDOUT_FILENO, ".", 1);
54 write(STDOUT_FILENO, "\n", 1);
/external/curl/tests/libtest/
H A Dlib556.c31 #ifndef STDOUT_FILENO
32 #define STDOUT_FILENO 1 macro
91 if(!write(STDOUT_FILENO, buf, iolen))
/external/protobuf/src/google/protobuf/testing/
H A Dzcgunzip.cc50 #ifndef STDOUT_FILENO
51 #define STDOUT_FILENO 1 macro
74 int err = write(STDOUT_FILENO, inptr, inlen);
H A Dzcgzip.cc49 #ifndef STDOUT_FILENO
50 #define STDOUT_FILENO 1 macro
61 FileOutputStream fout(STDOUT_FILENO);
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dclosed-fds.cc21 close(STDOUT_FILENO);
/external/openssh/openbsd-compat/
H A Ddaemon.c73 (void)dup2(fd, STDOUT_FILENO);
/external/vboot_reference/host/lib/
H A Dhost_signature.c193 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 Dfd_stdout_race.cc21 write(STDOUT_FILENO, "a", 1);
/external/syslinux/com32/include/
H A Dunistd.h37 #define STDOUT_FILENO 1 macro
/external/bison/djgpp/
H A Dsubpipe.c40 #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 Dsgdisk.cc41 int stdout = dup(STDOUT_FILENO);
43 dup2(silence, STDOUT_FILENO);
/external/linux-kselftest/tools/testing/selftests/size/
H A Dget_size.c27 #define STDOUT_FILENO 1 macro
31 return write(STDOUT_FILENO, s, __builtin_strlen(s));
/external/bison/lib/
H A Dspawn-pipe.c99 * 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 D1-3.c75 #define WRITE(str) write(STDOUT_FILENO, str, sizeof(str) - 1)
/external/protobuf/src/google/protobuf/compiler/
H A Dplugin.cc44 #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 Dpty.py16 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 Dtestlib.c35 #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 Dprogressbar.c60 if(isatty(STDOUT_FILENO))
111 tty = isatty(STDOUT_FILENO);
186 if(isatty(STDOUT_FILENO))
/external/selinux/policycoreutils/run_init/
H A Dopen_init_pty.c238 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 Dtst_run_cmd.c67 close(STDOUT_FILENO);
68 dup2(stdout_fd, STDOUT_FILENO);
/external/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite02.c102 ret = write(STDOUT_FILENO, "get wrong signal\n",
105 ret = write(STDOUT_FILENO, "caught SIGXFSZ\n",

Completed in 3718 milliseconds

1234567