Searched refs:number_of_bits (Results 1 – 1 of 1) sorted by relevance
2148 int number_of_bits = -1; in ParseCIDRBlock() local2149 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()