Searched refs:kElMask (Results 1 – 2 of 2) sorted by relevance
89 size_t nElements = (end - (start & ~kElMask) + kElMask) >> kLogBitsPerEl; in initFromRanges()92 (kElAllOnes >> (start & kElMask)) & (kElAllOnes << ((~end + 1) & kElMask)); in initFromRanges()94 bitmaps[index] |= kElAllOnes >> (start & kElMask); in initFromRanges()98 bitmaps[index + nElements - 1] |= kElAllOnes << ((~end + 1) & kElMask); in initFromRanges()141 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit()143 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit()
59 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0; in get()82 static const int kElMask = (1 << kLogBitsPerEl) - 1; variable86 static const element kElFirst = ((element)1) << kElMask;