Home
last modified time | relevance | path

Searched refs:closebracket (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/base/
Dsocketaddress.cc183 std::string::size_type closebracket = str.rfind(']'); in FromString() local
184 if (closebracket != std::string::npos) { in FromString()
185 std::string::size_type colon = str.find(':', closebracket); in FromString()
186 if (colon != std::string::npos && colon > closebracket) { in FromString()
188 SetIP(str.substr(1, closebracket - 1)); in FromString()
/external/webrtc/talk/app/webrtc/
Dpeerconnection.cc191 std::string::size_type closebracket = in_str.rfind(']'); in ParseHostnameAndPortFromString() local
192 if (closebracket != std::string::npos) { in ParseHostnameAndPortFromString()
193 std::string::size_type colonpos = in_str.find(':', closebracket); in ParseHostnameAndPortFromString()
195 if (!ParsePort(in_str.substr(closebracket + 2, std::string::npos), in ParseHostnameAndPortFromString()
200 *host = in_str.substr(1, closebracket - 1); in ParseHostnameAndPortFromString()