Searched refs:kElMask (Results 1 – 2 of 2) sorted by relevance
92 size_t nElements = (end - (start & ~kElMask) + kElMask) >> kLogBitsPerEl; in initFromRanges()94 mBitmaps[index] |= (kElAllOnes >> (start & kElMask)) & in initFromRanges()95 (kElAllOnes << ((~end + 1) & kElMask)); in initFromRanges()97 mBitmaps[index] |= kElAllOnes >> (start & kElMask); in initFromRanges()101 mBitmaps[index + nElements - 1] |= kElAllOnes << ((~end + 1) & kElMask); in initFromRanges()122 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit()124 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit()
52 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0; in get()71 static const int kElMask = (1 << kLogBitsPerEl) - 1; variable75 static const element kElFirst = ((element)1) << kElMask;