Searched refs:readU16 (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | CmapCoverage.cpp | 31 static uint32_t readU16(const uint8_t* data, size_t offset) { in readU16() function 61 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4() 66 uint32_t end = readU16(data, kEndCountOffset + 2 * i); in getCoverageFormat4() 67 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4() 73 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4() 75 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4() 93 uint32_t glyphId = readU16(data, actualRangeOffset); in getCoverageFormat4() 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() [all …]
|
D | AnalyzeStyle.cpp | 25 static int32_t readU16(const uint8_t* data, size_t offset) { in readU16() function 36 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle() 38 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle()
|