Lines Matching refs:StringRef
73 getDirectoryFromFile(FileManager &FileMgr, StringRef Filename,
81 StringRef DirName = llvm::sys::path::parent_path(Filename);
91 void FileManager::addAncestorsAsVirtualDirs(StringRef Path) {
92 StringRef DirName = llvm::sys::path::parent_path(Path);
117 FileManager::getDirectoryRef(StringRef DirName, bool CacheFailure) {
155 StringRef InterndDirName = NamedDirEnt.first();
187 FileManager::getDirectory(StringRef DirName, bool CacheFailure) {
195 FileManager::getFile(StringRef Filename, bool openFile, bool CacheFailure) {
203 FileManager::getFileRef(StringRef Filename, bool openFile, bool CacheFailure) {
219 return getFileRef(*Value.get<const StringRef *>(), openFile, CacheFailure);
229 StringRef InterndFileName = NamedFileEnt->first();
283 StringRef *Redirect = new (CanonicalNameStorage) StringRef(InterndFileName);
336 FileManager::getVirtualFile(StringRef Filename, off_t Size,
348 return getVirtualFile(*Value.get<const StringRef *>(), Size,
426 StringRef pathRef(path.data(), path.size());
441 if (!llvm::sys::path::is_absolute(StringRef(Path.data(), Path.size()))) {
449 void FileManager::fillRealPathName(FileEntry *UFE, llvm::StringRef FileName) {
469 StringRef Filename = Entry->getName();
484 FileManager::getBufferForFileImpl(StringRef Filename, int64_t FileSize,
503 FileManager::getStatValue(StringRef Path, llvm::vfs::Status &Status,
519 FileManager::getNoncachedStatValue(StringRef Path,
552 StringRef FileManager::getCanonicalName(const DirectoryEntry *Dir) {
553 llvm::DenseMap<const void *, llvm::StringRef>::iterator Known
558 StringRef CanonicalName(Dir->getName());
562 CanonicalName = StringRef(CanonicalNameBuf).copy(CanonicalNameStorage);
568 StringRef FileManager::getCanonicalName(const FileEntry *File) {
569 llvm::DenseMap<const void *, llvm::StringRef>::iterator Known
574 StringRef CanonicalName(File->getName());
578 CanonicalName = StringRef(CanonicalNameBuf).copy(CanonicalNameStorage);