Lines Matching refs:stdout_fd
2457 int stdout_fd = proc->GetStdoutFileDescriptor();
2459 if (stdout_fd == stderr_fd)
2462 while (stdout_fd >= 0 || stderr_fd >= 0) {
2467 if (stdout_fd >= 0)
2468 FD_SET(stdout_fd, &read_fds);
2471 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1;
2506 if (stdout_fd >= 0 && FD_ISSET(stdout_fd, &read_fds)) {
2508 bytes_read = ::read(stdout_fd, s, sizeof(s) - 1);
2512 "read (stdout_fd, ) => %zd errno: %d (%s)",
2518 "read (stdout_fd, ) => %zd (reached EOF for child STDOUT)",
2520 stdout_fd = -1;