Searched refs:cmap_data (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | CmapCoverage.cpp | 134 bool CmapCoverage::getCoverage(SparseBitSet& coverage, const uint8_t* cmap_data, size_t cmap_size, in getCoverage() argument 152 uint32_t numTables = readU16(cmap_data, kNumTablesOffset); in getCoverage() 159 uint16_t platformId = readU16(cmap_data, kHeaderSize + i * kTableSize + kPlatformIdOffset); in getCoverage() 160 uint16_t encodingId = readU16(cmap_data, kHeaderSize + i * kTableSize + kEncodingIdOffset); in getCoverage() 168 uint32_t offset = readU32(cmap_data, kHeaderSize + i * kTableSize + kOffsetOffset); in getCoverage() 169 if (offset <= cmap_size - 2 && readU16(cmap_data, offset) == 14) { in getCoverage() 181 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); in getCoverage() 185 uint16_t format = readU16(cmap_data, offset); in getCoverage() 187 const uint8_t* tableData = cmap_data + offset; in getCoverage()
|
/frameworks/minikin/include/minikin/ |
D | CmapCoverage.h | 26 static bool getCoverage(SparseBitSet &coverage, const uint8_t* cmap_data, size_t cmap_size,
|