Lines Matching defs:Status

85 DirectoryEntry *&FileManager::getRealDirEntry(const llvm::vfs::Status &Status) {
86 assert(Status.isDirectory() && "The directory should exist!");
91 DirectoryEntry *&UDE = UniqueRealDirs[Status.getUniqueID()];
119 llvm::vfs::Status Status;
121 getStatValue(DirName, Status, false, nullptr /*directory lookup*/);
130 DirectoryEntry *&UDE = getRealDirEntry(Status);
180 llvm::vfs::Status Status;
181 auto statError = getStatValue(InterndDirName, Status, false,
193 DirectoryEntry *&UDE = getRealDirEntry(Status);
262 llvm::vfs::Status Status;
263 auto statError = getStatValue(InterndFileName, Status, true,
279 FileEntry *&UFE = UniqueRealFiles[Status.getUniqueID()];
284 if (!Status.ExposesExternalVFSPath || Status.getName() == Filename) {
322 // eg. `vfs::Status` up front).
325 .insert({Status.getName(), FileEntryRef::MapValue(*UFE, DirInfo)})
343 UFE->Size = Status.getSize();
344 UFE->ModTime = llvm::sys::toTimeT(Status.getLastModificationTime());
347 UFE->UniqueID = Status.getUniqueID();
348 UFE->IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file;
423 llvm::vfs::Status Status;
425 if (!getStatValue(InterndFileName, Status, true, nullptr)) {
426 Status = llvm::vfs::Status(
427 Status.getName(), Status.getUniqueID(),
429 Status.getUser(), Status.getGroup(), Size,
430 Status.getType(), Status.getPermissions());
432 auto &RealFE = UniqueRealFiles[Status.getUniqueID()];
448 RealFE->UniqueID = Status.getUniqueID();
450 Status.getType() == llvm::sys::fs::file_type::fifo_file;
451 fillRealPathName(RealFE, Status.getName());
471 llvm::vfs::Status Status;
472 if (getStatValue(VF.getName(), Status, /*isFile=*/true, /*F=*/nullptr))
489 BFE->Size = Status.getSize();
491 BFE->ModTime = llvm::sys::toTimeT(Status.getLastModificationTime());
586 llvm::vfs::Status &Status,
593 return FileSystemStatCache::get(Path, Status, isFile, F, StatCache.get(),
599 return FileSystemStatCache::get(FilePath.c_str(), Status, isFile, F,
605 llvm::vfs::Status &Result) {
609 llvm::ErrorOr<llvm::vfs::Status> S = FS->status(FilePath.c_str());