Home
last modified time | relevance | path

Searched refs:SkEndian_SwapBE32 (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/core/
DSkFontStream.cpp68 uint32_t tag = SkEndian_SwapBE32(header->fCollection.fTag); in count_tables()
70 unsigned count = SkEndian_SwapBE32(header->fCollection.fNumOffsets); in count_tables()
84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); in count_tables()
147 uint32_t tag = SkEndian_SwapBE32(shared.fCollection.fTag); in CountTTCEntries()
149 return SkEndian_SwapBE32(shared.fCollection.fNumOffsets); in CountTTCEntries()
164 tags[i] = SkEndian_SwapBE32(header.fDir[i].fTag); in GetTableTags()
179 if (SkEndian_SwapBE32(header.fDir[i].fTag) == tag) { in GetTableData()
180 size_t realOffset = SkEndian_SwapBE32(header.fDir[i].fOffset); in GetTableData()
181 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
/external/chromium_org/third_party/skia/src/core/
DSkFontStream.cpp68 uint32_t tag = SkEndian_SwapBE32(header->fCollection.fTag); in count_tables()
70 unsigned count = SkEndian_SwapBE32(header->fCollection.fNumOffsets); in count_tables()
84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); in count_tables()
147 uint32_t tag = SkEndian_SwapBE32(shared.fCollection.fTag); in CountTTCEntries()
149 return SkEndian_SwapBE32(shared.fCollection.fNumOffsets); in CountTTCEntries()
164 tags[i] = SkEndian_SwapBE32(header.fDir[i].fTag); in GetTableTags()
179 if (SkEndian_SwapBE32(header.fDir[i].fTag) == tag) { in GetTableData()
180 size_t realOffset = SkEndian_SwapBE32(header.fDir[i].fOffset); in GetTableData()
181 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
/external/chromium_org/third_party/skia/src/sfnt/
DSkOTUtils.cpp31 sum += SkEndian_SwapBE32(*data); in CalcTableChecksum()
79 …size_t oldNameTablePhysicalSize = (SkEndian_SwapBE32(tableEntry.logicalLength) + 3) & ~3; // Round… in RenameFont()
80 size_t oldNameTableOffset = SkEndian_SwapBE32(tableEntry.offset); in RenameFont()
104 uint32_t oldOffset = SkEndian_SwapBE32(currentEntry->offset); in RenameFont()
106 currentEntry->offset = SkEndian_SwapBE32(oldOffset - oldNameTablePhysicalSize); in RenameFont()
115 nameTableEntry->logicalLength = SkEndian_SwapBE32(nameTableLogicalSize); in RenameFont()
116 nameTableEntry->offset = SkEndian_SwapBE32(originalDataSize); in RenameFont()
147 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont()
151 size_t headTableOffset = SkEndian_SwapBE32(headTableEntry->offset); in RenameFont()
154 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
[all …]
DSkOTTable_glyf.h42 fCurrentGlyphOffset = fLocaFormat ? SkEndian_SwapBE32(*fLocaPtr.longOffset) in advance()
/external/skia/src/sfnt/
DSkOTUtils.cpp31 sum += SkEndian_SwapBE32(*data); in CalcTableChecksum()
79 …size_t oldNameTablePhysicalSize = (SkEndian_SwapBE32(tableEntry.logicalLength) + 3) & ~3; // Round… in RenameFont()
80 size_t oldNameTableOffset = SkEndian_SwapBE32(tableEntry.offset); in RenameFont()
104 uint32_t oldOffset = SkEndian_SwapBE32(currentEntry->offset); in RenameFont()
106 currentEntry->offset = SkEndian_SwapBE32(oldOffset - oldNameTablePhysicalSize); in RenameFont()
115 nameTableEntry->logicalLength = SkEndian_SwapBE32(nameTableLogicalSize); in RenameFont()
116 nameTableEntry->offset = SkEndian_SwapBE32(originalDataSize); in RenameFont()
147 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont()
151 size_t headTableOffset = SkEndian_SwapBE32(headTableEntry->offset); in RenameFont()
154 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
[all …]
DSkOTTable_glyf.h42 fCurrentGlyphOffset = fLocaFormat ? SkEndian_SwapBE32(*fLocaPtr.longOffset) in advance()
/external/chromium_org/third_party/skia/include/core/
DSkEndian.h118 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro
132 #define SkEndian_SwapBE32(n) (n) macro
/external/skia/include/core/
DSkEndian.h118 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro
132 #define SkEndian_SwapBE32(n) (n) macro
/external/skia/src/ports/
DSkFontHost_mac.cpp1724 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream()
1725 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
1727 entry->offset = SkEndian_SwapBE32(dataPtr - dataStart); in onOpenStream()
1728 entry->logicalLength = SkEndian_SwapBE32(tableSize); in onOpenStream()
DSkFontHost_win.cpp2050 SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream()
2343 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags()
2358 tag = SkEndian_SwapBE32(tag); in onGetTableData()
DSkFontHost_win_dw.cpp1228 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData()
1572 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedTypefaceMetrics()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp1724 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream()
1725 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
1727 entry->offset = SkEndian_SwapBE32(dataPtr - dataStart); in onOpenStream()
1728 entry->logicalLength = SkEndian_SwapBE32(tableSize); in onOpenStream()
DSkFontHost_win.cpp2050 SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream()
2343 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags()
2358 tag = SkEndian_SwapBE32(tag); in onGetTableData()
DSkFontHost_win_dw.cpp1228 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData()
1572 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedTypefaceMetrics()
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp385 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface()
388 *offsetPtr = SkEndian_SwapBE32(extra); in subset_typeface()
397 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface()
398 SkEndian_SwapBE32(tableDirectory->offset) + extra); in subset_typeface()
/external/skia/src/device/xps/
DSkXPSDevice.cpp385 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface()
388 *offsetPtr = SkEndian_SwapBE32(extra); in subset_typeface()
397 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface()
398 SkEndian_SwapBE32(tableDirectory->offset) + extra); in subset_typeface()