Home
last modified time | relevance | path

Searched refs:SkEndian_SwapBE32 (Results 1 – 8 of 8) 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/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(SkToU32(oldOffset - oldNameTablePhysicalSize)); in RenameFont()
115 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize)); in RenameFont()
116 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(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/include/core/
DSkEndian.h117 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro
131 #define SkEndian_SwapBE32(n) (n) macro
/external/skia/src/ports/
DSkTypeface_win_dw.cpp196 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData()
413 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedTypefaceMetrics()
DSkFontHost_mac.cpp1741 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream()
1742 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
1744 entry->offset = SkEndian_SwapBE32(SkToU32(dataPtr - dataStart)); in onOpenStream()
1745 entry->logicalLength = SkEndian_SwapBE32(SkToU32(tableSize)); in onOpenStream()
DSkFontHost_win.cpp1969 SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream()
2262 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags()
2277 tag = SkEndian_SwapBE32(tag); in onGetTableData()
/external/skia/src/device/xps/
DSkXPSDevice.cpp386 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface()
389 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); in subset_typeface()
398 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface()
399 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra)); in subset_typeface()