Searched refs:nextHeaderSize (Results 1 – 2 of 2) sorted by relevance
1488 UInt64 nextHeaderSize = Get64(_header + 20); in ReadDatabase2() local1493 if (crcFromArc == 0 && nextHeaderOffset == 0 && nextHeaderSize == 0 && nextHeaderCRC == 0) in ReadDatabase2()1521 nextHeaderSize = checkSize - i; in ReadDatabase2()1522 nextHeaderOffset = rem - nextHeaderSize; in ReadDatabase2()1523 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()1539 nextHeaderSize > ((UInt64)1 << 62)) in ReadDatabase2()1541 if (nextHeaderSize == 0) in ReadDatabase2()1552 HeadersSize += kHeaderSize + nextHeaderSize; in ReadDatabase2()1553 db.PhySize = kHeaderSize + nextHeaderOffset + nextHeaderSize; in ReadDatabase2()1554 if (_fileEndPosition - db.ArcInfo.StartPositionAfterHeader < nextHeaderOffset + nextHeaderSize) in ReadDatabase2()[all …]
1509 UInt64 nextHeaderOffset, nextHeaderSize; in SzArEx_Open2() local1526 nextHeaderSize = GetUi64(header + 20); in SzArEx_Open2()1534 nextHeaderSizeT = (size_t)nextHeaderSize; in SzArEx_Open2()1535 if (nextHeaderSizeT != nextHeaderSize) in SzArEx_Open2()1539 if (nextHeaderOffset > nextHeaderOffset + nextHeaderSize || in SzArEx_Open2()1540 nextHeaderOffset > nextHeaderOffset + nextHeaderSize + k7zStartHeaderSize) in SzArEx_Open2()1548 (UInt64)pos < startArcPos + k7zStartHeaderSize + nextHeaderOffset + nextHeaderSize) in SzArEx_Open2()