Home
last modified time | relevance | path

Searched refs:switch_string (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dcommand_line.cc59 CommandLine::StringType* switch_string, in IsSwitch() argument
61 switch_string->clear(); in IsSwitch()
68 *switch_string = string.substr(0, equals_position); in IsSwitch()
86 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() local
89 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments()
91 command_line->AppendSwitchNative(UTF16ToASCII(switch_string), in AppendSwitchesAndArguments()
94 command_line->AppendSwitchNative(switch_string, switch_value); in AppendSwitchesAndArguments()
283 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch()
284 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in HasSwitch()
285 return ContainsKey(switches_, switch_string); in HasSwitch()
[all …]
Dcommand_line.h162 bool HasSwitch(const StringPiece& switch_string) const;
168 std::string GetSwitchValueASCII(const StringPiece& switch_string) const;
169 FilePath GetSwitchValuePath(const StringPiece& switch_string) const;
170 StringType GetSwitchValueNative(const StringPiece& switch_string) const;
177 void AppendSwitch(const std::string& switch_string);
178 void AppendSwitchPath(const std::string& switch_string,
180 void AppendSwitchNative(const std::string& switch_string,
182 void AppendSwitchASCII(const std::string& switch_string,
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc83 const std::string& switch_string, in StartChildWithExtraSwitch() argument
132 if (!switch_string.empty()) { in StartChildWithExtraSwitch()
133 CHECK(!command_line.HasSwitch(switch_string)); in StartChildWithExtraSwitch()
135 command_line.AppendSwitchASCII(switch_string, switch_value); in StartChildWithExtraSwitch()
137 command_line.AppendSwitch(switch_string); in StartChildWithExtraSwitch()
Dmultiprocess_test_helper.h60 const std::string& switch_string,