Home
last modified time | relevance | path

Searched refs:stdouterr_pipe (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/base/
Dsubprocess_windows.cc70 s_->stdouterr_pipe = Pipe::Create(); in Start()
72 ::SetHandleInformation(*s_->stdouterr_pipe.wr, HANDLE_FLAG_INHERIT, 1)); in Start()
90 start_info.hStdError = *s_->stdouterr_pipe.wr; in Start()
104 start_info.hStdOutput = *s_->stdouterr_pipe.wr; in Start()
133 s_->stdouterr_pipe.wr.reset(); in Start()
140 s_->stdouterr_pipe.rd.reset(); in Start()
155 PERFETTO_DCHECK(s_->stdouterr_pipe.rd); in Start()
188 ::ReadFile(*s->stdouterr_pipe.rd, buf, sizeof(buf), &rsize, nullptr); in StdoutErrThread()
207 s->stdouterr_pipe.rd.reset(); in StdoutErrThread()
270 stdouterr_complete = !s_->stdouterr_pipe.rd; in Wait()
[all …]
Dsubprocess_posix.cc216 s_->stdouterr_pipe = base::Pipe::Create(base::Pipe::kRdNonBlock); in Start()
217 proc_args.stdouterr_pipe_wr = *s_->stdouterr_pipe.wr; in Start()
225 s_->stdouterr_pipe.rd.reset(); in Start()
237 s_->stdouterr_pipe.wr.reset(); in Start()
297 if (s_->stdouterr_pipe.rd) { in PollInternal()
298 fds[num_fds].fd = *s_->stdouterr_pipe.rd; in PollInternal()
337 while (s_->exit_status_pipe.rd || s_->stdouterr_pipe.rd) { in Wait()
406 if (!s_->stdouterr_pipe.rd) in TryReadStdoutAndErr()
410 PERFETTO_EINTR(read(*s_->stdouterr_pipe.rd, buf, sizeof(buf))); in TryReadStdoutAndErr()
417 s_->stdouterr_pipe.rd.reset(); in TryReadStdoutAndErr()
[all …]
/external/perfetto/include/perfetto/ext/base/
Dsubprocess.h227 base::Pipe stdouterr_pipe; member