Home
last modified time | relevance | path

Searched refs:HasSwitch (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/
Dcommand_line_unittest.cc52 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 …]
Dsys_info.cc25 if (command_line->HasSwitch(switches::kEnableLowEndDeviceMode)) in DetectLowEndDevice()
27 if (command_line->HasSwitch(switches::kDisableLowEndDeviceMode)) in DetectLowEndDevice()
Dcommand_line.h155 bool HasSwitch(const base::StringPiece& switch_string) const;
156 bool HasSwitch(const char switch_constant[]) const;
Dcommand_line.cc277 bool CommandLine::HasSwitch(const base::StringPiece& switch_string) const { in HasSwitch() function in base::CommandLine
283 bool CommandLine::HasSwitch(const char switch_constant[]) const { in HasSwitch() function in base::CommandLine
284 return HasSwitch(base::StringPiece(switch_constant)); in HasSwitch()
360 if (source.HasSwitch(switches[i])) in CopySwitchesFrom()
Dlogging.cc356 if (command_line->HasSwitch(switches::kV) || in BaseInitLoggingImpl()
357 command_line->HasSwitch(switches::kVModule)) { in BaseInitLoggingImpl()
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dgenerate_chromeos_dbus_bindings.cc133 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()
/external/libchrome/base/test/
Dmultiprocess_test.cc24 if (!command_line.HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
Dtest_timeouts.cc45 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()
Dmultiprocess_test_android.cc68 if (!command_line->HasSwitch(switches::kTestChildProcess)) in SpawnMultiProcessTestChild()
/external/libchrome/base/trace_event/
Dmemory_dump_manager.cc133 ? CommandLine::ForCurrentProcess()->HasSwitch( in MemoryDumpManager()
556 CommandLine::ForCurrentProcess()->HasSwitch( in OnTraceLogEnabled()
/external/libbrillo/brillo/
Dflag_helper.cc199 if (command_line_->HasSwitch("help")) { in UpdateFlagValues()