Lines Matching refs:folderIndex
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()
1402 p->CRCs.Vals[i] = p->db.FolderCRCs.Vals[folderIndex]; in SzReadHeader2()
1412 folderIndex++; in SzReadHeader2()
1444 p->FolderToFile[folderIndex] = i; in SzReadHeader2()
1445 if (folderIndex >= p->db.NumFolders) in SzReadHeader2()
1460 folderIndex++; in SzReadHeader2()
1647 UInt32 folderIndex = p->FileToFolder[fileIndex]; in SzArEx_Extract() local
1653 if (folderIndex == (UInt32)-1) in SzArEx_Extract()
1656 *blockIndex = folderIndex; in SzArEx_Extract()
1662 if (*tempBuf == NULL || *blockIndex != folderIndex) in SzArEx_Extract()
1664 UInt64 unpackSizeSpec = SzAr_GetFolderUnpackSize(&p->db, folderIndex); in SzArEx_Extract()
1674 *blockIndex = folderIndex; in SzArEx_Extract()
1690 res = SzAr_DecodeFolder(&p->db, folderIndex, in SzArEx_Extract()
1699 *offset = (size_t)(unpackPos - p->UnpackPositions[p->FolderToFile[folderIndex]]); in SzArEx_Extract()