Searched refs:prefix_length_in_bits (Results 1 – 8 of 8) sorted by relevance
/external/chromium-libpac/src/ |
D | net_util.cc | 60 size_t* prefix_length_in_bits) { in ParseCIDRBlock() argument 86 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock() 92 size_t prefix_length_in_bits) { in IPNumberMatchesPrefix() argument 101 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix() 105 96 + prefix_length_in_bits); in IPNumberMatchesPrefix() 110 int num_entire_bytes_in_prefix = prefix_length_in_bits / 8; in IPNumberMatchesPrefix() 118 int remaining_bits = prefix_length_in_bits % 8; in IPNumberMatchesPrefix()
|
D | net_util.h | 50 size_t* prefix_length_in_bits); 64 size_t prefix_length_in_bits);
|
D | proxy_resolver_v8.cc | 336 size_t prefix_length_in_bits; in IsInNetEx() local 337 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx() 344 return IPNumberMatchesPrefix(address, prefix, prefix_length_in_bits); in IsInNetEx()
|
/external/chromium_org/net/proxy/ |
D | proxy_bypass_rules.cc | 90 size_t prefix_length_in_bits) in BypassIPBlockRule() argument 94 prefix_length_in_bits_(prefix_length_in_bits) { in BypassIPBlockRule() 291 size_t prefix_length_in_bits; in AddRuleFromStringInternal() local 293 if (!ParseCIDRBlock(raw, &ip_prefix, &prefix_length_in_bits)) in AddRuleFromStringInternal() 297 new BypassIPBlockRule(raw, scheme, ip_prefix, prefix_length_in_bits)); in AddRuleFromStringInternal()
|
D | proxy_resolver_v8.cc | 326 size_t prefix_length_in_bits; in IsInNetEx() local 327 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx() 337 return IPNumberMatchesPrefix(address, prefix, prefix_length_in_bits); in IsInNetEx()
|
/external/chromium_org/net/base/ |
D | net_util.cc | 147 size_t prefix_length_in_bits) { in IPNumberPrefixCheck() argument 149 int num_entire_bytes_in_prefix = prefix_length_in_bits / 8; in IPNumberPrefixCheck() 157 int remaining_bits = prefix_length_in_bits % 8; in IPNumberPrefixCheck() 850 size_t* prefix_length_in_bits) { in ParseCIDRBlock() argument 874 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock() 880 size_t prefix_length_in_bits) { in IPNumberMatchesPrefix() argument 886 DCHECK_LE(prefix_length_in_bits, ip_prefix.size() * 8); in IPNumberMatchesPrefix() 893 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix() 897 96 + prefix_length_in_bits); in IPNumberMatchesPrefix() 900 return IPNumberPrefixCheck(ip_number, &ip_prefix[0], prefix_length_in_bits); in IPNumberMatchesPrefix()
|
D | net_util_unittest.cc | 570 size_t prefix_length_in_bits; in TEST() local 574 &prefix_length_in_bits)); in TEST() 581 size_t prefix_length_in_bits; in TEST() local 585 &prefix_length_in_bits)); in TEST() 588 EXPECT_EQ(11u, prefix_length_in_bits); in TEST() 659 size_t prefix_length_in_bits; in TEST() local 663 &prefix_length_in_bits)); in TEST() 668 prefix_length_in_bits)); in TEST()
|
D | net_util.h | 402 size_t* prefix_length_in_bits); 416 size_t prefix_length_in_bits);
|