Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()
/external/skqp/tests/
DTypefaceTest.cpp34 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test() local
37 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test()
49 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset); in TypefaceStyle_test()
/external/skia/tests/
DTypefaceTest.cpp34 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test() local
37 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test()
49 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset); in TypefaceStyle_test()
/external/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()
/external/skqp/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()