Lines Matching refs:fi
25 const NFind::CFileInfo &fi) in AddDirFileInfo() argument
28 di.Size = fi.Size; in AddDirFileInfo()
29 di.CTime = fi.CTime; in AddDirFileInfo()
30 di.ATime = fi.ATime; in AddDirFileInfo()
31 di.MTime = fi.MTime; in AddDirFileInfo()
32 di.Attrib = fi.Attrib; in AddDirFileInfo()
33 di.IsAltStream = fi.IsAltStream; in AddDirFileInfo()
37 di.Name = fs2us(fi.Name); in AddDirFileInfo()
43 if (fi.IsDir()) in AddDirFileInfo()
45 else if (fi.IsAltStream) in AddDirFileInfo()
48 Stat.AltStreamsSize += fi.Size; in AddDirFileInfo()
53 Stat.FilesSize += fi.Size; in AddDirFileInfo()
219 NFind::CFileInfo fi; in EnumerateDir() local
221 if (!enumerator.Next(fi, found)) in EnumerateDir()
232 RINOK(AddSecurityItem(phyPrefix + fi.Name, secureIndex)); in EnumerateDir()
236 AddDirFileInfo(phyParent, logParent, secureIndex, fi); in EnumerateDir()
243 if (fi.IsDir()) in EnumerateDir()
245 const FString name2 = fi.Name + FCHAR_PATH_SEPARATOR; in EnumerateDir()
264 NFind::CFileInfo fi; in EnumerateItems2() local
266 if (!fi.Find(phyPath)) in EnumerateItems2()
291 AddDirFileInfo(phyParentCur, logParent, secureIndex, fi); in EnumerateItems2()
293 if (fi.IsDir()) in EnumerateItems2()
295 const FString name2 = fi.Name + FCHAR_PATH_SEPARATOR; in EnumerateItems2()
341 const NFind::CFileInfo &fi, in EnumerateAltStreams() argument
365 NFind::CFileInfo fi2 = fi; in EnumerateAltStreams()
376 HRESULT CDirItems::SetLinkInfo(CDirItem &dirItem, const NFind::CFileInfo &fi, in SetLinkInfo() argument
379 if (!SymLinks || !fi.HasReparsePoint()) in SetLinkInfo()
381 const FString path = phyPrefix + fi.Name; in SetLinkInfo()
397 NFind::CFileInfo &fi, in EnumerateForItem() argument
404 const UString name = fs2us(fi.Name); in EnumerateForItem()
410 if (curNode.CheckPathToRoot(false, addArchivePrefixNewTemp, !fi.IsDir())) in EnumerateForItem()
415 if (curNode.CheckPathToRoot(true, addArchivePrefixNew, !fi.IsDir())) in EnumerateForItem()
421 RINOK(dirItems.AddSecurityItem(phyPrefix + fi.Name, secureIndex)); in EnumerateForItem()
426 dirItems.AddDirFileInfo(phyParent, logParent, secureIndex, fi); in EnumerateForItem()
427 if (fi.IsDir()) in EnumerateForItem()
434 RINOK(EnumerateAltStreams(fi, curNode, phyParent, logParent, in EnumerateForItem()
435 phyPrefix + fi.Name, in EnumerateForItem()
442 RINOK(dirItems.SetLinkInfo(dirItem, fi, phyPrefix)); in EnumerateForItem()
448 if (!fi.IsDir()) in EnumerateForItem()
469 *nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateForItem()
585 NFind::CFileInfo fi; in EnumerateDirItems() local
589 fi.SetAsDir(); in EnumerateDirItems()
590 fi.Name = us2fs(name); in EnumerateDirItems()
594 if (!fi.Find(fullPath)) in EnumerateDirItems()
600 bool isDir = fi.IsDir(); in EnumerateDirItems()
608 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
621 dirItems.AddDirFileInfo(phyParent, logParent, secureIndex, fi); in EnumerateDirItems()
626 RINOK(dirItems.SetLinkInfo(dirItem, fi, phyPrefix)); in EnumerateDirItems()
629 if (fi.IsAltStream) in EnumerateDirItems()
630 dirItems.Stat.AltStreamsSize -= fi.Size; in EnumerateDirItems()
632 dirItems.Stat.FilesSize -= fi.Size; in EnumerateDirItems()
643 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
644 RINOK(EnumerateAltStreams(fi, curNode, phyParent, logParent, in EnumerateDirItems()
668 RINOK(EnumerateDirItems_Spec(*nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateDirItems()
679 NFind::CFileInfo fi; in EnumerateDirItems() local
700 fi.SetAsDir(); in EnumerateDirItems()
701 fi.Name = us2fs(nextNode.Name); in EnumerateDirItems()
705 if (!fi.Find(fullPath)) in EnumerateDirItems()
713 if (!fi.IsDir()) in EnumerateDirItems()
720 RINOK(EnumerateDirItems_Spec(nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateDirItems()
762 NFind::CFileInfo fi; in EnumerateDirItems() local
763 fi.SetAsDir(); in EnumerateDirItems()
764 fi.Name = driveName; in EnumerateDirItems()
766 RINOK(EnumerateForItem(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateDirItems()
779 NFind::CFileInfo fi; in EnumerateDirItems() local
781 if (!enumerator.Next(fi, found)) in EnumerateDirItems()
794 RINOK(EnumerateForItem(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateDirItems()