Searched refs:HasSwitch (Results 1 – 11 of 11) sorted by relevance
52 EXPECT_FALSE(cl.HasSwitch("cruller")); in TEST()53 EXPECT_FALSE(cl.HasSwitch("flim")); in TEST()54 EXPECT_FALSE(cl.HasSwitch("program")); in TEST()55 EXPECT_FALSE(cl.HasSwitch("dog")); in TEST()56 EXPECT_FALSE(cl.HasSwitch("cat")); in TEST()57 EXPECT_FALSE(cl.HasSwitch("output-rotation")); in TEST()58 EXPECT_FALSE(cl.HasSwitch("not-a-switch")); in TEST()59 EXPECT_FALSE(cl.HasSwitch("--")); in TEST()64 EXPECT_TRUE(cl.HasSwitch("foo")); in TEST()66 EXPECT_TRUE(cl.HasSwitch("bar")); in TEST()[all …]
25 if (command_line->HasSwitch(switches::kEnableLowEndDeviceMode)) in DetectLowEndDevice()27 if (command_line->HasSwitch(switches::kDisableLowEndDeviceMode)) in DetectLowEndDevice()
155 bool HasSwitch(const base::StringPiece& switch_string) const;156 bool HasSwitch(const char switch_constant[]) const;
277 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch() function in base::CommandLine283 bool CommandLine::HasSwitch(const char switch_constant[]) const { in HasSwitch() function in base::CommandLine284 return HasSwitch(base::StringPiece(switch_constant)); in HasSwitch()360 if (source.HasSwitch(switches[i])) in CopySwitchesFrom()
356 if (command_line->HasSwitch(switches::kV) || in BaseInitLoggingImpl()357 command_line->HasSwitch(switches::kVModule)) { in BaseInitLoggingImpl()
133 if (cl->HasSwitch(switches::kHelp)) { in main()146 if (cl->HasSwitch(switches::kServiceConfig)) { in main()168 if (cl->HasSwitch(switches::kMethodNames)) { in main()180 if (cl->HasSwitch(switches::kAdaptor)) { in main()191 if (cl->HasSwitch(switches::kProxy)) { in main()205 if (cl->HasSwitch(switches::kProxyPathForMocks)) { in main()212 if (cl->HasSwitch(switches::kMock)) { in main()
24 if (!command_line.HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
45 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()
68 if (!command_line->HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
133 ? CommandLine::ForCurrentProcess()->HasSwitch( in MemoryDumpManager()556 CommandLine::ForCurrentProcess()->HasSwitch( in OnTraceLogEnabled()
199 if (command_line_->HasSwitch("help")) { in UpdateFlagValues()