Lines Matching refs:readU16
33 static uint32_t readU16(const uint8_t* data, size_t offset) { in readU16() function
67 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4()
72 uint32_t end = readU16(data, kEndCountOffset + 2 * i); in getCoverageFormat4()
73 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
79 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
81 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
99 uint32_t glyphId = readU16(data, actualRangeOffset); in getCoverageFormat4()
206 uint32_t numTables = readU16(cmap_data, kNumTablesOffset); in getCoverage()
218 readU16(cmap_data, tableHeadOffset + kPlatformIdOffset); in getCoverage()
220 readU16(cmap_data, tableHeadOffset + kEncodingIdOffset); in getCoverage()
226 const uint16_t format = readU16(cmap_data, offset + kFormatOffset); in getCoverage()
247 length = readU16(cmap_data, offset + lengthOffset); in getCoverage()
248 language = readU16(cmap_data, offset + languageOffset); in getCoverage()