Lines Matching refs:shell_command

55                        llvm::StringRef shell_command) {  in PlatformShellCommand()
59 if (!m_shell.empty() && !shell_command.empty()) in PlatformShellCommand()
60 m_command = shell_command.str(); in PlatformShellCommand()
63 PlatformShellCommand(llvm::StringRef shell_command = llvm::StringRef()) { in PlatformShellCommand()
64 if (!shell_command.empty()) in PlatformShellCommand()
65 m_command = shell_command.str(); in PlatformShellCommand()
168 const char *shell_command) in SBPlatformShellCommand() argument
169 : m_opaque_ptr(new PlatformShellCommand(shell_interpreter, shell_command)) { in SBPlatformShellCommand()
170 LLDB_INSTRUMENT_VA(this, shell_interpreter, shell_command); in SBPlatformShellCommand()
173 SBPlatformShellCommand::SBPlatformShellCommand(const char *shell_command) in SBPlatformShellCommand() argument
174 : m_opaque_ptr(new PlatformShellCommand(shell_command)) { in SBPlatformShellCommand()
175 LLDB_INSTRUMENT_VA(this, shell_command); in SBPlatformShellCommand()
230 void SBPlatformShellCommand::SetCommand(const char *shell_command) { in SetCommand() argument
231 LLDB_INSTRUMENT_VA(this, shell_command); in SetCommand()
233 if (shell_command && shell_command[0]) in SetCommand()
234 m_opaque_ptr->m_command = shell_command; in SetCommand()
546 SBError SBPlatform::Run(SBPlatformShellCommand &shell_command) { in Run() argument
547 LLDB_INSTRUMENT_VA(this, shell_command); in Run()
550 const char *command = shell_command.GetCommand(); in Run()
554 if (shell_command.GetWorkingDirectory() == nullptr) { in Run()
558 shell_command.SetWorkingDirectory(platform_working_dir.c_str()); in Run()
561 shell_command.m_opaque_ptr->m_shell, command, in Run()
562 FileSpec(shell_command.GetWorkingDirectory()), in Run()
563 &shell_command.m_opaque_ptr->m_status, in Run()
564 &shell_command.m_opaque_ptr->m_signo, in Run()
565 &shell_command.m_opaque_ptr->m_output, in Run()
566 shell_command.m_opaque_ptr->m_timeout); in Run()