Searched refs:nextHeaderSize (Results 1 – 2 of 2) sorted by relevance
1524 UInt64 nextHeaderSize = Get64(_header + 20); in ReadDatabase2() local1529 if (crcFromArc == 0 && nextHeaderOffset == 0 && nextHeaderSize == 0 && nextHeaderCRC == 0) in ReadDatabase2()1557 nextHeaderSize = checkSize - i; in ReadDatabase2()1558 nextHeaderOffset = rem - nextHeaderSize; in ReadDatabase2()1559 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()1575 nextHeaderSize > ((UInt64)1 << 62)) in ReadDatabase2()1577 if (nextHeaderSize == 0) in ReadDatabase2()1588 HeadersSize += kHeaderSize + nextHeaderSize; in ReadDatabase2()1589 db.PhySize = kHeaderSize + nextHeaderOffset + nextHeaderSize; in ReadDatabase2()1590 if (_fileEndPosition - db.ArcInfo.StartPositionAfterHeader < nextHeaderOffset + nextHeaderSize) in ReadDatabase2()[all …]
1576 UInt64 nextHeaderOffset, nextHeaderSize; in SzArEx_Open2() local1593 nextHeaderSize = GetUi64(header + 20); in SzArEx_Open2()1601 nextHeaderSizeT = (size_t)nextHeaderSize; in SzArEx_Open2()1602 if (nextHeaderSizeT != nextHeaderSize) in SzArEx_Open2()1606 if (nextHeaderOffset > nextHeaderOffset + nextHeaderSize || in SzArEx_Open2()1607 nextHeaderOffset > nextHeaderOffset + nextHeaderSize + k7zStartHeaderSize) in SzArEx_Open2()1615 (UInt64)pos < startArcPos + k7zStartHeaderSize + nextHeaderOffset + nextHeaderSize) in SzArEx_Open2()