Searched refs:nextHeaderSize (Results 1 – 2 of 2) sorted by relevance
1155 UInt64 nextHeaderSize = Get64(_header + 0x14); in ReadDatabase2() local1160 if (crcFromArchive == 0 && nextHeaderOffset == 0 && nextHeaderSize == 0 && nextHeaderCRC == 0) in ReadDatabase2()1180 nextHeaderSize = checkSize - i; in ReadDatabase2()1182 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()1194 if (nextHeaderSize == 0) in ReadDatabase2()1197 if (nextHeaderSize > (UInt64)0xFFFFFFFF) in ReadDatabase2()1206 buffer2.SetCapacity((size_t)nextHeaderSize); in ReadDatabase2()1208 RINOK(ReadStream_FALSE(_stream, buffer2, (size_t)nextHeaderSize)); in ReadDatabase2()1209 HeadersSize += kHeaderSize + nextHeaderSize; in ReadDatabase2()1210 db.PhySize = kHeaderSize + nextHeaderOffset + nextHeaderSize; in ReadDatabase2()[all …]
1222 UInt64 nextHeaderOffset, nextHeaderSize; in SzArEx_Open2() local1239 nextHeaderSize = GetUi64(header + 20); in SzArEx_Open2()1247 nextHeaderSizeT = (size_t)nextHeaderSize; in SzArEx_Open2()1248 if (nextHeaderSizeT != nextHeaderSize) in SzArEx_Open2()1252 if (nextHeaderOffset > nextHeaderOffset + nextHeaderSize || in SzArEx_Open2()1253 nextHeaderOffset > nextHeaderOffset + nextHeaderSize + k7zStartHeaderSize) in SzArEx_Open2()1261 (UInt64)pos < startArcPos + k7zStartHeaderSize + nextHeaderOffset + nextHeaderSize) in SzArEx_Open2()