Home
last modified time | relevance | path

Searched refs:kElMask (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp84 size_t nElements = (end - (start & ~kElMask) + kElMask) >> kLogBitsPerEl; in initFromRanges()
87 (kElAllOnes >> (start & kElMask)) & (kElAllOnes << ((~end + 1) & kElMask)); in initFromRanges()
89 mBitmaps[index] |= kElAllOnes >> (start & kElMask); in initFromRanges()
93 mBitmaps[index + nElements - 1] |= kElAllOnes << ((~end + 1) & kElMask); in initFromRanges()
114 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit()
116 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit()
/frameworks/minikin/include/minikin/
DSparseBitSet.h53 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0; in get()
73 static const int kElMask = (1 << kLogBitsPerEl) - 1; variable
77 static const element kElFirst = ((element)1) << kElMask;