Home
last modified time | relevance | path

Searched refs:DirName (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DFileManager.cpp82 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile() local
84 if (DirName.empty()) in getDirectoryFromFile()
85 DirName = "."; in getDirectoryFromFile()
87 return FileMgr.getDirectoryRef(DirName, CacheFailure); in getDirectoryFromFile()
93 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs() local
94 if (DirName.empty()) in addAncestorsAsVirtualDirs()
95 DirName = "."; in addAncestorsAsVirtualDirs()
98 {DirName, std::errc::no_such_file_or_directory}).first; in addAncestorsAsVirtualDirs()
114 addAncestorsAsVirtualDirs(DirName); in addAncestorsAsVirtualDirs()
118 FileManager::getDirectoryRef(StringRef DirName, bool CacheFailure) { in getDirectoryRef() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp219 auto DirName = FileMgr.getCanonicalName(*Dir); in getCachedModuleFileNameImpl() local
223 llvm::hash_combine(DirName.lower(), FileName.lower()); in getCachedModuleFileNameImpl()
458 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument
460 assert(llvm::sys::path::extension(DirName) == ".framework" && in getTopFrameworkDir()
478 if (auto TopFrameworkDirOrErr = FileMgr.getDirectory(DirName)) in getTopFrameworkDir()
482 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir()
485 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir()
486 if (DirName.empty()) in getTopFrameworkDir()
490 auto Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
496 if (llvm::sys::path::extension(DirName) == ".framework") { in getTopFrameworkDir()
[all …]
H A DModuleMap.cpp421 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs() local
433 DirName = llvm::sys::path::parent_path(DirName); in findHeaderInUmbrellaDirs()
434 if (DirName.empty()) in findHeaderInUmbrellaDirs()
438 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in findHeaderInUmbrellaDirs()
724 StringRef DirName = Dir->getName(); in isHeaderUnavailableInModule() local
777 DirName = llvm::sys::path::parent_path(DirName); in isHeaderUnavailableInModule()
778 if (DirName.empty()) in isHeaderUnavailableInModule()
782 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in isHeaderUnavailableInModule()
2416 std::string DirName = std::string(Tok.getString()); in parseUmbrellaDirDecl() local
2417 std::string DirNameAsWritten = DirName; in parseUmbrellaDirDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DFileManager.h163 llvm::Expected<DirectoryEntryRef> getDirectoryRef(StringRef DirName,
168 getOptionalDirectoryRef(StringRef DirName, bool CacheFailure = true) {
169 return llvm::expectedToOptional(getDirectoryRef(DirName, CacheFailure));
186 getDirectory(StringRef DirName, bool CacheFailure = true);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h1562 DeclarationNameInfo DirName, in RebuildOMPExecutableDirective() argument
1568 Kind, DirName, CancelRegion, Clauses, AStmt, StartLoc, EndLoc); in RebuildOMPExecutableDirective()
8467 DeclarationNameInfo DirName; in TransformOMPExecutableDirective() local
8469 DirName = cast<OMPCriticalDirective>(D)->getDirectiveName(); in TransformOMPExecutableDirective()
8470 DirName = getDerived().TransformDeclarationNameInfo(DirName); in TransformOMPExecutableDirective()
8480 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
8487 DeclarationNameInfo DirName; in TransformOMPParallelDirective() local
8488 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, nullptr, in TransformOMPParallelDirective()
8498 DeclarationNameInfo DirName; in TransformOMPSimdDirective() local
8499 getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, nullptr, in TransformOMPSimdDirective()
[all …]
H A DSemaOpenMP.cpp369 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument
376 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push()
2517 const DeclarationNameInfo &DirName, in StartOpenMPDSABlock() argument
2519 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock()
5707 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective() argument
5713 checkNestingOfRegions(*this, DSAStack, Kind, DirName, CancelRegion, in ActOnOpenMPExecutableDirective()
5883 Res = ActOnOpenMPCriticalDirective(DirName, ClausesWithImplicit, AStmt, in ActOnOpenMPExecutableDirective()
9906 const DeclarationNameInfo &DirName, ArrayRef<OMPClause *> Clauses, in ActOnOpenMPCriticalDirective() argument
9917 if (!DirName.getName()) { in ActOnOpenMPCriticalDirective()
9933 const auto Pair = DSAStack->getCriticalWithHint(DirName); in ActOnOpenMPCriticalDirective()
[all …]
H A DSemaTemplateInstantiateDecl.cpp3398 DeclarationNameInfo DirName; in VisitOMPDeclareMapperDecl() local
3399 SemaRef.StartOpenMPDSABlock(llvm::omp::OMPD_declare_mapper, DirName, in VisitOMPDeclareMapperDecl()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-libtool-darwin/
H A Dllvm-libtool-darwin.cpp147 StringRef FileName, DirName; in processFileList() local
148 std::tie(FileName, DirName) = StringRef(FileList).rsplit(","); in processFileList()
170 if (!DirName.empty()) in processFileList()
171 sys::path::append(Path, DirName, Line); in processFileList()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp491 llvm::SmallString<0> DirName; in FinalizeHTML() local
494 llvm::sys::fs::current_path(DirName); in FinalizeHTML()
495 DirName += '/'; in FinalizeHTML()
518 << html::EscapeText(DirName) in FinalizeHTML()
600 os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n"; in FinalizeHTML()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerIO.h38 std::string DirName(const std::string &FileName);
H A DFuzzerIOPosix.cpp114 std::string DirName(const std::string &FileName) { in DirName() function
H A DFuzzerIOWindows.cpp281 std::string DirName(const std::string &FileName) { in DirName() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp266 auto GetROCmVersion = [](StringRef DirName) { in getInstallationPathCandidates() argument
268 std::string VerStr = DirName.drop_front(strlen("rocm-")).str(); in getInstallationPathCandidates()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearch.h812 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/data/
H A Dsub-ca.crt56 DirName:/CN=hx509 Test Root CA/C=SE
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseOpenMP.cpp580 DeclarationNameInfo DirName; in ParseOpenMPDeclareMapperDirective() local
585 Actions.StartOpenMPDSABlock(OMPD_declare_mapper, DirName, getCurScope(), Loc); in ParseOpenMPDeclareMapperDirective()
2290 DeclarationNameInfo DirName; in ParseOpenMPDeclarativeOrExecutableDirective() local
2463 DirName = in ParseOpenMPDeclarativeOrExecutableDirective()
2482 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective()
2574 DKind, DirName, CancelRegion, Clauses, AssociatedStmt.get(), Loc, in ParseOpenMPDeclarativeOrExecutableDirective()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtOpenMP.h1927 DeclarationNameInfo DirName; variable
1938 DirName(Name) {} in OMPCriticalDirective()
1951 void setDirectiveName(const DeclarationNameInfo &Name) { DirName = Name; } in setDirectiveName()
1978 DeclarationNameInfo getDirectiveName() const { return DirName; } in getDirectiveName()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp699 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { in ParseDirectivePrevious() argument
H A DDarwinAsmParser.cpp751 bool DarwinAsmParser::parseDirectivePrevious(StringRef DirName, SMLoc) { in parseDirectivePrevious() argument
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h10329 const DeclarationNameInfo &DirName, Scope *CurScope,
10484 OpenMPDirectiveKind Kind, const DeclarationNameInfo &DirName,
10538 StmtResult ActOnOpenMPCriticalDirective(const DeclarationNameInfo &DirName,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp2348 D->DirName = Record.readDeclarationNameInfo(); in VisitOMPCriticalDirective()