Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkICC.cpp149 SkEndian_SwapBE32(kTAG_TextType), // Type signature
151 SkEndian_SwapBE32(1), // Number of records
152 SkEndian_SwapBE32(12), // Record size (must be 12)
153 SkEndian_SwapBE32(SkSetFourByteTag('e', 'n', 'U', 'S')), // English USA
154 SkEndian_SwapBE32(sizeof(kDescriptionTagBody)), // Length of string
155 SkEndian_SwapBE32(28), // Offset of string
159 SkEndian_SwapBE32(kXYZ_PCSSpace),
161 SkEndian_SwapBE32(0x0000f6d6), // X = 0.96420 (D50)
162 SkEndian_SwapBE32(0x00010000), // Y = 1.00000 (D50)
163 SkEndian_SwapBE32(0x0000d32d), // Z = 0.82491 (D50)
[all …]
DSkFontStream.cpp69 uint32_t tag = SkEndian_SwapBE32(header->fCollection.fTag); in count_tables()
71 unsigned count = SkEndian_SwapBE32(header->fCollection.fNumOffsets); in count_tables()
85 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); in count_tables()
148 uint32_t tag = SkEndian_SwapBE32(shared.fCollection.fTag); in CountTTCEntries()
150 return SkEndian_SwapBE32(shared.fCollection.fNumOffsets); in CountTTCEntries()
165 tags[i] = SkEndian_SwapBE32(header.fDir[i].fTag); in GetTableTags()
180 if (SkEndian_SwapBE32(header.fDir[i].fTag) == tag) { in GetTableData()
181 size_t realOffset = SkEndian_SwapBE32(header.fDir[i].fOffset); in GetTableData()
182 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
DSkEndian.h117 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro
131 #define SkEndian_SwapBE32(n) (n) macro
/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.h41 fCurrentGlyphOffset = fLocaFormat ? SkEndian_SwapBE32(*fLocaPtr.longOffset) in advance()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp203 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData()
410 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedTypefaceMetrics()
DSkFontHost_mac.cpp1654 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream()
1655 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream()
1657 entry->offset = SkEndian_SwapBE32(SkToU32(dataPtr - dataStart)); in onOpenStream()
1658 entry->logicalLength = SkEndian_SwapBE32(SkToU32(tableSize)); in onOpenStream()
DSkFontHost_win.cpp1935 SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream()
2228 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags()
2243 tag = SkEndian_SwapBE32(tag); in onGetTableData()
/external/skia/tests/
DTypefaceTest.cpp45 size_t os2TableOffset = SkEndian_SwapBE32(os2TableEntry->offset); in TypefaceStyle_test()
/external/skia/src/xps/
DSkXPSDevice.cpp381 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface()
384 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); in subset_typeface()
393 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface()
394 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra)); in subset_typeface()