Home
last modified time | relevance | path

Searched refs:ipv6_number (Results 1 – 3 of 3) sorted by relevance

/external/chromium-libpac/src/
Dnet_util.cc49 IPAddressNumber ipv6_number; in ConvertIPv4NumberToIPv6Number() local
50 ipv6_number.reserve(16); in ConvertIPv4NumberToIPv6Number()
51 ipv6_number.insert(ipv6_number.end(), 10, 0); in ConvertIPv4NumberToIPv6Number()
52 ipv6_number.push_back(0xFF); in ConvertIPv4NumberToIPv6Number()
53 ipv6_number.push_back(0xFF); in ConvertIPv4NumberToIPv6Number()
54 ipv6_number.insert(ipv6_number.end(), ipv4_number.begin(), ipv4_number.end()); in ConvertIPv4NumberToIPv6Number()
55 return ipv6_number; in ConvertIPv4NumberToIPv6Number()
/external/chromium_org/net/base/
Dnet_util.cc877 IPAddressNumber ipv6_number; in ConvertIPv4NumberToIPv6Number() local
878 ipv6_number.reserve(16); in ConvertIPv4NumberToIPv6Number()
879 ipv6_number.insert(ipv6_number.end(), in ConvertIPv4NumberToIPv6Number()
882 ipv6_number.insert(ipv6_number.end(), ipv4_number.begin(), ipv4_number.end()); in ConvertIPv4NumberToIPv6Number()
883 return ipv6_number; in ConvertIPv4NumberToIPv6Number()
Dnet_util_unittest.cc532 IPAddressNumber ipv6_number = in TEST() local
537 DumpIPNumber(ipv6_number)); in TEST()
538 EXPECT_EQ("::ffff:c0a8:1", IPAddressToString(ipv6_number)); in TEST()
571 IPAddressNumber ipv6_number; in TEST() local
573 EXPECT_FALSE(IsIPv4Mapped(ipv6_number)); in TEST()