Home
last modified time | relevance | path

Searched refs:kPageMask (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp58 mIndices.reset(new uint16_t[(mMaxVal + kPageMask) >> kLogValuesPerPage]); in initFromRanges()
83 ((start & kPageMask) >> kLogBitsPerEl); in initFromRanges()
113 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit()
121 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()
124 uint32_t maxPage = (mMaxVal + kPageMask) >> kLogValuesPerPage; in nextSetBit()
DFontCollection.cpp81 size_t nPages = (mMaxChar + kPageMask) >> kLogCharsPerPage; in init()
/frameworks/minikin/include/minikin/
DSparseBitSet.h52 uint32_t index = ch & kPageMask; in get()
70 static const int kPageMask = (1 << kLogValuesPerPage) - 1; variable
DFontCollection.h73 static const int kPageMask = (1 << kLogCharsPerPage) - 1; variable