Home
last modified time | relevance | path

Searched refs:SparseBitSet (Results 1 – 10 of 10) sorted by relevance

/frameworks/minikin/include/minikin/
DSparseBitSet.h33 class SparseBitSet {
36 SparseBitSet() : mMaxVal(0) {} in SparseBitSet() function
41 SparseBitSet(const uint32_t* ranges, size_t nRanges) : SparseBitSet() { in SparseBitSet() function
45 SparseBitSet(SparseBitSet&&) = default;
46 SparseBitSet& operator=(SparseBitSet&&) = default;
90 SparseBitSet(const SparseBitSet&) = delete;
91 void operator=(const SparseBitSet&) = delete;
DFontFamily.h55 const SparseBitSet& getCoverage() const { return mCoverage; } in getCoverage()
79 SparseBitSet mCoverage;
80 std::vector<std::unique_ptr<SparseBitSet>> mCmapFmt14Coverage;
DCmapCoverage.h29 static SparseBitSet getCoverage(const uint8_t* cmap_data, size_t cmap_size,
30 std::vector<std::unique_ptr<SparseBitSet>>* out);
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp288 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
294 SparseBitSet coverage = in TEST()
305 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
315 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
324 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
333 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
340 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
355 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
363 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
379 SparseBitSet coverage = CmapCoverage::getCoverage(cmap.data(), cmap.size(), &vsTables); in TEST()
[all …]
DSparseBitSetTest.cpp36 SparseBitSet bitset(range.data(), range.size() / 2); in TEST()
/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp23 const uint32_t SparseBitSet::kNotFound;
25 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { in calcNumPages()
49 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { in initFromRanges()
102 int SparseBitSet::CountLeadingZeros(element x) { in CountLeadingZeros()
107 uint32_t SparseBitSet::nextSetBit(uint32_t fromIndex) const { in nextSetBit()
DCmapCoverage.cpp292 const SparseBitSet& baseCoverage) { in getVSCoverage()
371 static void getCoverageFormat14(std::vector<std::unique_ptr<SparseBitSet>>* out, in getCoverageFormat14()
373 const SparseBitSet& baseCoverage) { in getCoverageFormat14()
420 (*out)[vsIndex].reset(new SparseBitSet(ranges.data(), ranges.size() >> 1)); in getCoverageFormat14()
426 SparseBitSet CmapCoverage::getCoverage(const uint8_t* cmap_data, size_t cmap_size, in getCoverage()
427 std::vector<std::unique_ptr<SparseBitSet>>* out) { in getCoverage()
438 return SparseBitSet(); in getCoverage()
442 return SparseBitSet(); in getCoverage()
516 SparseBitSet coverage; in getCoverage()
530 coverage = SparseBitSet(&coverageVec.front(), coverageVec.size() >> 1); in getCoverage()
DAndroid.bp47 "SparseBitSet.cpp",
DFontFamily.cpp193 const std::unique_ptr<SparseBitSet>& bitset = mCmapFmt14Coverage[vsIndex]; in hasGlyph()
DFontCollection.cpp66 const SparseBitSet& coverage = family->getCoverage(); in init()