Searched refs:first_colon (Results 1 – 1 of 1) sorted by relevance
77 size_t first_colon = addr.find(":"); in GetLocalAddress() local79 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetLocalAddress()82 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetLocalAddress()101 size_t first_colon = addr.find(":"); in GetPeerAddress() local103 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetPeerAddress()106 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetPeerAddress()