Home
last modified time | relevance | path

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

/third_party/gn/src/base/
Dcommand_line.cc61 CommandLine::StringType* switch_string, in IsSwitch() argument
63 switch_string->clear(); in IsSwitch()
70 *switch_string = string.substr(0, equals_position); in IsSwitch()
90 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() local
93 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments()
95 command_line->AppendSwitchNative(UTF16ToASCII(switch_string), in AppendSwitchesAndArguments()
98 command_line->AppendSwitchNative(switch_string, switch_value); in AppendSwitchesAndArguments()
286 bool CommandLine::HasSwitch(std::string_view switch_string) const { in HasSwitch()
287 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in HasSwitch()
288 return ContainsKey(switches_, switch_string); in HasSwitch()
[all …]
Dcommand_line.h167 bool HasSwitch(std::string_view switch_string) const;
173 std::string GetSwitchValueASCII(std::string_view switch_string) const;
174 FilePath GetSwitchValuePath(std::string_view switch_string) const;
175 StringType GetSwitchValueNative(std::string_view switch_string) const;
182 void AppendSwitch(const std::string& switch_string);
183 void AppendSwitchPath(const std::string& switch_string, const FilePath& path);
184 void AppendSwitchNative(const std::string& switch_string,
186 void AppendSwitchASCII(const std::string& switch_string,
/third_party/cef/patch/patches/
Dbase_command_line_1872.patch5 @@ -337,11 +337,10 @@ void CommandLine::AppendSwitchPath(StringPiece switch_string,
7 void CommandLine::AppendSwitchNative(StringPiece switch_string,
10 const std::string switch_key = ToLowerASCII(switch_string);
14 - StringPiece switch_key = switch_string;
/third_party/flutter/engine/flutter/shell/common/
Dswitches.cc156 std::string switch_string; in GetSwitchValue() local
158 if (!command_line.GetOptionValue(FlagForSwitch(sw), &switch_string)) { in GetSwitchValue()
162 std::stringstream stream(switch_string); in GetSwitchValue()