Lines Matching refs:fi

23     const NFind::CFileInfo &fi, CObjectVector<CDirItem> &dirItems)  in AddDirFileInfo()  argument
26 di.Size = fi.Size; in AddDirFileInfo()
27 di.CTime = fi.CTime; in AddDirFileInfo()
28 di.ATime = fi.ATime; in AddDirFileInfo()
29 di.MTime = fi.MTime; in AddDirFileInfo()
30 di.Attrib = fi.Attrib; in AddDirFileInfo()
31 di.IsAltStream = fi.IsAltStream; in AddDirFileInfo()
35 di.Name = fs2us(fi.Name); in AddDirFileInfo()
173 NFind::CFileInfo fi; in EnumerateDir() local
175 if (!enumerator.Next(fi, found)) in EnumerateDir()
186 AddSecurityItem(phyPrefix + fi.Name, secureIndex); in EnumerateDir()
189 AddDirFileInfo(phyParent, logParent, secureIndex, fi, Items); in EnumerateDir()
191 if (fi.IsDir()) in EnumerateDir()
193 const FString name2 = fi.Name + FCHAR_PATH_SEPARATOR; in EnumerateDir()
212 NFind::CFileInfo fi; in EnumerateItems2() local
214 if (!fi.Find(phyPath)) in EnumerateItems2()
237 AddDirFileInfo(phyParentCur, logParent, secureIndex, fi, Items); in EnumerateItems2()
239 if (fi.IsDir()) in EnumerateItems2()
241 const FString name2 = fi.Name + FCHAR_PATH_SEPARATOR; in EnumerateItems2()
285 const NFind::CFileInfo &fi, in EnumerateAltStreams() argument
291 const FString fullPath = phyPrefix + fi.Name; in EnumerateAltStreams()
311 NFind::CFileInfo fi2 = fi; in EnumerateAltStreams()
321 void CDirItems::SetLinkInfo(CDirItem &dirItem, const NFind::CFileInfo &fi, in SetLinkInfo() argument
324 if (!SymLinks || !fi.HasReparsePoint()) in SetLinkInfo()
326 const FString path = phyPrefix + fi.Name; in SetLinkInfo()
341 NFind::CFileInfo &fi, in EnumerateForItem() argument
349 const UString name = fs2us(fi.Name); in EnumerateForItem()
355 if (curNode.CheckPathToRoot(false, addArchivePrefixNewTemp, !fi.IsDir())) in EnumerateForItem()
360 if (curNode.CheckPathToRoot(true, addArchivePrefixNew, !fi.IsDir())) in EnumerateForItem()
365 dirItems.AddSecurityItem(phyPrefix + fi.Name, secureIndex); in EnumerateForItem()
369 AddDirFileInfo(phyParent, logParent, secureIndex, fi, dirItems.Items); in EnumerateForItem()
370 dirItems.TotalSize += fi.Size; in EnumerateForItem()
371 if (fi.IsDir()) in EnumerateForItem()
378 EnumerateAltStreams(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateForItem()
385 dirItems.SetLinkInfo(dirItem, fi, phyPrefix); in EnumerateForItem()
391 if (!fi.IsDir()) in EnumerateForItem()
412 *nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateForItem()
473 NFind::CFileInfo fi; in EnumerateDirItems() local
477 fi.SetAsDir(); in EnumerateDirItems()
478 fi.Name = fullPath; in EnumerateDirItems()
482 if (!fi.Find(fullPath)) in EnumerateDirItems()
487 bool isDir = fi.IsDir(); in EnumerateDirItems()
495 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
506 AddDirFileInfo(phyParent, logParent, secureIndex, fi, dirItems.Items); in EnumerateDirItems()
511 dirItems.SetLinkInfo(dirItem, fi, phyPrefix); in EnumerateDirItems()
517 dirItems.TotalSize += fi.Size; in EnumerateDirItems()
523 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
524 EnumerateAltStreams(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateDirItems()
548 RINOK(EnumerateDirItems_Spec(*nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateDirItems()
559 NFind::CFileInfo fi; in EnumerateDirItems() local
563 fi.SetAsDir(); in EnumerateDirItems()
564 fi.Name = fullPath; in EnumerateDirItems()
568 if (!fi.Find(fullPath)) in EnumerateDirItems()
575 if (!fi.IsDir()) in EnumerateDirItems()
581 RINOK(EnumerateDirItems_Spec(nextNode, phyParent, logParent, fi.Name, phyPrefix, in EnumerateDirItems()
623 NFind::CFileInfo fi; in EnumerateDirItems() local
624 fi.SetAsDir(); in EnumerateDirItems()
625 fi.Name = driveName; in EnumerateDirItems()
627 RINOK(EnumerateForItem(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateDirItems()
640 NFind::CFileInfo fi; in EnumerateDirItems() local
642 if (!enumerator.Next(fi, found)) in EnumerateDirItems()
653 RINOK(EnumerateForItem(fi, curNode, phyParent, logParent, phyPrefix, in EnumerateDirItems()