Home
last modified time | relevance | path

Searched refs:nameTableLogicalSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/sfnt/
DSkOTUtils.cpp79 …size_t nameTableLogicalSize = sizeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record))… in RenameFont() local
80 … size_t nameTablePhysicalSize = (nameTableLogicalSize + 3) & ~3; // Rounded up to a multiple of 4. in RenameFont()
118 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize)); in RenameFont()
143 unsigned char* logical = data + originalDataSize + nameTableLogicalSize; in RenameFont()
150 …E32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(nameTable), nameTableLogicalSize)); in RenameFont()
/external/skqp/src/sfnt/
DSkOTUtils.cpp79 …size_t nameTableLogicalSize = sizeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record))… in RenameFont() local
80 … size_t nameTablePhysicalSize = (nameTableLogicalSize + 3) & ~3; // Rounded up to a multiple of 4. in RenameFont()
118 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize)); in RenameFont()
143 unsigned char* logical = data + originalDataSize + nameTableLogicalSize; in RenameFont()
150 …E32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(nameTable), nameTableLogicalSize)); in RenameFont()