Lines Matching refs:colonpos
59 const std::string::size_type colonpos = in_str.find(':'); in GetServiceTypeAndHostnameFromUri() local
60 if (colonpos == std::string::npos) { in GetServiceTypeAndHostnameFromUri()
64 if ((colonpos + 1) == in_str.length()) { in GetServiceTypeAndHostnameFromUri()
70 if (in_str.compare(0, colonpos, kValidIceServiceTypes[i]) == 0) { in GetServiceTypeAndHostnameFromUri()
78 *hostname = in_str.substr(colonpos + 1, std::string::npos); in GetServiceTypeAndHostnameFromUri()
104 std::string::size_type colonpos = in_str.find(':', closebracket); in ParseHostnameAndPortFromString() local
105 if (std::string::npos != colonpos) { in ParseHostnameAndPortFromString()
116 std::string::size_type colonpos = in_str.find(':'); in ParseHostnameAndPortFromString() local
117 if (std::string::npos != colonpos) { in ParseHostnameAndPortFromString()
118 if (!ParsePort(in_str.substr(colonpos + 1, std::string::npos), port)) { in ParseHostnameAndPortFromString()
121 *host = in_str.substr(0, colonpos); in ParseHostnameAndPortFromString()