/external/libchrome/base/ |
D | command_line_unittest.cc | 53 EXPECT_FALSE(cl.HasSwitch("cruller")); in TEST() 54 EXPECT_FALSE(cl.HasSwitch("flim")); in TEST() 55 EXPECT_FALSE(cl.HasSwitch("program")); in TEST() 56 EXPECT_FALSE(cl.HasSwitch("dog")); in TEST() 57 EXPECT_FALSE(cl.HasSwitch("cat")); in TEST() 58 EXPECT_FALSE(cl.HasSwitch("output-rotation")); in TEST() 59 EXPECT_FALSE(cl.HasSwitch("not-a-switch")); in TEST() 60 EXPECT_FALSE(cl.HasSwitch("--")); in TEST() 65 EXPECT_TRUE(cl.HasSwitch("foo")); in TEST() 67 EXPECT_TRUE(cl.HasSwitch("bar")); in TEST() [all …]
|
D | sys_info.cc | 23 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfPhysicalMemory() 33 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfAvailablePhysicalMemory() 48 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in IsLowEndDevice() 60 if (command_line->HasSwitch(switches::kEnableLowEndDeviceMode)) in DetectLowEndDevice() 62 if (command_line->HasSwitch(switches::kDisableLowEndDeviceMode)) in DetectLowEndDevice()
|
D | command_line.h | 162 bool HasSwitch(const StringPiece& switch_string) const; 163 bool HasSwitch(const char switch_constant[]) const;
|
D | command_line.cc | 283 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch() function in base::CommandLine 288 bool CommandLine::HasSwitch(const char switch_constant[]) const { in HasSwitch() function in base::CommandLine 289 return HasSwitch(base::StringPiece(switch_constant)); in HasSwitch() 365 if (source.HasSwitch(switches[i])) in CopySwitchesFrom()
|
D | logging.cc | 414 if (command_line->HasSwitch(switches::kV) || in BaseInitLoggingImpl() 415 command_line->HasSwitch(switches::kVModule)) { in BaseInitLoggingImpl()
|
D | feature_list.cc | 272 base::CommandLine::ForCurrentProcess()->HasSwitch( in SetInstance()
|
/external/libchrome/base/test/launcher/ |
D | test_launcher.cc | 237 return CommandLine::ForCurrentProcess()->HasSwitch( in BotModeEnabled() 647 if (CommandLine::ForCurrentProcess()->HasSwitch( in OnTestFinished() 839 if (command_line->HasSwitch(switches::kTestLauncherTotalShards) && in Init() 840 command_line->HasSwitch(switches::kTestLauncherShardIndex)) { in Init() 884 if (command_line->HasSwitch(kGTestRepeatFlag) && in Init() 891 if (command_line->HasSwitch(switches::kTestLauncherRetryLimit)) { in Init() 901 } else if (!command_line->HasSwitch(kGTestFilterFlag) || BotModeEnabled()) { in Init() 907 if (command_line->HasSwitch(switches::kTestLauncherForceRunBrokenTests)) in Init() 915 if (command_line->HasSwitch(kGTestShuffleFlag)) { in Init() 918 if (command_line->HasSwitch(kGTestRandomSeedFlag)) { in Init() [all …]
|
D | unit_test_launcher.cc | 181 if (!CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) in GetSwitchValueAsInt() 204 if (CommandLine::ForCurrentProcess()->HasSwitch( in LaunchUnitTestsInternal() 219 if (CommandLine::ForCurrentProcess()->HasSwitch(kGTestHelpFlag) || in LaunchUnitTestsInternal() 220 CommandLine::ForCurrentProcess()->HasSwitch(kGTestListTestsFlag) || in LaunchUnitTestsInternal() 221 CommandLine::ForCurrentProcess()->HasSwitch(kSingleProcessTestsFlag) || in LaunchUnitTestsInternal() 222 CommandLine::ForCurrentProcess()->HasSwitch( in LaunchUnitTestsInternal() 229 if (CommandLine::ForCurrentProcess()->HasSwitch(kHelpFlag)) { in LaunchUnitTestsInternal()
|
/external/libchrome/libchrome_tools/patch/ |
D | logging.patch | 21 - if (command_line->HasSwitch(switches::kV) || 22 - command_line->HasSwitch(switches::kVModule)) { 37 + if (command_line->HasSwitch(switches::kV) || 38 + command_line->HasSwitch(switches::kVModule)) {
|
/external/libchrome/base/test/ |
D | test_timeouts.cc | 27 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout() 98 base::CommandLine::ForCurrentProcess()->HasSwitch( in Initialize()
|
D | trace_to_file.cc | 30 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kTraceToFile)) in BeginTracingFromCommandLineOptions() 39 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTraceToFileName)) { in BeginTracingFromCommandLineOptions()
|
D | test_suite.cc | 109 if (command_line.HasSwitch(switches::kProfilingFile)) in GetProfileName() 228 if (!CommandLine::ForCurrentProcess()->HasSwitch( in AddTestLauncherResultPrinter() 389 if (command_line->HasSwitch(switches::kWaitForDebugger)) { in Initialize() 439 !command_line->HasSwitch("show-error-dialogs")) { in Initialize()
|
D | icu_test_util.cc | 31 if (!CommandLine::ForCurrentProcess()->HasSwitch( in InitializeICUForTesting()
|
D | multiprocess_test.cc | 24 if (!command_line.HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
|
D | multiprocess_test_android.cc | 46 if (!command_line.HasSwitch(switches::kTestChildProcess)) { in SpawnMultiProcessTestChild()
|
D | gtest_xml_unittest_result_printer.cc | 96 if (CommandLine::ForCurrentProcess()->HasSwitch( in OnTestEnd()
|
/external/libchrome/base/files/ |
D | file_locking_unittest.cc | 99 if (command_line->HasSwitch(kFileUnlock)) { in MULTIPROCESS_TEST_MAIN() 104 } else if (command_line->HasSwitch(kCloseUnlock)) { in MULTIPROCESS_TEST_MAIN() 111 CHECK(command_line->HasSwitch(kExitUnlock)); in MULTIPROCESS_TEST_MAIN()
|
/external/libchrome/mojo/core/test/ |
D | multiprocess_test_helper.cc | 133 CHECK(!command_line.HasSwitch(switch_string)); in StartChildWithExtraSwitch() 222 if (command_line.HasSwitch(kRunAsBrokerClient)) { in ChildSetup()
|
/external/libchrome/base/android/ |
D | command_line_android.cc | 40 return CommandLine::ForCurrentProcess()->HasSwitch(switch_string); in JNI_CommandLine_HasSwitch()
|
/external/libchrome/base/android/library_loader/ |
D | library_loader_hooks.cc | 96 return CommandLine::ForCurrentProcess()->HasSwitch( in ShouldDoOrderfileMemoryOptimization()
|
/external/libchrome/base/i18n/ |
D | rtl.cc | 59 static bool has_switch = base::CommandLine::ForCurrentProcess()->HasSwitch( in GetCharacterDirection() 178 if (command_line->HasSwitch(switches::kForceUIDirection)) { in GetForcedTextDirection()
|
D | build_utf8_validator_tables.cc | 436 if (base::CommandLine::ForCurrentProcess()->HasSwitch("help")) { in main()
|
/external/libbrillo/brillo/ |
D | flag_helper.cc | 217 if (command_line_->HasSwitch("help")) { in UpdateFlagValues()
|
/external/libchrome/base/metrics/ |
D | field_trial.cc | 832 if (cmd_line.HasSwitch(field_trial_handle_switch)) { in CreateTrialsFromCommandLine() 842 if (cmd_line.HasSwitch(field_trial_handle_switch)) { in CreateTrialsFromCommandLine() 850 if (cmd_line.HasSwitch(switches::kForceFieldTrials)) { in CreateTrialsFromCommandLine()
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker.cc | 120 CommandLine::ForCurrentProcess()->HasSwitch( in GetMaxNumScheduledBackgroundSequences()
|