Home
last modified time | relevance | path

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

/external/chromium-libpac/src/
Dnet_util.cc28 IPAddressNumber* ip_number) { in ParseIPLiteralToNumber() argument
39 ip_number->resize(size); in ParseIPLiteralToNumber()
41 (*ip_number)[i] = buf[i]; in ParseIPLiteralToNumber()
60 IPAddressNumber* ip_number, in ParseCIDRBlock() argument
76 if (!ParseIPLiteralToNumber(parts[0], ip_number)) in ParseCIDRBlock()
84 number_of_bits > static_cast<int>(ip_number->size() * 8)) in ParseCIDRBlock()
91 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number, in IPNumberMatchesPrefix() argument
99 if (ip_number.size() != ip_prefix.size()) { in IPNumberMatchesPrefix()
100 if (ip_number.size() == 4) { in IPNumberMatchesPrefix()
101 return IPNumberMatchesPrefix(ConvertIPv4NumberToIPv6Number(ip_number), in IPNumberMatchesPrefix()
[all …]
Dnet_util.h36 IPAddressNumber* ip_number);
49 IPAddressNumber* ip_number,
62 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
Dproxy_resolver_v8.cc227 IPAddress(const std::string& ip_string, const IPAddressNumber& ip_number) in IPAddress()
229 ip_address_number(ip_number) { in IPAddress()