Lines Matching refs:CommandLine
16 CommandLine* CommandLine::current_process_commandline_ = nullptr;
20 const CommandLine::CharType kSwitchTerminator[] = "--";
21 const CommandLine::CharType kSwitchValueSeparator[] = "=";
26 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
57 void AppendSwitchesAndArguments(CommandLine& command_line, in AppendSwitchesAndArguments()
58 const CommandLine::StringVector& argv) { in AppendSwitchesAndArguments()
77 CommandLine::CommandLine() in CommandLine() function in gestures::CommandLine
81 CommandLine::~CommandLine() {} in ~CommandLine()
84 bool CommandLine::Init(int argc, const char* const* argv) { in Init()
92 current_process_commandline_ = new CommandLine(); in Init()
98 void CommandLine::Reset() { in Reset()
104 CommandLine* CommandLine::ForCurrentProcess() { in ForCurrentProcess()
113 void CommandLine::InitFromArgv(int argc, in InitFromArgv()
114 const CommandLine::CharType* const* argv) { in InitFromArgv()
121 void CommandLine::InitFromArgv(const StringVector& argv) { in InitFromArgv()
129 std::string CommandLine::GetProgram() const { in GetProgram()
133 void CommandLine::SetProgram(const std::string& program) { in SetProgram()
137 bool CommandLine::HasSwitch(const std::string& switch_string) const { in HasSwitch()
141 std::string CommandLine::GetSwitchValueASCII( in GetSwitchValueASCII()
148 void CommandLine::AppendSwitch(const std::string& switch_string) { in AppendSwitch()
152 void CommandLine::AppendSwitchASCII(const std::string& switch_string, in AppendSwitchASCII()
167 CommandLine::StringVector CommandLine::GetArgs() const { in GetArgs()
178 void CommandLine::AppendArgASCII(const std::string& value) { in AppendArgASCII()