Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontUtils.cpp25 static uint16_t readU16(const uint8_t* data, size_t offset) { in readU16() function
41 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle()
43 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle()
60 const uint16_t majorVersion = readU16(fvar_data, kMajorVersionOffset); in analyzeAxes()
61 const uint16_t minorVersion = readU16(fvar_data, kMinorVersionOffset); in analyzeAxes()
62 const uint32_t axisOffset = readU16(fvar_data, kOffsetToAxesArrayOffset); in analyzeAxes()
63 const uint32_t axisCount = readU16(fvar_data, kAxisCountOffset); in analyzeAxes()
64 const uint32_t axisSize = readU16(fvar_data, kAxisSizeOffset); in analyzeAxes()
DCmapCoverage.cpp32 static uint32_t readU16(const uint8_t* data, size_t offset) { in readU16() function
161 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4()
166 uint32_t end = readU16(data, kEndCountOffset + 2 * i); in getCoverageFormat4()
167 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
173 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
175 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
197 uint32_t glyphId = readU16(data, actualRangeOffset); in getCoverageFormat4()
440 uint32_t numTables = readU16(cmap_data, kNumTablesOffset); in getCoverage()
451 const uint16_t platformId = readU16(cmap_data, tableHeadOffset + kPlatformIdOffset); in getCoverage()
452 const uint16_t encodingId = readU16(cmap_data, tableHeadOffset + kEncodingIdOffset); in getCoverage()
[all …]