Home
last modified time | relevance | path

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

/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp1155 UInt64 nextHeaderSize = Get64(_header + 0x14); in ReadDatabase2() local
1160 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 …]
/external/lzma/C/
D7zIn.c1222 UInt64 nextHeaderOffset, nextHeaderSize; in SzArEx_Open2() local
1239 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()