Lines Matching defs:UFE
279 FileEntry *&UFE = UniqueRealFiles[Status.getUniqueID()];
280 bool ReusingEntry = UFE != nullptr;
281 if (!UFE)
282 UFE = new (FilesAlloc.Allocate()) FileEntry();
286 NamedFileEnt->second = FileEntryRef::MapValue(*UFE, DirInfo);
325 .insert({Status.getName(), FileEntryRef::MapValue(*UFE, DirInfo)})
329 assert(cast<FileEntry *>(Redirection.second->V) == UFE &&
343 UFE->Size = Status.getSize();
344 UFE->ModTime = llvm::sys::toTimeT(Status.getLastModificationTime());
345 UFE->Dir = &DirInfo.getDirEntry();
346 UFE->UID = NextFileUID++;
347 UFE->UniqueID = Status.getUniqueID();
348 UFE->IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file;
349 UFE->File = std::move(F);
351 if (UFE->File) {
352 if (auto PathName = UFE->File->getName())
353 fillRealPathName(UFE, *PathName);
356 fillRealPathName(UFE, InterndFileName);
409 FileEntry *UFE = nullptr;
453 UFE = RealFE;
456 UFE = new (FilesAlloc.Allocate()) FileEntry();
457 VirtualFileEntries.push_back(UFE);
460 NamedFileEnt.second = FileEntryRef::MapValue(*UFE, *DirInfo);
461 UFE->Size = Size;
462 UFE->ModTime = ModificationTime;
463 UFE->Dir = &DirInfo->getDirEntry();
464 UFE->UID = NextFileUID++;
465 UFE->File.reset();
522 void FileManager::fillRealPathName(FileEntry *UFE, llvm::StringRef FileName) {
530 UFE->RealPathName = std::string(AbsPath);