Lines Matching refs:x
44 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <() argument
46 std::begin(x.s6_addr), std::end(x.s6_addr), in operator <()
50 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument
52 std::begin(x.s6_addr), std::end(x.s6_addr), in operator ==()
56 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument
57 if (x.ss_family != y.ss_family) { in operator <()
58 return x.ss_family < y.ss_family; in operator <()
61 if (x.ss_family == AF_INET) { in operator <()
62 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator <()
65 } else if (x.ss_family == AF_INET6) { in operator <()
66 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x); in operator <()
73 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==() argument
74 if (x.ss_family != y.ss_family) { in operator ==()
78 if (x.ss_family == AF_INET) { in operator ==()
79 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator ==()
82 } else if (x.ss_family == AF_INET6) { in operator ==()
83 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x); in operator ==()
94 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()() argument
95 if (x.ss.ss_family != y.ss.ss_family) { in operator ()()
96 return x.ss.ss_family < y.ss.ss_family; in operator ()()
99 if (x.ss.ss_family == AF_INET) { in operator ()()
100 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator ()()
103 } else if (x.ss.ss_family == AF_INET6) { in operator ()()
104 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator ()()