Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dnet_util.cc2148 int number_of_bits = -1; in ParseCIDRBlock() local
2149 if (!base::StringToInt(parts[1], &number_of_bits)) in ParseCIDRBlock()
2153 if (number_of_bits < 0 || in ParseCIDRBlock()
2154 number_of_bits > static_cast<int>(ip_number->size() * 8)) in ParseCIDRBlock()
2157 *prefix_length_in_bits = static_cast<size_t>(number_of_bits); in ParseCIDRBlock()