Lines Matching refs:Subprocess
137 class Subprocess { class
139 Subprocess(const std::string& command, const char* terminal_type,
141 ~Subprocess();
155 static bool StartThread(std::unique_ptr<Subprocess> subprocess,
187 DISALLOW_COPY_AND_ASSIGN(Subprocess);
190 Subprocess::Subprocess(const std::string& command, const char* terminal_type, in Subprocess() function in __anonfc43d0fa0111::Subprocess
210 Subprocess::~Subprocess() { in ~Subprocess()
214 bool Subprocess::ForkAndExec(std::string* error) { in ForkAndExec()
393 bool Subprocess::StartThread(std::unique_ptr<Subprocess> subprocess, std::string* error) { in StartThread()
394 Subprocess* raw = subprocess.release(); in StartThread()
405 int Subprocess::OpenPtyChildFd(const char* pts_name, unique_fd* error_sfd) { in OpenPtyChildFd()
439 void Subprocess::ThreadHandler(void* userdata) { in ThreadHandler()
440 Subprocess* subprocess = reinterpret_cast<Subprocess*>(userdata); in ThreadHandler()
452 void Subprocess::PassDataStreams() { in PassDataStreams()
502 unique_fd* Subprocess::SelectLoop(fd_set* master_read_set_ptr, in SelectLoop()
557 unique_fd* Subprocess::PassInput() { in PassInput()
626 unique_fd* Subprocess::PassOutput(unique_fd* sfd, ShellProtocol::Id id) { in PassOutput()
647 void Subprocess::WaitForExit() { in WaitForExit()
738 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); in StartSubprocess()
754 if (!Subprocess::StartThread(std::move(subprocess), &error)) { in StartSubprocess()