Lines Matching refs:x

42 static bool operator <(const in6_addr& x, const in6_addr& y) {  in operator <()  argument
44 std::begin(x.s6_addr), std::end(x.s6_addr), in operator <()
48 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument
50 std::begin(x.s6_addr), std::end(x.s6_addr), in operator ==()
54 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument
55 if (x.ss_family != y.ss_family) { in operator <()
56 return x.ss_family < y.ss_family; in operator <()
59 if (x.ss_family == AF_INET) { in operator <()
60 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator <()
63 } else if (x.ss_family == AF_INET6) { in operator <()
64 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x); in operator <()
71 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==() argument
72 if (x.ss_family != y.ss_family) { in operator ==()
76 if (x.ss_family == AF_INET) { in operator ==()
77 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x); in operator ==()
80 } else if (x.ss_family == AF_INET6) { in operator ==()
81 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x); in operator ==()
92 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()() argument
93 if (x.ss.ss_family != y.ss.ss_family) { in operator ()()
94 return x.ss.ss_family < y.ss.ss_family; in operator ()()
97 if (x.ss.ss_family == AF_INET) { in operator ()()
98 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator ()()
101 } else if (x.ss.ss_family == AF_INET6) { in operator ()()
102 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator ()()