Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocketaddress.cc198 std::string::size_type closebracket = str.rfind(']'); in FromString() local
199 if (closebracket != std::string::npos) { in FromString()
200 std::string::size_type colon = str.find(':', closebracket); in FromString()
201 if (colon != std::string::npos && colon > closebracket) { in FromString()
203 SetIP(str.substr(1, closebracket - 1)); in FromString()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnection.cc143 std::string::size_type closebracket = in_str.rfind(']'); in ParseHostnameAndPortFromString() local
144 if (closebracket != std::string::npos) { in ParseHostnameAndPortFromString()
145 *host = in_str.substr(1, closebracket - 1); in ParseHostnameAndPortFromString()
146 std::string::size_type colonpos = in_str.find(':', closebracket); in ParseHostnameAndPortFromString()
149 in_str.substr(closebracket + 2, std::string::npos), port)) { in ParseHostnameAndPortFromString()