Lines Matching refs:dirItems
316 CDirItems &dirItems,
324 CDirItems &dirItems, in EnumerateDirItems_Spec() argument
328 unsigned parent = dirItems.AddPrefix(phyParent, logParent, fs2us(name2)); in EnumerateDirItems_Spec()
329 unsigned numItems = dirItems.Items.Size(); in EnumerateDirItems_Spec()
332 addArchivePrefix, dirItems, enterToSubFolders); in EnumerateDirItems_Spec()
333 if (numItems == dirItems.Items.Size()) in EnumerateDirItems_Spec()
334 dirItems.DeleteLastPrefix(); in EnumerateDirItems_Spec()
348 CDirItems &dirItems) in EnumerateAltStreams() argument
357 return dirItems.AddError(fullPath + FTEXT(":*")); // , (DWORD)E_FAIL in EnumerateAltStreams()
377 dirItems.AddDirFileInfo(phyParent, logParent, -1, fi2); in EnumerateAltStreams()
420 CDirItems &dirItems, in EnumerateForItem() argument
440 if (dirItems.ReadSecure) in EnumerateForItem()
442 RINOK(dirItems.AddSecurityItem(phyPrefix + fi.Name, secureIndex)); in EnumerateForItem()
446 dirItemIndex = dirItems.Items.Size(); in EnumerateForItem()
447 dirItems.AddDirFileInfo(phyParent, logParent, secureIndex, fi); in EnumerateForItem()
455 if (dirItems.ScanAltStreams) in EnumerateForItem()
461 dirItems)); in EnumerateForItem()
466 CDirItem &dirItem = dirItems.Items[dirItemIndex]; in EnumerateForItem()
467 RINOK(dirItems.SetLinkInfo(dirItem, fi, phyPrefix)); in EnumerateForItem()
496 dirItems, in EnumerateForItem()
544 CDirItems &dirItems, in EnumerateDirItems() argument
551 RINOK(dirItems.ScanProgress(phyPrefix)); in EnumerateDirItems()
621 RINOK(dirItems.AddError(fullPath)); in EnumerateDirItems()
628 RINOK(dirItems.AddError(fullPath, (DWORD)E_FAIL)); in EnumerateDirItems()
640 if (needSecurity && dirItems.ReadSecure) in EnumerateDirItems()
642 RINOK(dirItems.AddSecurityItem(fullPath, secureIndex)); in EnumerateDirItems()
646 dirItems.AddDirFileInfo(phyParent, logParent, secureIndex, fi); in EnumerateDirItems()
650 CDirItem &dirItem = dirItems.Items.Back(); in EnumerateDirItems()
651 RINOK(dirItems.SetLinkInfo(dirItem, fi, phyPrefix)); in EnumerateDirItems()
655 dirItems.Stat.AltStreamsSize -= fi.Size; in EnumerateDirItems()
657 dirItems.Stat.FilesSize -= fi.Size; in EnumerateDirItems()
665 if (needAltStreams && dirItems.ScanAltStreams) in EnumerateDirItems()
672 dirItems)); in EnumerateDirItems()
696 addArchivePrefixNew, dirItems, true)); in EnumerateDirItems()
736 RINOK(dirItems.AddError(fullPath)); in EnumerateDirItems()
742 RINOK(dirItems.AddError(fullPath, (DWORD)E_FAIL)); in EnumerateDirItems()
748 UStringVector(), dirItems, false)); in EnumerateDirItems()
794 addArchivePrefix, dirItems, enterToSubFolders)); in EnumerateDirItems()
812 RINOK(dirItems.AddError(phyPrefix)); in EnumerateDirItems()
818 if (dirItems.Callback && (ttt & kScanProgressStepMask) == kScanProgressStepMask) in EnumerateDirItems()
820 RINOK(dirItems.ScanProgress(phyPrefix)); in EnumerateDirItems()
824 addArchivePrefix, dirItems, enterToSubFolders)); in EnumerateDirItems()
834 CDirItems &dirItems) in EnumerateItems() argument
839 int phyParent = pair.Prefix.IsEmpty() ? -1 : dirItems.AddPrefix(-1, -1, pair.Prefix); in EnumerateItems()
847 logParent = dirItems.AddPrefix(-1, -1, addPathPrefix); in EnumerateItems()
851 dirItems, in EnumerateItems()
855 dirItems.ReserveDown(); in EnumerateItems()
858 dirItems.FillFixedReparse(); in EnumerateItems()
946 CDirItems dirItems; in EnumerateDirItemsAndSort() local
947 dirItems.Callback = callback; in EnumerateDirItemsAndSort()
949 HRESULT res = EnumerateItems(censor, censorPathMode, addPathPrefix, dirItems); in EnumerateDirItemsAndSort()
950 st = dirItems.Stat; in EnumerateDirItemsAndSort()
954 FOR_VECTOR (i, dirItems.Items) in EnumerateDirItemsAndSort()
956 const CDirItem &dirItem = dirItems.Items[i]; in EnumerateDirItemsAndSort()
958 paths.Add(dirItems.GetPhyPath(i)); in EnumerateDirItemsAndSort()