Home
last modified time | relevance | path

Searched refs:STDOUT_FILENO (Results 1 – 25 of 107) sorted by relevance

12345

/external/bison/djgpp/
Dsubpipe.c40 #ifndef STDOUT_FILENO
41 # define STDOUT_FILENO 1 macro
129 old_stdout = dup(STDOUT_FILENO); in create_subpipe()
154 if (dup2(from_in_fd, STDOUT_FILENO) < 0) in create_subpipe()
162 fd[0] = STDOUT_FILENO; in create_subpipe()
214 if (dup2(to_in_fd, STDOUT_FILENO) < 0) in end_of_output_subpipe()
233 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); in end_of_output_subpipe()
239 remove_tmp_file(STDOUT_FILENO, tmp_file_name[1]); in end_of_output_subpipe()
251 if (dup2(old_stdout, STDOUT_FILENO) < 0) in end_of_output_subpipe()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.cc44 #ifndef STDOUT_FILENO
45 #define STDOUT_FILENO 1 macro
97 _setmode(STDOUT_FILENO, _O_BINARY); in PluginMain()
142 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) { in PluginMain()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.cc44 #ifndef STDOUT_FILENO
45 #define STDOUT_FILENO 1 macro
104 _setmode(STDOUT_FILENO, _O_BINARY); in PluginMain()
153 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) { in PluginMain()
/external/bison/lib/
Dspawn-pipe.c157 orig_stdout = dup_safer_noinherit (STDOUT_FILENO); in create_pipe()
167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0) in create_pipe()
182 && (stdoutfd == STDOUT_FILENO in create_pipe()
183 || (dup2 (stdoutfd, STDOUT_FILENO) >= 0 in create_pipe()
222 undup_safer_noinherit (orig_stdout, STDOUT_FILENO); in create_pipe()
292 ifd[1], STDOUT_FILENO)) in create_pipe()
322 STDOUT_FILENO, in create_pipe()
/external/valgrind/main/drd/tests/
Dpth_detached_sem.c28 write(STDOUT_FILENO, ".", 1); in thread_func1()
36 write(STDOUT_FILENO, ".", 1); in thread_func2()
84 write(STDOUT_FILENO, "\n", 1); in main()
Dpth_detached.c24 write(STDOUT_FILENO, ".", 1); in thread_func1()
32 write(STDOUT_FILENO, ".", 1); in thread_func2()
82 write(STDOUT_FILENO, "\n", 1); in main()
Dlinuxthreads_det.c18 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()
Dpth_barrier_thr_cr.c20 write(STDOUT_FILENO, ".", 1); in thread()
54 write(STDOUT_FILENO, "\n", 1); in main()
Dsigalrm.c37 write(STDOUT_FILENO, msg, strlen(msg)); in print_thread_id()
/external/lldb/tools/debugserver/source/
DPseudoTerminal.cpp214 if (::dup2 (m_slave_fd, STDOUT_FILENO) != STDOUT_FILENO) in Fork()
/external/lldb/source/Utility/
DSharingPtr.cpp63 ::backtrace_symbols_fd (m_frames.data(), m_frames.size(), STDOUT_FILENO); in Dump()
64 write (STDOUT_FILENO, "\n\n", 2); in Dump()
DPseudoTerminal.cpp257 if (::dup2 (m_slave_fd, STDOUT_FILENO) != STDOUT_FILENO) in Fork()
/external/llvm/tools/lli/Unix/
DRPCChannel.inc57 if (PipeFD[1][1] != STDOUT_FILENO) {
58 dup2(PipeFD[1][1], STDOUT_FILENO);
83 ConnectionData = (void *)new ConnectionData_t(STDIN_FILENO, STDOUT_FILENO);
/external/llvm/lib/Support/
Draw_ostream.cpp51 #ifndef STDOUT_FILENO
52 # define STDOUT_FILENO 1 macro
443 FD = STDOUT_FILENO; in raw_fd_ostream()
475 if (fd == STDOUT_FILENO) in raw_fd_ostream()
665 static raw_fd_ostream S(STDOUT_FILENO, true); in outs()
/external/chromium_org/testing/android/
Dnative_test_launcher.cc63 write(STDOUT_FILENO, kCrashedMarker, sizeof(kCrashedMarker)); in SignalHandler()
175 dup2(STDOUT_FILENO, STDERR_FILENO); in RunTests()
/external/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc67 int err = write(STDOUT_FILENO, inptr, inlen); in main()
Dzcgzip.cc54 FileOutputStream fout(STDOUT_FILENO); in main()
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc67 int err = write(STDOUT_FILENO, inptr, inlen); in main()
Dzcgzip.cc54 FileOutputStream fout(STDOUT_FILENO); in main()
/external/compiler-rt/test/tsan/
Dfd_stdout_race.cc23 write(STDOUT_FILENO, "a", 1); in Thread2()
/external/chromium_org/tools/android/file_poller/
Dfile_poller.cc127 close(STDOUT_FILENO); in poll_content()
179 transfer_to_fd(sockfd, STDOUT_FILENO); in content_collection()
/external/chromium_org/tools/android/forwarder2/
Ddaemon.cc191 CloseFD(STDOUT_FILENO); in SpawnIfNeeded()
195 CHECK_EQ(dup(null_fd), STDOUT_FILENO); in SpawnIfNeeded()
/external/chromium_org/base/process/
Dlaunch_posix.cc226 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
256 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
567 fd_shuffle1.push_back(InjectionArc(pipe_fd[1], STDOUT_FILENO, true)); in GetAppOutputInternal()
/external/qemu/distrib/libsparse/src/
Dimg2simg.c80 out = STDOUT_FILENO; in main()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dtrace-event-read.c56 int retw = write(STDOUT_FILENO, buf, ret); in __do_read()
139 int retw = write(STDOUT_FILENO, &c, 1); in read_string()

12345