Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp59 uint32_t bitmapsCount = nPages << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges() local
60 MappableData* data = MappableData::allocate(indicesCount, bitmapsCount); in initFromRanges()
65 memset(bitmaps, 0, sizeof(uint32_t) * bitmapsCount); in initFromRanges()
170 uint32_t bitmapsCount) { in allocate() argument
172 malloc(MappableData::calcSize(indicesCount, bitmapsCount))); in allocate()
174 data->mBitmapsCount = bitmapsCount; in allocate()
/frameworks/minikin/include/minikin/
DSparseBitSet.h115 static size_t calcSize(uint32_t indicesCount, uint32_t bitmapsCount) { in calcSize()
120 size_t arrayCount = bitmapsCount + (indicesCount + 1) / 2; in calcSize()
123 static MappableData* allocate(uint32_t indicesCount, uint32_t bitmapsCount);