Searched defs:switch_string (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/android/
H A Dchrome_startup_flags.cc21 void SetCommandLineSwitch(const std::string& switch_string) { argument
23 if (!command_line->HasSwitch(switch_string))
24 command_line->AppendSwitch(switch_string);
27 void SetCommandLineSwitchASCII(const std::string& switch_string, argument
30 if (!command_line->HasSwitch(switch_string))
31 command_line->AppendSwitchASCII(switch_string, value);
/external/chromium_org/chrome/service/cloud_print/
H A Dcloud_print_proxy.cc27 void LaunchBrowserProcessWithSwitch(const std::string& switch_string) { argument
42 cmd_line.AppendSwitch(switch_string);
/external/chromium/base/
H A Dcommand_line.cc91 // Returns true and fills in |switch_string| and |switch_value| if
94 std::string* switch_string,
96 switch_string->clear();
116 *switch_string = WideToASCII(switch_native);
117 Lowercase(switch_string);
119 *switch_string = switch_native;
218 std::string switch_string; local
220 if (IsSwitch(arg, &switch_string, &switch_value)) {
221 switches_[switch_string] = switch_value;
246 bool CommandLine::HasSwitch(const std::string& switch_string) cons
93 IsSwitch(const CommandLine::StringType& parameter_string, std::string* switch_string, CommandLine::StringType* switch_value) argument
293 AppendSwitch(const std::string& switch_string) argument
304 AppendSwitchPath(const std::string& switch_string, const FilePath& path) argument
309 AppendSwitchNative(const std::string& switch_string, const CommandLine::StringType& value) argument
330 AppendSwitchASCII(const std::string& switch_string, const std::string& value_string) argument
468 std::string switch_string; local
[all...]
/external/chromium_org/base/
H A Dcommand_line.cc53 // Fills in |switch_string| and |switch_value| if |string| is a switch.
54 // This will preserve the input switch prefix in the output |switch_string|.
56 CommandLine::StringType* switch_string,
58 switch_string->clear();
65 *switch_string = string.substr(0, equals_position);
79 CommandLine::StringType switch_string; local
82 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) {
84 command_line.AppendSwitchNative(WideToASCII(switch_string), switch_value);
86 command_line.AppendSwitchNative(switch_string, switch_value);
267 StringType switch_string; local
55 IsSwitch(const CommandLine::StringType& string, CommandLine::StringType* switch_string, CommandLine::StringType* switch_value) argument
329 AppendSwitch(const std::string& switch_string) argument
333 AppendSwitchPath(const std::string& switch_string, const FilePath& path) argument
338 AppendSwitchNative(const std::string& switch_string, const CommandLine::StringType& value) argument
357 AppendSwitchASCII(const std::string& switch_string, const std::string& value_string) argument
[all...]
/external/chromium_org/content/renderer/gpu/
H A Drender_widget_compositor.cc53 const std::string& switch_string,
57 std::string string_value = command_line.GetSwitchValueASCII(switch_string);
64 LOG(WARNING) << "Failed to parse switch " << switch_string << ": " <<
51 GetSwitchValueAsInt( const CommandLine& command_line, const std::string& switch_string, int min_value, int max_value, int* result) argument

Completed in 201 milliseconds