Searched refs:switch_name (Results 1 – 4 of 4) sorted by relevance
24 void InitializeTimeout(const char* switch_name, int min_value, int* value) { in InitializeTimeout() argument27 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()29 GetSwitchValueASCII(switch_name)); in InitializeTimeout()
77 base::StringPiece switch_name = {}) { in PrepareToPassRemoteEndpoint() argument89 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() argument401 if (switch_name.empty()) {406 command_line.GetSwitchValueASCII(switch_name));
180 bool GetSwitchValueAsInt(const std::string& switch_name, int* result) { in GetSwitchValueAsInt() argument181 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()
539 const string& switch_name = in AddControlLoop() local551 bopts.WithName(switch_name)); in AddControlLoop()