Lines Matching refs:readU16
32 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()
458 const uint16_t format = readU16(cmap_data, offset + kFormatOffset); in getCoverage()
478 length = readU16(cmap_data, offset + lengthOffset); in getCoverage()
479 language = readU16(cmap_data, offset + languageOffset); in getCoverage()