Lines Matching refs:colonpos
148 const std::string::size_type colonpos = in_str.find(':'); in GetServiceTypeAndHostnameFromUri() local
149 if (colonpos == std::string::npos) { in GetServiceTypeAndHostnameFromUri()
153 if ((colonpos + 1) == in_str.length()) { in GetServiceTypeAndHostnameFromUri()
159 if (in_str.compare(0, colonpos, kValidIceServiceTypes[i]) == 0) { in GetServiceTypeAndHostnameFromUri()
167 *hostname = in_str.substr(colonpos + 1, std::string::npos); in GetServiceTypeAndHostnameFromUri()
193 std::string::size_type colonpos = in_str.find(':', closebracket); in ParseHostnameAndPortFromString() local
194 if (std::string::npos != colonpos) { in ParseHostnameAndPortFromString()
205 std::string::size_type colonpos = in_str.find(':'); in ParseHostnameAndPortFromString() local
206 if (std::string::npos != colonpos) { in ParseHostnameAndPortFromString()
207 if (!ParsePort(in_str.substr(colonpos + 1, std::string::npos), port)) { in ParseHostnameAndPortFromString()
210 *host = in_str.substr(0, colonpos); in ParseHostnameAndPortFromString()