Home
last modified time | relevance | path

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

/external/openscreen/platform/base/
Dip_address.cc89 const size_t double_colon_position = s.find(kDoubleColon); in ExpandIPv6DoubleColon() local
90 if (double_colon_position == std::string::npos) { in ExpandIPv6DoubleColon()
93 if (double_colon_position != s.rfind(kDoubleColon)) { in ExpandIPv6DoubleColon()
100 if (double_colon_position != 0) { in ExpandIPv6DoubleColon()
103 expanded << s.substr(0, double_colon_position + 1); in ExpandIPv6DoubleColon()
106 if (double_colon_position != (s.size() - 2)) { in ExpandIPv6DoubleColon()
113 if (double_colon_position != (s.size() - 2)) { in ExpandIPv6DoubleColon()
116 expanded << s.substr(double_colon_position + 1); in ExpandIPv6DoubleColon()