Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_ipaddress.py817 self.ipv6_network = ipaddress.IPv6Network('2001:658:22a:cafe::/64')
988 self.assertEqual(int(self.ipv6_network.network_address),
990 self.assertEqual(str(self.ipv6_network.network_address),
992 self.assertEqual(str(self.ipv6_network.hostmask),
1041 self.assertEqual(int(self.ipv6_network.netmask),
1043 self.assertEqual(self.ipv6_network.prefixlen, 64)
1077 self.assertEqual(int(self.ipv6_network.broadcast_address),
1079 self.assertEqual(str(self.ipv6_network.broadcast_address),
1094 self.assertEqual(self.ipv6_network.supernet().prefixlen, 63)
1095 self.assertEqual(str(self.ipv6_network.supernet().network_address),
[all …]
/external/webrtc/webrtc/base/
Dnetwork_unittest.cc401 Network* ipv6_network = in TEST_F() local
403 ipv6_network->AddIP(ip); in TEST_F()
404 original_list.push_back(ipv6_network); in TEST_F()
885 Network ipv6_network( in TEST_F() local
890 EXPECT_EQ(ipv6_network.GetBestIP(), IPAddress()); in TEST_F()
891 EXPECT_TRUE(IPIsUnspec(ipv6_network.GetBestIP())); in TEST_F()
894 ipv6_network.AddIP(ip); in TEST_F()
895 EXPECT_EQ(ipv6_network.GetBestIP(), IPAddress()); in TEST_F()
901 ipv6_network.AddIP(ip); in TEST_F()
902 EXPECT_EQ(ipv6_network.GetBestIP(), static_cast<IPAddress>(ip)); in TEST_F()
[all …]