Searched refs:originalDataSize (Results 1 – 1 of 1) sorted by relevance
83 size_t originalDataSize = fontData->getLength() - oldNameTablePhysicalSize; in RenameFont() local84 size_t newDataSize = originalDataSize + nameTablePhysicalSize; in RenameFont()95 …if (fontData->read(data + oldNameTableOffset, originalDataSize - oldNameTableOffset) < originalDat… in RenameFont()116 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize)); in RenameFont()119 SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data + originalDataSize); in RenameFont()125 …cord* nameRecords = reinterpret_cast<SkOTTableName::Record*>(data + originalDataSize + sizeof(SkOT… in RenameFont()135 …SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data + originalDataSize + stringOffset); in RenameFont()140 unsigned char* logical = data + originalDataSize + nameTableLogicalSize; in RenameFont()141 unsigned char* physical = data + originalDataSize + nameTablePhysicalSize; in RenameFont()152 if (headTableOffset + sizeof(SkOTTableHead) < originalDataSize) { in RenameFont()[all …]