Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dsubprocess_windows.cc162 size_t input_written = 0; in StdinThread() local
163 while (input_written < input.size()) { in StdinThread()
165 if (::WriteFile(*s->stdin_pipe.wr, input.data() + input_written, in StdinThread()
166 static_cast<DWORD>(input.size() - input_written), &wsize, in StdinThread()
168 input_written += wsize; in StdinThread()
Dsubprocess_posix.cc383 PERFETTO_DCHECK(args.input.empty() || s_->input_written < args.input.size()); in TryPushStdin()
386 PERFETTO_EINTR(write(*s_->stdin_pipe.wr, &args.input[s_->input_written], in TryPushStdin()
387 args.input.size() - s_->input_written)); in TryPushStdin()
394 s_->input_written += static_cast<size_t>(wsize); in TryPushStdin()
400 PERFETTO_DCHECK(s_->input_written <= args.input.size()); in TryPushStdin()
401 if (s_->input_written == args.input.size()) in TryPushStdin()
/external/perfetto/include/perfetto/ext/base/
Dsubprocess.h245 size_t input_written = 0; member