• Home
  • Raw
  • Download

Lines Matching refs:switch_string

59               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()
293 const base::StringPiece& switch_string) const { in GetSwitchValueASCII()
294 StringType value = GetSwitchValueNative(switch_string); in GetSwitchValueASCII()
296 DLOG(WARNING) << "Value of switch (" << switch_string << ") must be ASCII."; in GetSwitchValueASCII()
307 const base::StringPiece& switch_string) const { in GetSwitchValuePath()
308 return FilePath(GetSwitchValueNative(switch_string)); in GetSwitchValuePath()
312 const base::StringPiece& switch_string) const { in GetSwitchValueNative()
313 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in GetSwitchValueNative()
314 auto result = switches_.find(switch_string); in GetSwitchValueNative()
318 void CommandLine::AppendSwitch(const std::string& switch_string) { in AppendSwitch() argument
319 AppendSwitchNative(switch_string, StringType()); in AppendSwitch()
322 void CommandLine::AppendSwitchPath(const std::string& switch_string, in AppendSwitchPath() argument
324 AppendSwitchNative(switch_string, path.value()); in AppendSwitchPath()
327 void CommandLine::AppendSwitchNative(const std::string& switch_string, in AppendSwitchNative() argument
330 const std::string switch_key = ToLowerASCII(switch_string); in AppendSwitchNative()
333 const std::string& switch_key = switch_string; in AppendSwitchNative()
350 void CommandLine::AppendSwitchASCII(const std::string& switch_string, in AppendSwitchASCII() argument
353 AppendSwitchNative(switch_string, ASCIIToUTF16(value_string)); in AppendSwitchASCII()
355 AppendSwitchNative(switch_string, value_string); in AppendSwitchASCII()
463 StringType switch_string; in GetArgumentsStringInternal() local
468 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in GetArgumentsStringInternal()
469 params.append(switch_string); in GetArgumentsStringInternal()