• Home
  • Raw
  • Download

Lines Matching refs:CommandLine

25 CommandLine* CommandLine::current_process_commandline_ = NULL;
29 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
30 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
38 const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"};
41 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
45 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength()
47 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength()
56 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch()
57 CommandLine::StringType* switch_string, in IsSwitch()
58 CommandLine::StringType* switch_value) { in IsSwitch()
67 if (equals_position != CommandLine::StringType::npos) in IsSwitch()
73 void AppendSwitchesAndArguments(CommandLine* command_line, in AppendSwitchesAndArguments()
74 const CommandLine::StringVector& argv) { in AppendSwitchesAndArguments()
77 CommandLine::StringType arg = argv[i]; in AppendSwitchesAndArguments()
84 CommandLine::StringType switch_string; in AppendSwitchesAndArguments()
85 CommandLine::StringType switch_value; in AppendSwitchesAndArguments()
152 CommandLine::CommandLine(NoProgram) : argv_(1), begin_args_(1) {} in CommandLine() function in base::CommandLine
154 CommandLine::CommandLine(const FilePath& program) in CommandLine() function in base::CommandLine
160 CommandLine::CommandLine(int argc, const CommandLine::CharType* const* argv) in CommandLine() function in base::CommandLine
166 CommandLine::CommandLine(const StringVector& argv) in CommandLine() function in base::CommandLine
172 CommandLine::CommandLine(const CommandLine& other) in CommandLine() function in base::CommandLine
179 CommandLine& CommandLine::operator=(const CommandLine& other) { in operator =()
187 CommandLine::~CommandLine() { in ~CommandLine()
192 void CommandLine::set_slash_is_not_a_switch() { in set_slash_is_not_a_switch()
199 void CommandLine::InitUsingArgvForTesting(int argc, const char* const* argv) { in InitUsingArgvForTesting()
201 current_process_commandline_ = new CommandLine(NO_PROGRAM); in InitUsingArgvForTesting()
203 base::CommandLine::StringVector argv_vector; in InitUsingArgvForTesting()
211 bool CommandLine::Init(int argc, const char* const* argv) { in Init()
219 current_process_commandline_ = new CommandLine(NO_PROGRAM); in Init()
230 void CommandLine::Reset() { in Reset()
237 CommandLine* CommandLine::ForCurrentProcess() { in ForCurrentProcess()
243 bool CommandLine::InitializedForCurrentProcess() { in InitializedForCurrentProcess()
249 CommandLine CommandLine::FromString(const string16& command_line) { in FromString()
250 CommandLine cmd(NO_PROGRAM); in FromString()
256 void CommandLine::InitFromArgv(int argc, in InitFromArgv()
257 const CommandLine::CharType* const* argv) { in InitFromArgv()
264 void CommandLine::InitFromArgv(const StringVector& argv) { in InitFromArgv()
273 FilePath CommandLine::GetProgram() const { in GetProgram()
277 void CommandLine::SetProgram(const FilePath& program) { in SetProgram()
285 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch()
291 bool CommandLine::HasSwitch(const char switch_constant[]) const { in HasSwitch()
295 std::string CommandLine::GetSwitchValueASCII( in GetSwitchValueASCII()
309 FilePath CommandLine::GetSwitchValuePath( in GetSwitchValuePath()
314 CommandLine::StringType CommandLine::GetSwitchValueNative( in GetSwitchValueNative()
322 void CommandLine::AppendSwitch(const std::string& switch_string) { in AppendSwitch()
326 void CommandLine::AppendSwitchPath(const std::string& switch_string, in AppendSwitchPath()
331 void CommandLine::AppendSwitchNative(const std::string& switch_string, in AppendSwitchNative()
332 const CommandLine::StringType& value) { in AppendSwitchNative()
355 void CommandLine::AppendSwitchASCII(const std::string& switch_string, in AppendSwitchASCII()
364 void CommandLine::CopySwitchesFrom(const CommandLine& source, in CopySwitchesFrom()
373 CommandLine::StringVector CommandLine::GetArgs() const { in GetArgs()
384 void CommandLine::AppendArg(const std::string& value) { in AppendArg()
393 void CommandLine::AppendArgPath(const FilePath& path) { in AppendArgPath()
397 void CommandLine::AppendArgNative(const CommandLine::StringType& value) { in AppendArgNative()
401 void CommandLine::AppendArguments(const CommandLine& other, in AppendArguments()
408 void CommandLine::PrependWrapper(const CommandLine::StringType& wrapper) { in PrependWrapper()
422 void CommandLine::ParseFromString(const string16& command_line) { in ParseFromString()
439 CommandLine::StringType CommandLine::GetCommandLineStringInternal( in GetCommandLineStringInternal()
453 CommandLine::StringType CommandLine::GetArgumentsStringInternal( in GetArgumentsStringInternal()
487 void CommandLine::ResetStringPieces() { in ResetStringPieces()