Lines Matching defs:count
287 unsigned int count = 0;
291 count += util_bitcount(data[i]);
292 return count;
314 int BitSet::findFreeRange(unsigned int count, unsigned int max) const
316 const uint32_t m = (1 << count) - 1;
321 if (count == 1) {
328 if (count == 2) {
338 if (count == 4 || count == 3) {
350 if (count <= 8)
351 count = 8;
353 if (count <= 16)
354 count = 16;
356 count = 32;
360 for (pos = 0; pos < 32; pos += count)
376 return ((pos + count) <= max) ? pos : -1;