Searched refs:protocol_sfd_ (Results 1 – 1 of 1) sorted by relevance
183 unique_fd stdinout_sfd_, stderr_sfd_, protocol_sfd_; member in __anonfc43d0fa0111::Subprocess357 if (!CreateSocketpair(&protocol_sfd_, &local_socket_sfd_)) { in ForkAndExec()363 D("protocol FD = %d", protocol_sfd_.get()); in ForkAndExec()365 input_.reset(new ShellProtocol(protocol_sfd_)); in ForkAndExec()366 output_.reset(new ShellProtocol(protocol_sfd_)); in ForkAndExec()453 if (protocol_sfd_ == -1) { in PassDataStreams()461 for (unique_fd* sfd : {&protocol_sfd_, &stdinout_sfd_, &stderr_sfd_}) { in PassDataStreams()469 while (protocol_sfd_ != -1 && (stdinout_sfd_ != -1 || stderr_sfd_ != -1)) { in PassDataStreams()475 if (dead_sfd == &protocol_sfd_) { in PassDataStreams()505 int select_n = std::max(std::max(protocol_sfd_, stdinout_sfd_), stderr_sfd_) + 1; in SelectLoop()[all …]