Home
last modified time | relevance | path

Searched refs:SkSFNTHeader (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/sfnt/
DSkOTUtils.cpp39 SkSFNTHeader sfntHeader; in RenameFont()
46 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()
100SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()
101 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
102 SkSFNTHeader::TableDirectoryEntry* headTableEntry = NULL; in RenameFont()
114SkSFNTHeader::TableDirectoryEntry* nameTableEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryE… in RenameFont()
DSkSFNTHeader.h20 struct SkSFNTHeader { struct
67 SK_COMPILE_ASSERT(sizeof(SkSFNTHeader) == 12, sizeof_SkSFNTHeader_not_12); argument
68 SK_COMPILE_ASSERT(sizeof(SkSFNTHeader::TableDirectoryEntry) == 16, sizeof_SkSFNTHeader_TableDirecto…
/external/chromium_org/third_party/skia/src/sfnt/
DSkOTUtils.cpp39 SkSFNTHeader sfntHeader; in RenameFont()
46 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()
100SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()
101 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
102 SkSFNTHeader::TableDirectoryEntry* headTableEntry = NULL; in RenameFont()
114SkSFNTHeader::TableDirectoryEntry* nameTableEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryE… in RenameFont()
DSkSFNTHeader.h20 struct SkSFNTHeader { struct
67 SK_COMPILE_ASSERT(sizeof(SkSFNTHeader) == 12, sizeof_SkSFNTHeader_not_12); argument
68 SK_COMPILE_ASSERT(sizeof(SkSFNTHeader::TableDirectoryEntry) == 16, sizeof_SkSFNTHeader_TableDirecto…
/external/chromium_org/third_party/skia/src/core/
DSkFontStream.cpp12 struct SkSFNTHeader { struct
28 SkSFNTHeader fSingle; argument
89 if (!read(stream, header, sizeof(SkSFNTHeader))) { in count_tables()
96 *offsetToDir = offset + sizeof(SkSFNTHeader); in count_tables()
/external/skia/src/core/
DSkFontStream.cpp12 struct SkSFNTHeader { struct
28 SkSFNTHeader fSingle; argument
89 if (!read(stream, header, sizeof(SkSFNTHeader))) { in count_tables()
96 *offsetToDir = offset + sizeof(SkSFNTHeader); in count_tables()
/external/skia/src/ports/
DSkFontHost_mac.cpp1655 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()
1657 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1659 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1661 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()
1663 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1669 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1687 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
1711 SkSFNTHeader* header = (SkSFNTHeader*)dataPtr; in onOpenStream()
1717 dataPtr += sizeof(SkSFNTHeader); in onOpenStream()
1720 SkSFNTHeader::TableDirectoryEntry* entry = (SkSFNTHeader::TableDirectoryEntry*)dataPtr; in onOpenStream()
[all …]
DSkFontHost_win.cpp2346 SkSFNTHeader header; in onGetTableTags()
2354 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2355 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp1652 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()
1654 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1656 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1658 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()
1660 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1666 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1684 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
1708 SkSFNTHeader* header = (SkSFNTHeader*)dataPtr; in onOpenStream()
1714 dataPtr += sizeof(SkSFNTHeader); in onOpenStream()
1717 SkSFNTHeader::TableDirectoryEntry* entry = (SkSFNTHeader::TableDirectoryEntry*)dataPtr; in onOpenStream()
[all …]
DSkFontHost_win.cpp2318 SkSFNTHeader header; in onGetTableTags()
2326 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2327 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/external/chromium_org/third_party/skia/gyp/
Dsfnt.gyp40 '../src/sfnt/SkSFNTHeader.h',
/external/skia/gyp/
Dsfnt.gyp40 '../src/sfnt/SkSFNTHeader.h',
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp392 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
394 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()
395 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()
/external/skia/src/device/xps/
DSkXPSDevice.cpp393 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
395 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()
396 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()