• Home
  • Raw
  • Download

Lines Matching refs:switch_string

57               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()
288 const base::StringPiece& switch_string) const { in GetSwitchValueASCII()
289 StringType value = GetSwitchValueNative(switch_string); in GetSwitchValueASCII()
291 DLOG(WARNING) << "Value of switch (" << switch_string << ") must be ASCII."; in GetSwitchValueASCII()
302 const base::StringPiece& switch_string) const { in GetSwitchValuePath()
303 return FilePath(GetSwitchValueNative(switch_string)); in GetSwitchValuePath()
307 const base::StringPiece& switch_string) const { in GetSwitchValueNative()
308 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in GetSwitchValueNative()
309 auto result = switches_by_stringpiece_.find(switch_string); in GetSwitchValueNative()
314 void CommandLine::AppendSwitch(const std::string& switch_string) { in AppendSwitch() argument
315 AppendSwitchNative(switch_string, StringType()); in AppendSwitch()
318 void CommandLine::AppendSwitchPath(const std::string& switch_string, in AppendSwitchPath() argument
320 AppendSwitchNative(switch_string, path.value()); in AppendSwitchPath()
323 void CommandLine::AppendSwitchNative(const std::string& switch_string, in AppendSwitchNative() argument
326 const std::string switch_key = ToLowerASCII(switch_string); in AppendSwitchNative()
329 const std::string& switch_key = switch_string; in AppendSwitchNative()
347 void CommandLine::AppendSwitchASCII(const std::string& switch_string, in AppendSwitchASCII() argument
350 AppendSwitchNative(switch_string, ASCIIToUTF16(value_string)); in AppendSwitchASCII()
352 AppendSwitchNative(switch_string, value_string); in AppendSwitchASCII()
452 StringType switch_string; in GetArgumentsStringInternal() local
457 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in GetArgumentsStringInternal()
458 params.append(switch_string); in GetArgumentsStringInternal()