Searched refs:stdout_fd (Results 1 – 5 of 5) sorted by relevance
/aosp12/system/update_engine/common/ |
H A D | subprocess.cc | 126 record->stdout_fd, buf, base::size(buf), &bytes_read, &eof); in OnStdoutReady() 193 record->stdout_fd = record->proc.GetPipe(STDOUT_FILENO); in ExecFlags() 195 int fd_flags = fcntl(record->stdout_fd, F_GETFL, 0) | O_NONBLOCK; in ExecFlags() 196 if (HANDLE_EINTR(fcntl(record->stdout_fd, F_SETFL, fd_flags)) < 0) { in ExecFlags() 198 << record->stdout_fd << "."; in ExecFlags() 202 record->stdout_fd, in ExecFlags() 259 int stdout_fd = proc.GetPipe(STDOUT_FILENO); in SynchronousExecFlags() local 265 int rc = HANDLE_EINTR(read(stdout_fd, buffer.data(), buffer.size())); in SynchronousExecFlags()
|
H A D | subprocess.h | 133 int stdout_fd{-1};
|
/aosp12/system/extras/simpleperf/app_api/cpp/ |
H A D | simpleperf.cpp | 300 int stdout_fd[2]; in RunCmd() local 301 if (pipe(stdout_fd) != 0) { in RunCmd() 313 close(stdout_fd[0]); in RunCmd() 314 dup2(stdout_fd[1], 1); in RunCmd() 315 close(stdout_fd[1]); in RunCmd() 320 close(stdout_fd[1]); in RunCmd() 330 close(stdout_fd[0]); in RunCmd() 332 *stdout = ReadFile(fdopen(stdout_fd[0], "r")); in RunCmd()
|
/aosp12/system/extras/simpleperf/scripts/test/ |
H A D | test_utils.py | 163 stdout_fd = subprocess.PIPE 166 stdout_fd = subprocess.DEVNULL 168 stdout_fd = None 170 subproc = subprocess.Popen(args, stdout=stdout_fd,
|
/aosp12/packages/modules/Virtualization/vm/src/ |
H A D | run.rs | 105 let stdout_fd = io::stdout().as_raw_fd(); in duplicate_stdout() localVariable 108 let dup_fd = unsafe { libc::dup(stdout_fd) }; in duplicate_stdout()
|