Searched refs:switch_string (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/ |
D | command_line.cc | 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() [all …]
|
D | command_line.h | 162 bool HasSwitch(const StringPiece& switch_string) const; 168 std::string GetSwitchValueASCII(const StringPiece& switch_string) const; 169 FilePath GetSwitchValuePath(const StringPiece& switch_string) const; 170 StringType GetSwitchValueNative(const StringPiece& switch_string) const; 177 void AppendSwitch(const std::string& switch_string); 178 void AppendSwitchPath(const std::string& switch_string, 180 void AppendSwitchNative(const std::string& switch_string, 182 void AppendSwitchASCII(const std::string& switch_string,
|
/external/libchrome/base/android/ |
D | command_line_android.cc | 39 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in JNI_CommandLine_HasSwitch() local 40 return CommandLine::ForCurrentProcess()->HasSwitch(switch_string); in JNI_CommandLine_HasSwitch() 47 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in JNI_CommandLine_GetSwitchValue() local 49 switch_string)); in JNI_CommandLine_GetSwitchValue() 58 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in JNI_CommandLine_AppendSwitch() local 59 CommandLine::ForCurrentProcess()->AppendSwitch(switch_string); in JNI_CommandLine_AppendSwitch() 67 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in JNI_CommandLine_AppendSwitchWithValue() local 69 CommandLine::ForCurrentProcess()->AppendSwitchASCII(switch_string, in JNI_CommandLine_AppendSwitchWithValue()
|
/external/libchrome/mojo/core/test/ |
D | multiprocess_test_helper.cc | 83 const std::string& switch_string, in StartChildWithExtraSwitch() argument 132 if (!switch_string.empty()) { in StartChildWithExtraSwitch() 133 CHECK(!command_line.HasSwitch(switch_string)); in StartChildWithExtraSwitch() 135 command_line.AppendSwitchASCII(switch_string, switch_value); in StartChildWithExtraSwitch() 137 command_line.AppendSwitch(switch_string); in StartChildWithExtraSwitch()
|
D | multiprocess_test_helper.h | 60 const std::string& switch_string,
|
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 3022 std::string switch_string = command_line->GetSwitchValueASCII("sync_event"); in MULTIPROCESS_TEST_MAIN() local 3023 EXPECT_FALSE(switch_string.empty()); in MULTIPROCESS_TEST_MAIN() 3025 EXPECT_TRUE(StringToUint(switch_string, &switch_uint)); in MULTIPROCESS_TEST_MAIN() 3049 std::string switch_string = command_line->GetSwitchValueASCII("sync_event"); in MULTIPROCESS_TEST_MAIN() local 3050 EXPECT_FALSE(switch_string.empty()); in MULTIPROCESS_TEST_MAIN() 3052 EXPECT_TRUE(StringToUint(switch_string, &switch_uint)); in MULTIPROCESS_TEST_MAIN()
|