Lines Matching refs:input
83 bool ConnectionInfoReader::ParseConnectionInfo(const string& input, in ParseConnectionInfo() argument
85 vector<string> tokens = base::SplitString(input, base::kWhitespaceASCII, in ParseConnectionInfo()
159 bool ConnectionInfoReader::ParseProtocol(const string& input, int* protocol) { in ParseProtocol() argument
160 if (!base::StringToInt(input, protocol) || in ParseProtocol()
168 const string& input, int64_t* time_to_expire_seconds) { in ParseTimeToExpireSeconds() argument
169 if (!base::StringToInt64(input, time_to_expire_seconds) || in ParseTimeToExpireSeconds()
177 const string& input, IPAddress* ip_address, bool* is_source) { in ParseIPAddress() argument
180 if (base::StartsWith(input, kSourceIPAddressTag, in ParseIPAddress()
183 ip_address_string = input.substr(strlen(kSourceIPAddressTag)); in ParseIPAddress()
184 } else if (base::StartsWith(input, kDestinationIPAddressTag, in ParseIPAddress()
187 ip_address_string = input.substr(strlen(kDestinationIPAddressTag)); in ParseIPAddress()
208 const string& input, uint16_t* port, bool* is_source) { in ParsePort() argument
212 if (base::StartsWith(input, kSourcePortTag, in ParsePort()
215 port_string = input.substr(strlen(kSourcePortTag)); in ParsePort()
216 } else if (base::StartsWith(input, kDestinationPortTag, in ParsePort()
219 port_string = input.substr(strlen(kDestinationPortTag)); in ParsePort()