Lines Matching refs:ShellProtocol
198 unique_fd* PassOutput(unique_fd* sfd, ShellProtocol::Id id);
210 std::unique_ptr<ShellProtocol> input_, output_;
477 input_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
478 output_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
620 dead_sfd = PassOutput(&stdinout_sfd_, ShellProtocol::kIdStdout); in PollLoop()
625 dead_sfd = PassOutput(&stderr_sfd_, ShellProtocol::kIdStderr); in PollLoop()
684 case ShellProtocol::kIdWindowSizeChange: in PassInput()
696 case ShellProtocol::kIdStdin: in PassInput()
699 case ShellProtocol::kIdCloseStdin: in PassInput()
739 unique_fd* Subprocess::PassOutput(unique_fd* sfd, ShellProtocol::Id id) { in PassOutput()
786 if (output_->Write(ShellProtocol::kIdExit, 1)) { in WaitForExit()
807 ShellProtocol::Id id = ShellProtocol::kIdStderr; in ReportError()
816 ShellProtocol::Id id = ShellProtocol::kIdExit; in ReportError()