Home
last modified time | relevance | path

Searched refs:switch_name (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/test/
Dtest_timeouts.cc24 void InitializeTimeout(const char* switch_name, int min_value, int* value) { in InitializeTimeout() argument
27 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()
29 GetSwitchValueASCII(switch_name)); in InitializeTimeout()
/external/libchrome/mojo/core/
Dinvitation_unittest.cc77 base::StringPiece switch_name = {}) { in PrepareToPassRemoteEndpoint() argument
89 if (switch_name.empty())
90 switch_name = PlatformChannel::kHandleSwitch;
91 command_line->AppendSwitchASCII(switch_name.as_string(), value);
396 base::StringPiece switch_name = {}) { in AcceptInvitation() argument
401 if (switch_name.empty()) {
406 command_line.GetSwitchValueASCII(switch_name));
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc180 bool GetSwitchValueAsInt(const std::string& switch_name, int* result) { in GetSwitchValueAsInt() argument
181 if (!CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) in GetSwitchValueAsInt()
185 CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name); in GetSwitchValueAsInt()
187 LOG(ERROR) << "Invalid value for " << switch_name << ": " << switch_value; in GetSwitchValueAsInt()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc539 const string& switch_name = in AddControlLoop() local
551 bopts.WithName(switch_name)); in AddControlLoop()