/external/lzma/CPP/7zip/Archive/7z/ |
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() 260 UInt64 GetFolderStreamPos(CNum folderIndex, unsigned indexInFolder) const in GetFolderStreamPos() 263 PackPositions[FoStartPackStreamIndex[folderIndex] + indexInFolder]; in GetFolderStreamPos() [all …]
|
D | 7zExtract.cpp | 238 CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex]; in Extract() local 239 if (folderIndex == kNumNoIndex) in Extract() 241 if (folderIndex != prevFolder || fileIndex < nextFile) in Extract() 242 nextFile = _db.FolderStartFileIndex[folderIndex]; in Extract() 246 prevFolder = folderIndex; in Extract() 296 CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex]; in Extract() local 300 if (folderIndex != kNumNoIndex) in Extract() 302 curPacked = _db.GetFolderFullPackSize(folderIndex); in Extract() 304 fileIndex = _db.FolderStartFileIndex[folderIndex]; in Extract() 310 if (_db.FileIndexToFolderIndexMap[fileIndex2] != folderIndex in Extract() [all …]
|
D | 7zHandler.cpp | 255 bool CHandler::IsFolderEncrypted(CNum folderIndex) const in IsFolderEncrypted() 257 if (folderIndex == kNumNoIndex) in IsFolderEncrypted() 259 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in IsFolderEncrypted() 261 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in IsFolderEncrypted() 352 HRESULT CHandler::SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const in SetMethodToProp() argument 355 if (folderIndex == kNumNoIndex) in SetMethodToProp() 363 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in SetMethodToProp() 365 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in SetMethodToProp() 558 CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; in GetProperty() local 559 if (folderIndex != kNumNoIndex) in GetProperty() [all …]
|
D | 7zIn.cpp | 436 void CFolders::ParseFolderInfo(unsigned folderIndex, CFolder &folder) const in ParseFolderInfo() argument 438 size_t startPos = FoCodersDataOffset[folderIndex]; in ParseFolderInfo() 440 inByte.Init(CodersData + startPos, FoCodersDataOffset[folderIndex + 1] - startPos); in ParseFolderInfo() 1413 CNum folderIndex = 0; in FillLinks() local 1431 if (folderIndex >= NumFolders) in FillLinks() 1433 FolderStartFileIndex[folderIndex] = i; in FillLinks() 1434 if (NumUnpackStreamsVector[folderIndex] != 0) in FillLinks() 1436 folderIndex++; in FillLinks() 1439 FileIndexToFolderIndexMap[i] = folderIndex; in FillLinks() 1442 if (++indexInFolder >= NumUnpackStreamsVector[folderIndex]) in FillLinks() [all …]
|
D | 7zUpdate.cpp | 1964 unsigned folderIndex = rep.FolderIndex; in Update() local 1966 CNum numUnpackStreams = db->NumUnpackStreamsVector[folderIndex]; in Update() 1973 NEventIndexType::kBlockIndex, (UInt32)folderIndex, in Update() 1979 … for (CNum fi = db->FolderStartFileIndex[folderIndex]; indexInFolder < numUnpackStreams; fi++) in Update() 1992 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update() 1994 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update() 1998 db->ParseFolderInfo(folderIndex, folder); in Update() 1999 CNum startIndex = db->FoStartPackStreamIndex[folderIndex]; in Update() 2007 size_t indexStart = db->FoToCoderUnpackSizes[folderIndex]; in Update() 2008 size_t indexEnd = db->FoToCoderUnpackSizes[folderIndex + 1]; in Update() [all …]
|
D | 7zHandler.h | 158 bool IsFolderEncrypted(CNum folderIndex) const; 164 HRESULT SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const;
|
D | 7zDecode.cpp | 224 const CFolders &folders, unsigned folderIndex, in Decode() argument 242 const UInt64 *packPositions = &folders.PackPositions[folders.FoStartPackStreamIndex[folderIndex]]; in Decode() 244 folders.ParseFolderEx(folderIndex, folderInfo); in Decode() 254 UInt64 folderUnpackSize = folders.GetFolderUnpackSize(folderIndex); in Decode() 350 UInt32 unpackStreamIndexStart = folders.FoToCoderUnpackSizes[folderIndex]; in Decode()
|
D | 7zDecode.h | 50 const CFolders &folders, unsigned folderIndex,
|
/external/lzma/C/ |
D | 7z.h | 96 UInt64 SzAr_GetFolderUnpackSize(const CSzAr *p, UInt32 folderIndex); 98 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex, 135 UInt64 SzArEx_GetFolderStreamPos(const CSzArEx *p, UInt32 folderIndex, UInt32 indexInFolder); 136 int SzArEx_GetFolderFullPackSize(const CSzArEx *p, UInt32 folderIndex, UInt64 *resSize);
|
D | 7zDec.c | 549 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex, in SzAr_DecodeFolder() argument 558 const Byte *data = p->CodersData + p->FoCodersOffsets[folderIndex]; in SzAr_DecodeFolder() 560 sd.Size = p->FoCodersOffsets[folderIndex + 1] - p->FoCodersOffsets[folderIndex]; in SzAr_DecodeFolder() 568 || folder.UnpackStream != p->FoToMainUnpackSizeIndex[folderIndex] in SzAr_DecodeFolder() 569 || outSize != SzAr_GetFolderUnpackSize(p, folderIndex)) in SzAr_DecodeFolder() 576 &p->CoderUnpackSizes[p->FoToCoderUnpackSizes[folderIndex]], in SzAr_DecodeFolder() 577 p->PackPositions + p->FoStartPackStreamIndex[folderIndex], in SzAr_DecodeFolder() 585 if (SzBitWithVals_Check(&p->FolderCRCs, folderIndex)) in SzAr_DecodeFolder() 586 if (CrcCalc(outBuffer, outSize) != p->FolderCRCs.Vals[folderIndex]) in SzAr_DecodeFolder()
|
D | 7zArcIn.c | 843 UInt64 SzAr_GetFolderUnpackSize(const CSzAr *p, UInt32 folderIndex) in SzAr_GetFolderUnpackSize() argument 845 …eturn p->CoderUnpackSizes[p->FoToCoderUnpackSizes[folderIndex] + p->FoToMainUnpackSizeIndex[folder… in SzAr_GetFolderUnpackSize() 1292 UInt32 folderIndex = 0; in SzReadHeader2() local 1363 if (folderIndex >= p->db.NumFolders) in SzReadHeader2() 1365 p->FolderToFile[folderIndex] = i; in SzReadHeader2() 1375 UInt64 folderUnpackSize = SzAr_GetFolderUnpackSize(&p->db, folderIndex); in SzReadHeader2() 1381 folderIndex++; in SzReadHeader2() 1385 p->FileToFolder[i] = folderIndex; in SzReadHeader2() 1392 UInt64 folderUnpackSize = SzAr_GetFolderUnpackSize(&p->db, folderIndex); in SzReadHeader2() 1393 UInt64 startFolderUnpackPos = p->UnpackPositions[p->FolderToFile[folderIndex]]; in SzReadHeader2() [all …]
|