Lines Matching refs:Subprocess
158 class Subprocess { class
160 Subprocess(std::string command, const char* terminal_type, SubprocessType type,
162 ~Subprocess();
180 static bool StartThread(std::unique_ptr<Subprocess> subprocess,
213 DISALLOW_COPY_AND_ASSIGN(Subprocess);
216 Subprocess::Subprocess(std::string command, const char* terminal_type, SubprocessType type, in Subprocess() function in __anon0e077fa70111::Subprocess
224 Subprocess::~Subprocess() { in ~Subprocess()
235 bool Subprocess::ForkAndExec(std::string* error) { in ForkAndExec()
423 bool Subprocess::ExecInProcess(Command command, std::string* _Nonnull error) { in ExecInProcess()
463 bool Subprocess::ConnectProtocolEndpoints(std::string* _Nonnull error) { in ConnectProtocolEndpoints()
502 bool Subprocess::StartThread(std::unique_ptr<Subprocess> subprocess, std::string* error) { in StartThread()
503 Subprocess* raw = subprocess.release(); in StartThread()
509 int Subprocess::OpenPtyChildFd(const char* pts_name, unique_fd* error_sfd) { in OpenPtyChildFd()
543 void Subprocess::ThreadHandler(void* userdata) { in ThreadHandler()
544 Subprocess* subprocess = reinterpret_cast<Subprocess*>(userdata); in ThreadHandler()
555 void Subprocess::PassDataStreams() { in PassDataStreams()
599 unique_fd* Subprocess::PollLoop(SubprocessPollfds* pfds) { in PollLoop()
671 unique_fd* Subprocess::PassInput() { in PassInput()
739 unique_fd* Subprocess::PassOutput(unique_fd* sfd, ShellProtocol::Id id) { in PassOutput()
760 void Subprocess::WaitForExit() { in WaitForExit()
859 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartSubprocess()
878 if (!Subprocess::StartThread(std::move(subprocess), &error)) { in StartSubprocess()
894 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartCommandInProcess()
911 if (!Subprocess::StartThread(std::move(subprocess), &error)) { in StartCommandInProcess()