Home
last modified time | relevance | path

Searched refs:nextHeaderSize (Results 1 – 4 of 4) sorted by relevance

/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp1510 UInt64 nextHeaderSize = Get64(_header + 20); in ReadDatabase2() local
1515 if (crcFromArc == 0 && nextHeaderOffset == 0 && nextHeaderSize == 0 && nextHeaderCRC == 0) in ReadDatabase2()
1543 nextHeaderSize = checkSize - i; in ReadDatabase2()
1544 nextHeaderOffset = rem - nextHeaderSize; in ReadDatabase2()
1545 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()
1561 nextHeaderSize > ((UInt64)1 << 62)) in ReadDatabase2()
1563 if (nextHeaderSize == 0) in ReadDatabase2()
1574 HeadersSize += kHeaderSize + nextHeaderSize; in ReadDatabase2()
1575 db.PhySize = kHeaderSize + nextHeaderOffset + nextHeaderSize; in ReadDatabase2()
1576 if (_fileEndPosition - db.ArcInfo.StartPositionAfterHeader < nextHeaderOffset + nextHeaderSize) in ReadDatabase2()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DStartHeader.java22 long nextHeaderSize; field in StartHeader
DSevenZFile.java339 final int nextHeaderSizeInt = (int) startHeader.nextHeaderSize; in readHeaders()
340 if (nextHeaderSizeInt != startHeader.nextHeaderSize) { in readHeaders()
341 throw new IOException("cannot handle nextHeaderSize " + startHeader.nextHeaderSize); in readHeaders()
375 startHeader.nextHeaderSize = Long.reverseBytes(dataInputStream.readLong()); in readStartHeader()
/external/lzma/C/
D7zArcIn.c1509 UInt64 nextHeaderOffset, nextHeaderSize; in SzArEx_Open2() local
1526 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()