Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dsubprocess_windows.cc73 s_->stdouterr_pipe = Pipe::Create(); in Start()
75 ::SetHandleInformation(*s_->stdouterr_pipe.wr, HANDLE_FLAG_INHERIT, 1)); in Start()
94 start_info.hStdError = *s_->stdouterr_pipe.wr; in Start()
108 start_info.hStdOutput = *s_->stdouterr_pipe.wr; in Start()
142 s_->stdouterr_pipe.wr.reset(); in Start()
149 s_->stdouterr_pipe.rd.reset(); in Start()
167 PERFETTO_DCHECK(s_->stdouterr_pipe.rd); in Start()
200 ::ReadFile(*s->stdouterr_pipe.rd, buf, sizeof(buf), &rsize, nullptr); in StdoutErrThread()
219 s->stdouterr_pipe.rd.reset(); in StdoutErrThread()
282 stdouterr_complete = !s_->stdouterr_pipe.rd; in Wait()
[all …]
Dsubprocess_posix.cc235 s_->stdouterr_pipe = base::Pipe::Create(base::Pipe::kRdNonBlock); in Start()
236 proc_args.stdouterr_pipe_wr = *s_->stdouterr_pipe.wr; in Start()
244 s_->stdouterr_pipe.rd.reset(); in Start()
256 s_->stdouterr_pipe.wr.reset(); in Start()
316 if (s_->stdouterr_pipe.rd) { in PollInternal()
317 fds[num_fds].fd = *s_->stdouterr_pipe.rd; in PollInternal()
356 while (s_->exit_status_pipe.rd || s_->stdouterr_pipe.rd) { in Wait()
425 if (!s_->stdouterr_pipe.rd) in TryReadStdoutAndErr()
429 PERFETTO_EINTR(read(*s_->stdouterr_pipe.rd, buf, sizeof(buf))); in TryReadStdoutAndErr()
436 s_->stdouterr_pipe.rd.reset(); in TryReadStdoutAndErr()
[all …]
/external/perfetto/include/perfetto/ext/base/
Dsubprocess.h242 base::Pipe stdouterr_pipe; member