Home
last modified time | relevance | path

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

/external/chromium-libpac/src/
Dnet_util.cc92 const IPAddressNumber& ip_prefix, in IPNumberMatchesPrefix() argument
99 if (ip_number.size() != ip_prefix.size()) { in IPNumberMatchesPrefix()
102 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix()
105 ConvertIPv4NumberToIPv6Number(ip_prefix), in IPNumberMatchesPrefix()
113 if (ip_number[i] != ip_prefix[i]) in IPNumberMatchesPrefix()
123 if ((ip_number[i] & mask) != (ip_prefix[i] & mask)) in IPNumberMatchesPrefix()
Dnet_util.h63 const IPAddressNumber& ip_prefix,
Dproxy_resolver_v8.cc322 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { in IsInNetEx() argument
332 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx()
695 std::string ip_prefix = V8StringToUTF8(args[1]->ToString()); in IsInNetExCallback() local
696 args.GetReturnValue().Set(IsInNetEx(ip_address, ip_prefix)); in IsInNetExCallback()