Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp32 uint32_t startPage = start >> kLogValuesPerPage; in calcNumPages()
33 uint32_t endPage = (end - 1) >> kLogValuesPerPage; in calcNumPages()
57 uint32_t indicesCount = (maxVal + kPageMask) >> kLogValuesPerPage; in initFromRanges()
59 uint32_t bitmapsCount = nPages << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
73 uint32_t startPage = start >> kLogValuesPerPage; in initFromRanges()
74 uint32_t endPage = (end - 1) >> kLogValuesPerPage; in initFromRanges()
78 data->mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
84 indices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
87 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
101 indices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
[all …]
/frameworks/minikin/include/minikin/
DSparseBitSet.h57 const uint32_t* bitmap = mData->bitmaps() + mData->indices()[ch >> kLogValuesPerPage]; in get()
78 static const int kLogValuesPerPage = 8; variable
79 static const int kPageMask = (1 << kLogValuesPerPage) - 1;