Searched refs:originalDataSize (Results 1 – 2 of 2) sorted by relevance
86 size_t originalDataSize = fontData->getLength() - oldNameTablePhysicalSize; in RenameFont() local87 size_t newDataSize = originalDataSize + nameTablePhysicalSize; in RenameFont()98 …if (fontData->read(data + oldNameTableOffset, originalDataSize - oldNameTableOffset) < originalDat… in RenameFont()119 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize)); in RenameFont()122 SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data + originalDataSize); in RenameFont()128 …cord* nameRecords = reinterpret_cast<SkOTTableName::Record*>(data + originalDataSize + sizeof(SkOT… in RenameFont()138 …SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data + originalDataSize + stringOffset); in RenameFont()143 unsigned char* logical = data + originalDataSize + nameTableLogicalSize; in RenameFont()144 unsigned char* physical = data + originalDataSize + nameTablePhysicalSize; in RenameFont()155 if (headTableOffset + sizeof(SkOTTableHead) < originalDataSize) { in RenameFont()[all …]