Searched refs:prefix_length_in_bits (Results 1 – 5 of 5) sorted by relevance
/external/chromium/net/proxy/ |
D | proxy_bypass_rules.cc | 88 size_t prefix_length_in_bits) in BypassIPBlockRule() argument 92 prefix_length_in_bits_(prefix_length_in_bits) { in BypassIPBlockRule() 289 size_t prefix_length_in_bits; in AddRuleFromStringInternal() local 291 if (!ParseCIDRBlock(raw, &ip_prefix, &prefix_length_in_bits)) in AddRuleFromStringInternal() 295 new BypassIPBlockRule(raw, scheme, ip_prefix, prefix_length_in_bits)); in AddRuleFromStringInternal()
|
D | proxy_resolver_v8.cc | 313 size_t prefix_length_in_bits; in IsInNetEx() local 314 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx() 324 return IPNumberMatchesPrefix(address, prefix, prefix_length_in_bits); in IsInNetEx()
|
/external/chromium/net/base/ |
D | net_util.h | 429 size_t* prefix_length_in_bits); 443 size_t prefix_length_in_bits);
|
D | net_util_unittest.cc | 2215 size_t prefix_length_in_bits; in TEST() local 2219 &prefix_length_in_bits)); in TEST() 2226 size_t prefix_length_in_bits; in TEST() local 2230 &prefix_length_in_bits)); in TEST() 2233 EXPECT_EQ(11u, prefix_length_in_bits); in TEST() 2304 size_t prefix_length_in_bits; in TEST() local 2308 &prefix_length_in_bits)); in TEST() 2313 prefix_length_in_bits)); in TEST()
|
D | net_util.cc | 2133 size_t* prefix_length_in_bits) { in ParseCIDRBlock() argument 2157 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock() 2163 size_t prefix_length_in_bits) { in IPNumberMatchesPrefix() argument 2169 DCHECK_LE(prefix_length_in_bits, ip_prefix.size() * 8); in IPNumberMatchesPrefix() 2176 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix() 2180 96 + prefix_length_in_bits); in IPNumberMatchesPrefix() 2185 int num_entire_bytes_in_prefix = prefix_length_in_bits / 8; in IPNumberMatchesPrefix() 2193 int remaining_bits = prefix_length_in_bits % 8; in IPNumberMatchesPrefix()
|