Home
last modified time | relevance | path

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

/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontUtils.cpp24 static uint16_t readU16(const uint8_t* data, size_t offset) { in readU16() function
43 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle()
45 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle()
64 const uint16_t majorVersion = readU16(fvar_data, kMajorVersionOffset); in analyzeAxes()
65 const uint16_t minorVersion = readU16(fvar_data, kMinorVersionOffset); in analyzeAxes()
66 const uint32_t axisOffset = readU16(fvar_data, kOffsetToAxesArrayOffset); in analyzeAxes()
67 const uint32_t axisCount = readU16(fvar_data, kAxisCountOffset); in analyzeAxes()
68 const uint32_t axisSize = readU16(fvar_data, kAxisSizeOffset); in analyzeAxes()
DCmapCoverage.cpp33 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()
[all …]
/third_party/flutter/txt/src/minikin/
DFontUtils.cpp24 static uint16_t readU16(const uint8_t* data, size_t offset) { in readU16() function
43 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle()
45 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle()
64 const uint16_t majorVersion = readU16(fvar_data, kMajorVersionOffset); in analyzeAxes()
65 const uint16_t minorVersion = readU16(fvar_data, kMinorVersionOffset); in analyzeAxes()
66 const uint32_t axisOffset = readU16(fvar_data, kOffsetToAxesArrayOffset); in analyzeAxes()
67 const uint32_t axisCount = readU16(fvar_data, kAxisCountOffset); in analyzeAxes()
68 const uint32_t axisSize = readU16(fvar_data, kAxisSizeOffset); in analyzeAxes()
DCmapCoverage.cpp33 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()
[all …]
/third_party/skia/src/sksl/
DSkSLRehydrator.cpp89 fIP += this->readU16(); in Rehydrator()
143 uint16_t id = this->readU16(); in symbol()
154 uint16_t id = this->readU16(); in symbol()
183 uint16_t id = this->readU16(); in symbol()
201 uint16_t id = this->readU16(); in symbol()
206 uint16_t id = this->readU16(); in symbol()
215 uint16_t id = this->readU16(); in symbol()
223 uint16_t id = this->readU16(); in symbol()
238 uint16_t id = this->readU16(); in symbol()
548 uint16_t ownedCount = this->readU16(); in symbolTable()
[all …]
DSkSLRehydrator.h167 uint16_t readU16() { in readU16() function
184 uint16_t offset = this->readU16(); in readString()
199 uint16_t result = this->readU16(); in symbolRef()
/third_party/skia/experimental/skrive/src/reader/
DBinaryReader.cpp62 return validateSize(sizeof(v)) && fStream->readU16(&v) in readUInt16()
/third_party/flutter/skia/src/core/
DSkReader32.h106 uint16_t readU16() { return (uint16_t)this->readInt(); } in readU16() function
DSkStream.cpp52 if (!this->readU16(&i16)) { return false; } in readPackedUInt()
/third_party/skia/include/core/
DSkStream.h93 bool SK_WARN_UNUSED_RESULT readU16(uint16_t* i) { return this->readS16((int16_t*)i); } in readU16() function
/third_party/flutter/skia/include/core/
DSkStream.h93 bool SK_WARN_UNUSED_RESULT readU16(uint16_t* i) { return this->readS16((int16_t*)i); } in readU16() function
/third_party/skia/src/core/
DSkStream.cpp52 if (!this->readU16(&i16)) { return false; } in readPackedUInt()