Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dipaddress.py253 if first_int - 1 == ip._ALL_ONES:
421 if address > self._ALL_ONES:
444 return cls._ALL_ONES ^ (cls._ALL_ONES >> prefixlen)
529 ip_int ^= cls._ALL_ONES
703 x = self._address_class(int(self.netmask) ^ self._ALL_ONES)
1078 _ALL_ONES = (2**IPV4LENGTH) - 1 variable in _BaseV4
1604 _ALL_ONES = (2**IPV6LENGTH) - 1 variable in _BaseV6
1826 if ip_int > cls._ALL_ONES:
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1474 ip2 = ipaddress.IPv4Address(ipaddress.IPv4Address._ALL_ONES)