• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/

Lines Matching defs:UFE

269   FileEntry &UFE = UniqueRealFiles[Status.getUniqueID()];
271 NamedFileEnt->second = &UFE;
277 *SeenFileEntries.insert({Status.getName(), &UFE}).first;
278 assert((*NewNamedFileEnt.second).get<FileEntry *>() == &UFE &&
291 if (UFE.isValid()) { // Already have an entry with this inode, return it.
299 if (DirInfo != UFE.Dir && Status.IsVFSMapped)
300 UFE.Dir = DirInfo;
309 UFE.Name = InterndFileName;
311 return FileEntryRef(InterndFileName, UFE);
315 UFE.Name = InterndFileName;
316 UFE.Size = Status.getSize();
317 UFE.ModTime = llvm::sys::toTimeT(Status.getLastModificationTime());
318 UFE.Dir = DirInfo;
319 UFE.UID = NextFileUID++;
320 UFE.UniqueID = Status.getUniqueID();
321 UFE.IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file;
322 UFE.File = std::move(F);
323 UFE.IsValid = true;
325 if (UFE.File) {
326 if (auto PathName = UFE.File->getName())
327 fillRealPathName(&UFE, *PathName);
330 fillRealPathName(&UFE, InterndFileName);
332 return FileEntryRef(InterndFileName, UFE);
355 FileEntry *UFE = nullptr;
368 UFE = &UniqueRealFiles[Status.getUniqueID()];
375 NamedFileEnt.second = UFE;
380 if (UFE->File)
381 UFE->closeFile();
384 if (UFE->isValid())
385 return UFE;
387 UFE->UniqueID = Status.getUniqueID();
388 UFE->IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file;
389 fillRealPathName(UFE, Status.getName());
392 UFE = VirtualFileEntries.back().get();
393 NamedFileEnt.second = UFE;
396 UFE->Name = InterndFileName;
397 UFE->Size = Size;
398 UFE->ModTime = ModificationTime;
399 UFE->Dir = *DirInfo;
400 UFE->UID = NextFileUID++;
401 UFE->IsValid = true;
402 UFE->File.reset();
403 return UFE;
449 void FileManager::fillRealPathName(FileEntry *UFE, llvm::StringRef FileName) {
457 UFE->RealPathName = AbsPath.str();