/external/skqp/src/core/ |
D | SkICC.cpp | 28 SkEndian_SwapBE32(kTAG_TextType), // Type signature 30 SkEndian_SwapBE32(1), // Number of records 31 SkEndian_SwapBE32(12), // Record size (must be 12) 32 SkEndian_SwapBE32(SkSetFourByteTag('e', 'n', 'U', 'S')), // English USA 33 SkEndian_SwapBE32(kDescriptionTagBodySize), // Length of string 34 SkEndian_SwapBE32(28), // Offset of string 38 SkEndian_SwapBE32(kXYZ_PCSSpace), 40 SkEndian_SwapBE32(0x0000f6d6), // X = 0.96420 (D50) 41 SkEndian_SwapBE32(0x00010000), // Y = 1.00000 (D50) 42 SkEndian_SwapBE32(0x0000d32d), // Z = 0.82491 (D50) [all …]
|
D | SkFontStream.cpp | 69 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()
|
D | SkEndian.h | 117 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro 131 #define SkEndian_SwapBE32(n) (n) macro
|
/external/skia/src/core/ |
D | SkICC.cpp | 28 SkEndian_SwapBE32(kTAG_TextType), // Type signature 30 SkEndian_SwapBE32(1), // Number of records 31 SkEndian_SwapBE32(12), // Record size (must be 12) 32 SkEndian_SwapBE32(SkSetFourByteTag('e', 'n', 'U', 'S')), // English USA 33 SkEndian_SwapBE32(kDescriptionTagBodySize), // Length of string 34 SkEndian_SwapBE32(28), // Offset of string 38 SkEndian_SwapBE32(kXYZ_PCSSpace), 40 SkEndian_SwapBE32(0x0000f6d6), // X = 0.96420 (D50) 41 SkEndian_SwapBE32(0x00010000), // Y = 1.00000 (D50) 42 SkEndian_SwapBE32(0x0000d32d), // Z = 0.82491 (D50) [all …]
|
D | SkFontStream.cpp | 69 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()
|
D | SkEndian.h | 117 #define SkEndian_SwapBE32(n) SkEndianSwap32(n) macro 131 #define SkEndian_SwapBE32(n) (n) macro
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 34 sum += SkEndian_SwapBE32(*data); in CalcTableChecksum() 82 …size_t oldNameTablePhysicalSize = (SkEndian_SwapBE32(tableEntry.logicalLength) + 3) & ~3; // Round… in RenameFont() 83 size_t oldNameTableOffset = SkEndian_SwapBE32(tableEntry.offset); in RenameFont() 107 uint32_t oldOffset = SkEndian_SwapBE32(currentEntry->offset); in RenameFont() 109 currentEntry->offset = SkEndian_SwapBE32(SkToU32(oldOffset - oldNameTablePhysicalSize)); in RenameFont() 118 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize)); in RenameFont() 119 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize)); in RenameFont() 150 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont() 154 size_t headTableOffset = SkEndian_SwapBE32(headTableEntry->offset); in RenameFont() 157 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() [all …]
|
D | SkOTTable_glyf.h | 41 fCurrentGlyphOffset = fLocaFormat ? SkEndian_SwapBE32(*fLocaPtr.longOffset) in advance()
|
/external/skqp/src/sfnt/ |
D | SkOTUtils.cpp | 34 sum += SkEndian_SwapBE32(*data); in CalcTableChecksum() 82 …size_t oldNameTablePhysicalSize = (SkEndian_SwapBE32(tableEntry.logicalLength) + 3) & ~3; // Round… in RenameFont() 83 size_t oldNameTableOffset = SkEndian_SwapBE32(tableEntry.offset); in RenameFont() 107 uint32_t oldOffset = SkEndian_SwapBE32(currentEntry->offset); in RenameFont() 109 currentEntry->offset = SkEndian_SwapBE32(SkToU32(oldOffset - oldNameTablePhysicalSize)); in RenameFont() 118 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize)); in RenameFont() 119 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize)); in RenameFont() 150 …nameTableEntry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_U… in RenameFont() 154 size_t headTableOffset = SkEndian_SwapBE32(headTableEntry->offset); in RenameFont() 157 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() [all …]
|
D | SkOTTable_glyf.h | 41 fCurrentGlyphOffset = fLocaFormat ? SkEndian_SwapBE32(*fLocaPtr.longOffset) in advance()
|
/external/skqp/src/ports/ |
D | SkTypeface_win_dw.cpp | 225 coordinates[coordIndex].axis = SkEndian_SwapBE32(fontAxisValue[axisIndex].axisTag); in onGetVariationDesignPosition() 276 parameters[coordIndex].tag = SkEndian_SwapBE32(fontAxisDefaultValue[axisIndex].axisTag); in onGetVariationDesignParameters() 309 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData() 343 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone() 564 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedMetrics()
|
D | SkFontHost_mac.cpp | 1873 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream() 1874 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream() 1876 entry->offset = SkEndian_SwapBE32(SkToU32(dataPtr - dataStart)); in onOpenStream() 1877 entry->logicalLength = SkEndian_SwapBE32(SkToU32(tableSize)); in onOpenStream()
|
D | SkFontHost_win.cpp | 1862 SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream() 2160 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags() 2175 tag = SkEndian_SwapBE32(tag); in onGetTableData()
|
D | SkFontMgr_win_dw.cpp | 989 if (SkEndian_SwapBE32(fontAxisValues[fontIndex].axisTag) == in onMakeFromStreamArgs()
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 225 coordinates[coordIndex].axis = SkEndian_SwapBE32(fontAxisValue[axisIndex].axisTag); in onGetVariationDesignPosition() 276 parameters[coordIndex].tag = SkEndian_SwapBE32(fontAxisDefaultValue[axisIndex].axisTag); in onGetVariationDesignParameters() 309 AutoDWriteTable table(fDWriteFontFace.get(), SkEndian_SwapBE32(tag)); in onGetTableData() 343 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone() 564 info->fItalicAngle = SkEndian_SwapBE32(postTable->italicAngle) >> 16; in onGetAdvancedMetrics()
|
D | SkFontHost_mac.cpp | 1874 entry->tag = SkEndian_SwapBE32(tableTags[tableIndex]); in onOpenStream() 1875 entry->checksum = SkEndian_SwapBE32(SkOTUtils::CalcTableChecksum((SK_OT_ULONG*)dataPtr, in onOpenStream() 1877 entry->offset = SkEndian_SwapBE32(SkToU32(dataPtr - dataStart)); in onOpenStream() 1878 entry->logicalLength = SkEndian_SwapBE32(SkToU32(tableSize)); in onOpenStream()
|
D | SkFontHost_win.cpp | 1862 const DWORD kTTCTag = SkEndian_SwapBE32(SkSetFourByteTag('t', 't', 'c', 'f')); in onOpenStream() 2159 tags[i] = SkEndian_SwapBE32(dir[i].tag); in onGetTableTags() 2174 tag = SkEndian_SwapBE32(tag); in onGetTableData()
|
D | SkFontMgr_win_dw.cpp | 989 if (SkEndian_SwapBE32(fontAxisValues[fontIndex].axisTag) == in onMakeFromStreamArgs()
|
/external/skia/src/codec/ |
D | SkHeifCodec.cpp | 29 uint64_t chunkSize = SkEndian_SwapBE32(ptr[0]); in IsHeif() 30 uint32_t chunkType = SkEndian_SwapBE32(ptr[1]); in IsHeif() 73 uint32_t brand = SkEndian_SwapBE32(*brandPtr); in IsHeif()
|
/external/skqp/src/codec/ |
D | SkHeifCodec.cpp | 29 uint64_t chunkSize = SkEndian_SwapBE32(ptr[0]); in IsHeif() 30 uint32_t chunkType = SkEndian_SwapBE32(ptr[1]); in IsHeif() 73 uint32_t brand = SkEndian_SwapBE32(*brandPtr); in IsHeif()
|
/external/skqp/tests/ |
D | TypefaceTest.cpp | 48 size_t os2TableOffset = SkEndian_SwapBE32(os2TableEntry->offset); in TypefaceStyle_test()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 48 size_t os2TableOffset = SkEndian_SwapBE32(os2TableEntry->offset); in TypefaceStyle_test()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 383 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface() 386 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); in subset_typeface() 395 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface() 396 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra)); in subset_typeface()
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 383 ttcfHeader->numOffsets = SkEndian_SwapBE32(ttcCount); in subset_typeface() 386 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); in subset_typeface() 395 tableDirectory->offset = SkEndian_SwapBE32( in subset_typeface() 396 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra)); in subset_typeface()
|