Searched refs:_ALL_ONES (Results 1 – 2 of 2) sorted by relevance
254 if first_int - 1 == ip._ALL_ONES:422 if address > self._ALL_ONES:445 return cls._ALL_ONES ^ (cls._ALL_ONES >> prefixlen)530 ip_int ^= cls._ALL_ONES768 return self._address_class(int(self.netmask) ^ self._ALL_ONES)1140 _ALL_ONES = (2**IPV4LENGTH) - 1 variable in _BaseV41580 _ALL_ONES = (2**IPV6LENGTH) - 1 variable in _BaseV61804 if ip_int > cls._ALL_ONES:
1877 ip2 = ipaddress.IPv4Address(ipaddress.IPv4Address._ALL_ONES)