Home
last modified time | relevance | path

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

/external/libchrome/base/
Dcommand_line.cc57 CommandLine::StringType* switch_string, in IsSwitch() argument
59 switch_string->clear(); in IsSwitch()
66 *switch_string = string.substr(0, equals_position); in IsSwitch()
84 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() local
87 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments()
89 command_line->AppendSwitchNative(UTF16ToASCII(switch_string), in AppendSwitchesAndArguments()
92 command_line->AppendSwitchNative(switch_string, switch_value); in AppendSwitchesAndArguments()
277 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch()
278 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in HasSwitch()
279 return switches_by_stringpiece_.find(switch_string) != in HasSwitch()
[all …]
Dcommand_line.h155 bool HasSwitch(const base::StringPiece& switch_string) const;
161 std::string GetSwitchValueASCII(const base::StringPiece& switch_string) const;
162 FilePath GetSwitchValuePath(const base::StringPiece& switch_string) const;
163 StringType GetSwitchValueNative(const base::StringPiece& switch_string) const;
170 void AppendSwitch(const std::string& switch_string);
171 void AppendSwitchPath(const std::string& switch_string,
173 void AppendSwitchNative(const std::string& switch_string,
175 void AppendSwitchASCII(const std::string& switch_string,