Searched refs:Dir (Results 26 - 50 of 94) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp257 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
311 SmallString<128> Dir;
312 if (std::error_code EC = llvm::sys::fs::current_path(Dir))
314 return Dir.str();
378 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, argument
382 std::make_shared<RealFSDirIter>(adjustPath(Dir, Storage), EC));
515 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, argument
518 std::make_shared<OverlayFSDirIterImpl>(Dir, *this, EC));
668 if (auto Dir = dyn_cast<detail::InMemoryDirectory>(Node))
669 return Dir
807 lookupInMemoryNode(const InMemoryFileSystem &FS, detail::InMemoryDirectory *Dir, const Twine &P) argument
918 InMemoryDirIterator(const detail::InMemoryDirectory &Dir, std::string RequestedDirName) argument
934 dir_begin(const Twine &Dir, std::error_code &EC) argument
1006 std::string Dir; member in class:llvm::vfs::VFSFromYamlDirIterImpl
1089 dir_begin(const Twine &Dir, std::error_code &EC) argument
2015 StringRef Dir = path::parent_path(Entry.VPath); local
[all...]
H A DFileCollector.cpp214 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir,
216 auto It = FS->dir_begin(Dir, EC);
220 Collector->addFile(Dir);
231 return FS->dir_begin(Dir, EC);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCloudABI.cpp103 SmallString<128> P(getDriver().Dir);
110 SmallString<128> P(getDriver().Dir);
H A DWebAssembly.cpp123 static std::string AppendLTOLibDir(const std::string &Dir) { argument
126 return Dir + "/llvm-lto/" LLVM_VERSION_STRING;
151 auto Dir = AppendLTOLibDir(SysRoot + "/lib/" + MultiarchTriple); local
152 getFilePaths().push_back(Dir);
H A DDragonFly.cpp183 if (getDriver().getInstalledDir() != getDriver().Dir)
184 getProgramPaths().push_back(getDriver().Dir);
186 getFilePaths().push_back(getDriver().Dir + "/../lib");
H A DNaCl.cpp214 std::string FilePath(getDriver().Dir + "/../");
217 std::string ProgPath(getDriver().Dir + "/../");
269 SmallString<128> P(D.Dir + "/../");
316 SmallString<128> P(D.Dir + "/../");
H A DMinix.cpp99 getFilePaths().push_back(getDriver().Dir + "/../lib");
H A DLinux.cpp376 // directory ('Dir' below) or the ResourceDir.
377 if (StringRef(D.Dir).startswith(SysRoot)) {
378 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths);
379 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths);
449 // directory ('Dir' below) or the ResourceDir.
450 if (StringRef(D.Dir).startswith(SysRoot))
451 addPathIfExists(D, D.Dir + "/../lib", Paths);
847 for (StringRef Dir : MultiarchIncludeDirs) {
848 if (D.getVFS().exists(SysRoot + Dir)) {
849 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir);
[all...]
H A DFuchsia.cpp171 if (getDriver().getInstalledDir() != D.Dir)
172 getProgramPaths().push_back(D.Dir);
313 SmallString<128> P(getDriver().Dir);
H A DSolaris.cpp193 if (StringRef(D.Dir).startswith(D.SysRoot))
194 addPathIfExists(D, D.Dir + "/../lib", Paths);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DWriter.cpp392 const data_directory *Dir = &Obj.DataDirectories[DEBUG_DIRECTORY]; local
393 if (Dir->Size <= 0)
396 if (Dir->RelativeVirtualAddress >= S.Header.VirtualAddress &&
397 Dir->RelativeVirtualAddress <
399 if (Dir->RelativeVirtualAddress + Dir->Size >
404 size_t Offset = Dir->RelativeVirtualAddress - S.Header.VirtualAddress;
406 uint8_t *End = Ptr + Dir->Size;
H A DReader.cpp48 const data_directory *Dir; local
49 if (auto EC = COFFObj.getDataDirectory(I, Dir))
51 Obj.DataDirectories.emplace_back(*Dir);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp366 for (llvm::vfs::recursive_directory_iterator Dir(FS, DirNative, EC), End;
367 Dir != End && !EC; Dir.increment(EC)) {
370 if (!llvm::StringSwitch<bool>(llvm::sys::path::extension(Dir->path()))
375 auto Header = FileMgr.getFile(Dir->path());
388 auto PathIt = llvm::sys::path::rbegin(Dir->path());
389 for (int I = 0; I != Dir.level() + 1; ++I, ++PathIt)
720 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC),
722 Dir != DirEnd && !EC; Dir
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h85 const DirectoryEntry *Dir; // Directory file lives in. member in class:clang::FileEntry
111 const DirectoryEntry *getDir() const { return Dir; }
422 StringRef getCanonicalName(const DirectoryEntry *Dir);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp409 const DirectoryEntry *Dir = File->getDir(); local
410 assert(Dir && "file in no directory");
416 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir);
421 auto KnownDir = UmbrellaDirs.find(Dir);
425 IntermediateDirs.push_back(Dir);
434 Dir = *DirEntry;
436 Dir = nullptr;
437 } while (Dir);
701 const DirectoryEntry *Dir = Header->getDir(); local
703 StringRef DirName = Dir
2395 const DirectoryEntry *Dir = nullptr; local
2964 parseModuleMapFile(const FileEntry *File, bool IsSystem, const DirectoryEntry *Dir, FileID ID, unsigned *Offset, SourceLocation ExternModuleLoc) argument
[all...]
H A DPPLexerChange.cpp201 static void computeRelativePath(FileManager &FM, const DirectoryEntry *Dir,
210 if (*CurDir == Dir) {
275 const DirectoryEntry *Dir = Mod.getUmbrellaDir().Entry;
278 for (llvm::vfs::recursive_directory_iterator Entry(FS, Dir->getName(), EC),
295 computeRelativePath(FileMgr, Dir, *Header, RelativePath);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp356 const coff_import_directory_table_entry *Dir; local
358 if (DirRef.getImportTableEntry(Dir)) return;
362 static_cast<uint32_t>(Dir->ImportLookupTableRVA),
363 static_cast<uint32_t>(Dir->TimeDateStamp),
364 static_cast<uint32_t>(Dir->ForwarderChain),
365 static_cast<uint32_t>(Dir->NameRVA),
366 static_cast<uint32_t>(Dir->ImportAddressTableRVA));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp235 SrcLoc.Dir = GR.getString(LineEntryFile->Dir);
H A DInlineInfo.cpp147 SrcLoc.Dir = GR.getString(CallFile->Dir);
H A DGsymCreator.cpp119 assert(Files[0].Dir == 0);
127 O.writeU32(File.Dir);
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Dprutils.c402 NextDir->Dir, Filename, OpenMode, FullPathname);
H A Dasltypes.h335 char *Dir; member in struct:asl_include_dir
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp544 for (sys::fs::directory_iterator Dir(BundlePath, EC), DirEnd;
545 Dir != DirEnd && !EC; Dir.increment(EC)) {
546 const std::string &Path = Dir->path();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h405 void setBuiltinIncludeDir(const DirectoryEntry *Dir) { argument
406 BuiltinIncludeDir = Dir;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Driver/
H A DDriver.h120 std::string Dir; member in class:clang::driver::Driver
341 return Dir.c_str();

Completed in 380 milliseconds

1234