Lines Matching defs:bits
31 static inline uint32_t BitsToWords(uint32_t bits) {
32 return (bits + 31) >> 5;
72 // Mark all bits bit as "clear".
86 /* Round up to word boundaries for "num+1" bits */
150 // - Either src was larger than us: we don't care, all upper bits would thus be 0.
151 // - Either we are larger than src: we don't care, all upper bits would have been 0 too.
152 // So all we need to do is set all remaining bits to 0.
252 // If we are bigger than src, the upper bits are unchanged.
253 // If we are smaller than src, the non-existant upper bits are 0 and thus can't get subtracted.
259 // Count the number of bits that are set.
268 // Count the number of bits that are set in range [0, end).
275 * Mark specified number of bits as "set". Cannot set all bits like ClearAll
276 * since there might be unused bits - setting those to one will confuse the
295 // Handle the potentially last few bits.
311 // If not 0, we have more work: check the bits.
320 // Count the bits.
326 // Return cnt + how many storage units still remain * the number of bits per unit.
347 // We must clear all bits as per our specification.
370 // Set upper bits to 0.