• Home
  • Raw
  • Download

Lines Matching refs:fi

67 #define WIN_FD_TO_MY_FI(fi, fd) \  argument
68 fi.Attrib = fd.dwFileAttributes; \
69 fi.CTime = fd.ftCreationTime; \
70 fi.ATime = fd.ftLastAccessTime; \
71 fi.MTime = fd.ftLastWriteTime; \
72 fi.Size = (((UInt64)fd.nFileSizeHigh) << 32) + fd.nFileSizeLow; \
73 fi.IsAltStream = false; \
74 fi.IsDevice = false;
84 static void Convert_WIN32_FIND_DATA_to_FileInfo(const WIN32_FIND_DATAW &fd, CFileInfo &fi) in Convert_WIN32_FIND_DATA_to_FileInfo() argument
86 WIN_FD_TO_MY_FI(fi, fd); in Convert_WIN32_FIND_DATA_to_FileInfo()
87 fi.Name = us2fs(fd.cFileName); in Convert_WIN32_FIND_DATA_to_FileInfo()
95 static void Convert_WIN32_FIND_DATA_to_FileInfo(const WIN32_FIND_DATA &fd, CFileInfo &fi) in Convert_WIN32_FIND_DATA_to_FileInfo() argument
97 WIN_FD_TO_MY_FI(fi, fd); in Convert_WIN32_FIND_DATA_to_FileInfo()
98 fi.Name = fas2fs(fd.cFileName); in Convert_WIN32_FIND_DATA_to_FileInfo()
149 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi) in FindFirst() argument
160 Convert_WIN32_FIND_DATA_to_FileInfo(fd, fi); in FindFirst()
179 Convert_WIN32_FIND_DATA_to_FileInfo(fd, fi); in FindFirst()
184 bool CFindFile::FindNext(CFileInfo &fi) in FindNext() argument
192 Convert_WIN32_FIND_DATA_to_FileInfo(fd, fi); in FindNext()
200 Convert_WIN32_FIND_DATA_to_FileInfo(fd, fi); in FindNext()
604 CFileInfo fi; in DoesFileExist() local
605 return fi.Find(name) && !fi.IsDir(); in DoesFileExist()
610 CFileInfo fi; in DoesDirExist() local
611 return fi.Find(name) && fi.IsDir(); in DoesDirExist()
616 CFileInfo fi; in DoesFileOrDirExist() local
617 return fi.Find(name); in DoesFileOrDirExist()
621 bool CEnumerator::NextAny(CFileInfo &fi) in NextAny() argument
624 return _findFile.FindNext(fi); in NextAny()
626 return _findFile.FindFirst(_wildcard, fi); in NextAny()
629 bool CEnumerator::Next(CFileInfo &fi) in Next() argument
633 if (!NextAny(fi)) in Next()
635 if (!fi.IsDots()) in Next()
640 bool CEnumerator::Next(CFileInfo &fi, bool &found) in Next() argument
642 if (Next(fi)) in Next()