Searched refs:HasSwitch (Results 1 – 15 of 15) sorted by relevance
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 …]
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()
162 bool HasSwitch(const StringPiece& switch_string) const;163 bool HasSwitch(const char switch_constant[]) const;
283 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch() function in base::CommandLine288 bool CommandLine::HasSwitch(const char switch_constant[]) const { in HasSwitch() function in base::CommandLine289 return HasSwitch(base::StringPiece(switch_constant)); in HasSwitch()365 if (source.HasSwitch(switches[i])) in CopySwitchesFrom()
414 if (command_line->HasSwitch(switches::kV) || in BaseInitLoggingImpl()415 command_line->HasSwitch(switches::kVModule)) { in BaseInitLoggingImpl()
272 base::CommandLine::ForCurrentProcess()->HasSwitch( in SetInstance()
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)) {
27 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()98 base::CommandLine::ForCurrentProcess()->HasSwitch( in Initialize()
24 if (!command_line.HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
46 if (!command_line.HasSwitch(switches::kTestChildProcess)) { in SpawnMultiProcessTestChild()
133 CHECK(!command_line.HasSwitch(switch_string)); in StartChildWithExtraSwitch()222 if (command_line.HasSwitch(kRunAsBrokerClient)) { in ChildSetup()
199 if (command_line_->HasSwitch("help")) { in UpdateFlagValues()
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()
1204 EXPECT_TRUE(command_line.HasSwitch(kFieldTrialHandleSwitch)); in TEST()
988 disable_dev_shm = CommandLine::ForCurrentProcess()->HasSwitch( in GetShmemTempDir()