Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp25 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { in calcNumPages() argument
29 for (size_t i = 0; i < nRanges; i++) { in calcNumPages()
49 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { in initFromRanges() argument
50 if (nRanges == 0) { in initFromRanges()
53 const uint32_t maxVal = ranges[nRanges * 2 - 1]; in initFromRanges()
62 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges()
69 for (size_t i = 0; i < nRanges; i++) { in initFromRanges()
/frameworks/minikin/include/minikin/
DSparseBitSet.h42 SparseBitSet(const uint32_t* ranges, size_t nRanges) : SparseBitSet() { in SparseBitSet() argument
43 initFromRanges(ranges, nRanges); in SparseBitSet()
71 void initFromRanges(const uint32_t* ranges, size_t nRanges);
86 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);