Home
last modified time | relevance | path

Searched refs:stdout_fd (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/common/
Dsubprocess.cc131 record->stdout_fd, buf, base::size(buf), &bytes_read, &eof); in OnStdoutReady()
200 record->stdout_fd = record->proc.GetPipe(STDOUT_FILENO); in ExecFlags()
202 int fd_flags = fcntl(record->stdout_fd, F_GETFL, 0) | O_NONBLOCK; in ExecFlags()
203 if (HANDLE_EINTR(fcntl(record->stdout_fd, F_SETFL, fd_flags)) < 0) { in ExecFlags()
205 << record->stdout_fd << "."; in ExecFlags()
209 record->stdout_fd, in ExecFlags()
300 int stdout_fd = proc.GetPipe(STDOUT_FILENO); in SynchronousExecFlags() local
306 int rc = HANDLE_EINTR(read(stdout_fd, buffer.data(), buffer.size())); in SynchronousExecFlags()
Dsubprocess.h133 int stdout_fd{-1};
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp301 int stdout_fd[2]; in RunCmd() local
302 if (pipe(stdout_fd) != 0) { in RunCmd()
314 close(stdout_fd[0]); in RunCmd()
315 dup2(stdout_fd[1], 1); in RunCmd()
316 close(stdout_fd[1]); in RunCmd()
321 close(stdout_fd[1]); in RunCmd()
331 close(stdout_fd[0]); in RunCmd()
333 *stdout = ReadFile(fdopen(stdout_fd[0], "r")); in RunCmd()
/system/extras/simpleperf/scripts/test/
Dtest_utils.py174 stdout_fd = subprocess.PIPE
177 stdout_fd = subprocess.DEVNULL
179 stdout_fd = None
181 subproc = subprocess.Popen(args, stdout=stdout_fd,