Home
last modified time | relevance | path

Searched refs:switch_string (Results 1 – 5 of 5) 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()
285 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch()
286 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in HasSwitch()
287 return switches_by_stringpiece_.find(switch_string) != in HasSwitch()
[all …]
Dcommand_line.h163 bool HasSwitch(const StringPiece& switch_string) const;
169 std::string GetSwitchValueASCII(const StringPiece& switch_string) const;
170 FilePath GetSwitchValuePath(const StringPiece& switch_string) const;
171 StringType GetSwitchValueNative(const StringPiece& switch_string) const;
178 void AppendSwitch(const std::string& switch_string);
179 void AppendSwitchPath(const std::string& switch_string,
181 void AppendSwitchNative(const std::string& switch_string,
183 void AppendSwitchASCII(const std::string& switch_string,
/external/libmojo/base/android/
Dcommand_line_android.cc41 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in HasSwitch() local
42 return CommandLine::ForCurrentProcess()->HasSwitch(switch_string); in HasSwitch()
49 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in GetSwitchValue() local
51 switch_string)); in GetSwitchValue()
60 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in AppendSwitch() local
61 CommandLine::ForCurrentProcess()->AppendSwitch(switch_string); in AppendSwitch()
68 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in AppendSwitchWithValue() local
70 CommandLine::ForCurrentProcess()->AppendSwitchASCII(switch_string, in AppendSwitchWithValue()
/external/libmojo/mojo/edk/test/
Dmultiprocess_test_helper.cc65 const std::string& switch_string, in StartChildWithExtraSwitch() argument
98 if (!switch_string.empty()) { in StartChildWithExtraSwitch()
99 CHECK(!command_line.HasSwitch(switch_string)); in StartChildWithExtraSwitch()
101 command_line.AppendSwitchASCII(switch_string, switch_value); in StartChildWithExtraSwitch()
103 command_line.AppendSwitch(switch_string); in StartChildWithExtraSwitch()
Dmultiprocess_test_helper.h43 const std::string& switch_string,