/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zIn.h | 68 void ParseFolderInfo(unsigned folderIndex, CFolder &folder) const;
69 void ParseFolderEx(unsigned folderIndex, CFolderEx &folder) const
in ParseFolderEx() 71 ParseFolderInfo(folderIndex, folder);
in ParseFolderEx() 72 folder.UnpackCoder = FoToMainUnpackSizeIndex[folderIndex];
in ParseFolderEx() 75 unsigned GetNumFolderUnpackSizes(unsigned folderIndex) const
in GetNumFolderUnpackSizes() 77 return (unsigned)(FoToCoderUnpackSizes[folderIndex + 1] - FoToCoderUnpackSizes[folderIndex]);
in GetNumFolderUnpackSizes() 80 UInt64 GetFolderUnpackSize(unsigned folderIndex) const
in GetFolderUnpackSize() 82 return CoderUnpackSizes[FoToCoderUnpackSizes[folderIndex] + FoToMainUnpackSizeIndex[folderIndex]];
in GetFolderUnpackSize() 297 CNum folderIndex = FileIndexToFolderIndexMap[fileIndex]; GetFilePackSize() local [all...] |
H A D | 7zExtract.cpp | 260 const CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex];
in Extract() local 261 if (folderIndex == kNumNoIndex)
in Extract() 263 if (folderIndex != prevFolder || fileIndex < nextFile)
in Extract() 264 nextFile = _db.FolderStartFileIndex[folderIndex];
in Extract() 268 prevFolder = folderIndex;
in Extract() 318 const CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex];
in Extract() local 322 if (folderIndex != kNumNoIndex)
in Extract() 324 curPacked = _db.GetFolderFullPackSize(folderIndex);
in Extract() 326 fileIndex = _db.FolderStartFileIndex[folderIndex];
in Extract() 332 if (_db.FileIndexToFolderIndexMap[fileIndex2] != folderIndex
in Extract() [all...] |
H A D | 7zHandler.cpp | 289 bool CHandler::IsFolderEncrypted(CNum folderIndex) const
in IsFolderEncrypted() 291 if (folderIndex == kNumNoIndex)
in IsFolderEncrypted() 293 const size_t startPos = _db.FoCodersDataOffset[folderIndex];
in IsFolderEncrypted() 295 const size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos;
in IsFolderEncrypted() 386 HRESULT CHandler::SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const
in SetMethodToProp() argument 389 if (folderIndex == kNumNoIndex)
in SetMethodToProp() 397 const size_t startPos = _db.FoCodersDataOffset[folderIndex];
in SetMethodToProp() 399 const size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos;
in SetMethodToProp() 594 const CNum folderIndex = _db.FileIndexToFolderIndexMap[index2];
in GetProperty() local 595 if (folderIndex ! in GetProperty() 640 const CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; GetProperty() local 652 const CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; GetProperty() local [all...] |
H A D | 7zIn.cpp | 509 void CFolders::ParseFolderInfo(unsigned folderIndex, CFolder &folder) const
in ParseFolderInfo() argument 511 const size_t startPos = FoCodersDataOffset[folderIndex];
in ParseFolderInfo() 513 inByte.Init(CodersData + startPos, FoCodersDataOffset[folderIndex + 1] - startPos);
in ParseFolderInfo() 1515 CNum folderIndex = 0;
in FillLinks() local 1533 if (folderIndex >= NumFolders)
in FillLinks() 1535 FolderStartFileIndex[folderIndex] = i;
in FillLinks() 1536 if (NumUnpackStreamsVector[folderIndex] != 0)
in FillLinks() 1538 folderIndex++;
in FillLinks() 1541 FileIndexToFolderIndexMap[i] = folderIndex;
in FillLinks() 1544 if (++indexInFolder >= NumUnpackStreamsVector[folderIndex])
in FillLinks() [all...] |
H A D | 7zUpdate.cpp | 2272 const unsigned folderIndex = rep.FolderIndex;
in Update() local 2274 const CNum numUnpackStreams = db->NumUnpackStreamsVector[folderIndex];
in Update() 2281 NEventIndexType::kBlockIndex, (UInt32)folderIndex,
in Update() 2287 for (CNum fi = db->FolderStartFileIndex[folderIndex]; indexInFolder < numUnpackStreams; fi++)
in Update() 2300 const UInt64 packSize = db->GetFolderFullPackSize(folderIndex);
in Update() 2302 db->GetFolderStreamPos(folderIndex, 0), packSize, progress))
in Update() 2308 if (db->FolderCRCs.ValidAndDefined(folderIndex))
in Update() 2310 true, db->FolderCRCs.Vals[folderIndex]);
in Update() 2312 db->ParseFolderInfo(folderIndex, folder);
in Update() 2313 const CNum startIndex = db->FoStartPackStreamIndex[folderIndex];
in Update() [all...] |
H A D | 7zDecode.cpp | 217 const CFolders &folders, unsigned folderIndex,
239 const UInt64 *packPositions = &folders.PackPositions[folders.FoStartPackStreamIndex[folderIndex]];
241 folders.ParseFolderEx(folderIndex, folderInfo);
251 UInt64 folderUnpackSize = folders.GetFolderUnpackSize(folderIndex);
348 UInt32 unpackStreamIndexStart = folders.FoToCoderUnpackSizes[folderIndex];
|
H A D | 7zHandler.h | 154 bool IsFolderEncrypted(CNum folderIndex) const;
160 HRESULT SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const;
|
H A D | 7zDecode.h | 53 const CFolders &folders, unsigned folderIndex,
|
/third_party/lzma/C/ |
H A D | 7z.h | 98 UInt64 SzAr_GetFolderUnpackSize(const CSzAr *p, UInt32 folderIndex);
100 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex,
137 UInt64 SzArEx_GetFolderStreamPos(const CSzArEx *p, UInt32 folderIndex, UInt32 indexInFolder);
138 int SzArEx_GetFolderFullPackSize(const CSzArEx *p, UInt32 folderIndex, UInt64 *resSize);
|
H A D | 7zDec.c | 606 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex,
in SzAr_DecodeFolder() argument 615 const Byte *data = p->CodersData + p->FoCodersOffsets[folderIndex];
in SzAr_DecodeFolder() 617 sd.Size = p->FoCodersOffsets[(size_t)folderIndex + 1] - p->FoCodersOffsets[folderIndex];
in SzAr_DecodeFolder() 625 || folder.UnpackStream != p->FoToMainUnpackSizeIndex[folderIndex]
in SzAr_DecodeFolder() 626 || outSize != SzAr_GetFolderUnpackSize(p, folderIndex))
in SzAr_DecodeFolder() 633 &p->CoderUnpackSizes[p->FoToCoderUnpackSizes[folderIndex]],
in SzAr_DecodeFolder() 634 p->PackPositions + p->FoStartPackStreamIndex[folderIndex],
in SzAr_DecodeFolder() 642 if (SzBitWithVals_Check(&p->FolderCRCs, folderIndex))
in SzAr_DecodeFolder() 643 if (CrcCalc(outBuffer, outSize) != p->FolderCRCs.Vals[folderIndex])
in SzAr_DecodeFolder() [all...] |
H A D | 7zArcIn.c | 855 UInt64 SzAr_GetFolderUnpackSize(const CSzAr *p, UInt32 folderIndex)
in SzAr_GetFolderUnpackSize() argument 857 return p->CoderUnpackSizes[p->FoToCoderUnpackSizes[folderIndex] + p->FoToMainUnpackSizeIndex[folderIndex]];
in SzAr_GetFolderUnpackSize() 1310 UInt32 folderIndex = 0;
in SzReadHeader2() local 1378 if (folderIndex >= p->db.NumFolders)
in SzReadHeader2() 1380 p->FolderToFile[folderIndex] = i;
in SzReadHeader2() 1390 const UInt64 folderUnpackSize = SzAr_GetFolderUnpackSize(&p->db, folderIndex);
in SzReadHeader2() 1395 folderIndex++;
in SzReadHeader2() 1399 p->FileToFolder[i] = folderIndex;
in SzReadHeader2() 1406 const UInt64 folderUnpackSize = SzAr_GetFolderUnpackSize(&p->db, folderIndex);
in SzReadHeader2() 1662 const UInt32 folderIndex = p->FileToFolder[fileIndex]; SzArEx_Extract() local [all...] |