Home
last modified time | relevance | path

Searched refs:folderIndex (Results 1 – 12 of 12) sorted by relevance

/external/lzma/CPP/7zip/Archive/7z/
D7zIn.h68 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()
272 UInt64 GetFolderStreamPos(CNum folderIndex, unsigned indexInFolder) const in GetFolderStreamPos()
275 PackPositions[FoStartPackStreamIndex[folderIndex] + indexInFolder]; in GetFolderStreamPos()
[all …]
D7zExtract.cpp244 CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex]; in Extract() local
245 if (folderIndex == kNumNoIndex) in Extract()
247 if (folderIndex != prevFolder || fileIndex < nextFile) in Extract()
248 nextFile = _db.FolderStartFileIndex[folderIndex]; in Extract()
252 prevFolder = folderIndex; in Extract()
302 CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex]; in Extract() local
306 if (folderIndex != kNumNoIndex) in Extract()
308 curPacked = _db.GetFolderFullPackSize(folderIndex); in Extract()
310 fileIndex = _db.FolderStartFileIndex[folderIndex]; in Extract()
316 if (_db.FileIndexToFolderIndexMap[fileIndex2] != folderIndex in Extract()
[all …]
D7zHandler.cpp261 bool CHandler::IsFolderEncrypted(CNum folderIndex) const in IsFolderEncrypted()
263 if (folderIndex == kNumNoIndex) in IsFolderEncrypted()
265 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in IsFolderEncrypted()
267 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in IsFolderEncrypted()
358 HRESULT CHandler::SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const in SetMethodToProp() argument
361 if (folderIndex == kNumNoIndex) in SetMethodToProp()
369 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in SetMethodToProp()
371 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in SetMethodToProp()
564 CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; in GetProperty() local
565 if (folderIndex != kNumNoIndex) in GetProperty()
[all …]
D7zIn.cpp452 void CFolders::ParseFolderInfo(unsigned folderIndex, CFolder &folder) const in ParseFolderInfo() argument
454 size_t startPos = FoCodersDataOffset[folderIndex]; in ParseFolderInfo()
456 inByte.Init(CodersData + startPos, FoCodersDataOffset[folderIndex + 1] - startPos); in ParseFolderInfo()
1431 CNum folderIndex = 0; in FillLinks() local
1449 if (folderIndex >= NumFolders) in FillLinks()
1451 FolderStartFileIndex[folderIndex] = i; in FillLinks()
1452 if (NumUnpackStreamsVector[folderIndex] != 0) in FillLinks()
1454 folderIndex++; in FillLinks()
1457 FileIndexToFolderIndexMap[i] = folderIndex; in FillLinks()
1460 if (++indexInFolder >= NumUnpackStreamsVector[folderIndex]) in FillLinks()
[all …]
D7zUpdate.cpp1984 unsigned folderIndex = rep.FolderIndex; in Update() local
1986 CNum numUnpackStreams = db->NumUnpackStreamsVector[folderIndex]; in Update()
1993 NEventIndexType::kBlockIndex, (UInt32)folderIndex, in Update()
1999 … for (CNum fi = db->FolderStartFileIndex[folderIndex]; indexInFolder < numUnpackStreams; fi++) in Update()
2012 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update()
2014 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update()
2018 db->ParseFolderInfo(folderIndex, folder); in Update()
2019 CNum startIndex = db->FoStartPackStreamIndex[folderIndex]; in Update()
2027 size_t indexStart = db->FoToCoderUnpackSizes[folderIndex]; in Update()
2028 size_t indexEnd = db->FoToCoderUnpackSizes[folderIndex + 1]; in Update()
[all …]
D7zHandler.h166 bool IsFolderEncrypted(CNum folderIndex) const;
172 HRESULT SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const;
D7zDecode.cpp224 const CFolders &folders, unsigned folderIndex, in Decode() argument
246 const UInt64 *packPositions = &folders.PackPositions[folders.FoStartPackStreamIndex[folderIndex]]; in Decode()
248 folders.ParseFolderEx(folderIndex, folderInfo); in Decode()
258 UInt64 folderUnpackSize = folders.GetFolderUnpackSize(folderIndex); in Decode()
354 UInt32 unpackStreamIndexStart = folders.FoToCoderUnpackSizes[folderIndex]; in Decode()
D7zDecode.h50 const CFolders &folders, unsigned folderIndex,
/external/lzma/C/
D7z.h96 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);
D7zDec.c549 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[(size_t)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()
D7zArcIn.c843 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 …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java956 final int folderIndex = archive.streamMap.fileFolderIndex[currentEntryIndex]; in buildDecodingStream() local
957 if (folderIndex < 0) { in buildDecodingStream()
964 if (currentFolderIndex == folderIndex) { in buildDecodingStream()
974 currentFolderIndex = folderIndex; in buildDecodingStream()
981 final Folder folder = archive.folders[folderIndex]; in buildDecodingStream()
982 … final int firstPackStreamIndex = archive.streamMap.folderFirstPackStreamIndex[folderIndex]; in buildDecodingStream()