Home
last modified time | relevance | path

Searched refs:sfntHeader (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/src/sfnt/
DSkOTUtils.cpp42 SkSFNTHeader sfntHeader; in RenameFont() local
43 if (fontData->read(&sfntHeader, sizeof(sfntHeader)) < sizeof(sfntHeader)) { in RenameFont()
50 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont()
/third_party/skia/src/sfnt/
DSkOTUtils.cpp44 SkSFNTHeader sfntHeader; in RenameFont() local
45 if (fontData->read(&sfntHeader, sizeof(sfntHeader)) < sizeof(sfntHeader)) { in RenameFont()
52 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont()
/third_party/skia/src/utils/mac/
DSkCTFont.cpp335 const SkSFNTHeader* sfntHeader = reinterpret_cast<const SkSFNTHeader*>(data->data()); in SkCTFontGetDataFontWeightMapping() local
337 SkTAfter<const SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in SkCTFontGetDataFontWeightMapping()
339 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in SkCTFontGetDataFontWeightMapping()
/third_party/flutter/skia/tests/
DTypefaceTest.cpp39 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test() local
42 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
44 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test()
54 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset); in TypefaceStyle_test()
/third_party/skia/tests/
DTypefaceTest.cpp38 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test() local
41 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
43 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test()
53 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset); in TypefaceStyle_test()
/third_party/skia/src/xps/
DSkXPSDevice.cpp386 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
387 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()
389 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp390 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface() local
391 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()
393 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()