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 | 92 size_t prefix_length_in_bits) in BypassIPBlockRule() argument 96 prefix_length_in_bits_(prefix_length_in_bits) { in BypassIPBlockRule() 294 size_t prefix_length_in_bits; in AddRuleFromStringInternal() local 296 if (!ParseCIDRBlock(raw, &ip_prefix, &prefix_length_in_bits)) in AddRuleFromStringInternal() 300 new BypassIPBlockRule(raw, scheme, ip_prefix, prefix_length_in_bits)); in AddRuleFromStringInternal()
|
D | proxy_resolver_v8.cc | 327 size_t prefix_length_in_bits; in IsInNetEx() local 328 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits)) in IsInNetEx() 338 return IPNumberMatchesPrefix(address, prefix, prefix_length_in_bits); in IsInNetEx()
|
/external/chromium_org/net/base/ |
D | net_util.cc | 148 size_t prefix_length_in_bits) { in IPNumberPrefixCheck() argument 150 int num_entire_bytes_in_prefix = prefix_length_in_bits / 8; in IPNumberPrefixCheck() 158 int remaining_bits = prefix_length_in_bits % 8; in IPNumberPrefixCheck() 902 size_t* prefix_length_in_bits) { in ParseCIDRBlock() argument 926 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock() 932 size_t prefix_length_in_bits) { in IPNumberMatchesPrefix() argument 938 DCHECK_LE(prefix_length_in_bits, ip_prefix.size() * 8); in IPNumberMatchesPrefix() 945 ip_prefix, prefix_length_in_bits); in IPNumberMatchesPrefix() 949 96 + prefix_length_in_bits); in IPNumberMatchesPrefix() 952 return IPNumberPrefixCheck(ip_number, &ip_prefix[0], prefix_length_in_bits); in IPNumberMatchesPrefix()
|
D | net_util_unittest.cc | 609 size_t prefix_length_in_bits; in TEST() local 613 &prefix_length_in_bits)); in TEST() 620 size_t prefix_length_in_bits; in TEST() local 624 &prefix_length_in_bits)); in TEST() 627 EXPECT_EQ(11u, prefix_length_in_bits); in TEST() 698 size_t prefix_length_in_bits; in TEST() local 702 &prefix_length_in_bits)); in TEST() 707 prefix_length_in_bits)); in TEST()
|
D | net_util.h | 414 size_t* prefix_length_in_bits); 428 size_t prefix_length_in_bits);
|