Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp31 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { in calcNumPages() argument
35 for (size_t i = 0; i < nRanges; i++) { in calcNumPages()
55 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { in initFromRanges() argument
56 if (nRanges == 0) { in initFromRanges()
62 mMaxVal = ranges[nRanges * 2 - 1]; in initFromRanges()
65 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges()
71 for (size_t i = 0; i < nRanges; i++) { in initFromRanges()
/frameworks/minikin/include/minikin/
DSparseBitSet.h45 void initFromRanges(const uint32_t* ranges, size_t nRanges);
78 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);