/external/clang/lib/Basic/ |
D | FileManager.cpp | 117 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile() local 119 if (DirName.empty()) in getDirectoryFromFile() 120 DirName = "."; in getDirectoryFromFile() 122 return FileMgr.getDirectory(DirName, CacheFailure); in getDirectoryFromFile() 128 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs() local 129 if (DirName.empty()) in addAncestorsAsVirtualDirs() 133 *SeenDirEntries.insert(std::make_pair(DirName, nullptr)).first; in addAncestorsAsVirtualDirs() 149 addAncestorsAsVirtualDirs(DirName); in addAncestorsAsVirtualDirs() 152 const DirectoryEntry *FileManager::getDirectory(StringRef DirName, in getDirectory() argument 157 if (DirName.size() > 1 && in getDirectory() [all …]
|
/external/fonttools/Windows/ |
D | fonttools-win-setup.iss | 129 procedure ModifyPathString(OldPath, DirName: string; Method: integer; Quotes: boolean; var ResultPa… 138 // Remove quotes form DirName 139 DirName := Trim(DirName); 140 DirName := RemoveQuotes(DirName); 141 DirName := Trim(DirName); 150 if (uppercase(Dirs.Strings[i]) = uppercase(DirName)) then 159 …if (((Method and pmRemoveSubdirsAlso) > 0) and (pos(uppercase(DirName)+'\', uppercase(Dirs.Strings… 160 …(((Method and (pmRemove) or (pmRemoveSubdirsAlso)) > 0) and (uppercase(DirName) = uppercase(Dirs.S… 173 if (((Method and pmAddOnlyIfDirExists) = 0) or (DirExists(DirName))) then 177 Dirs.Insert(0, DirName) [all …]
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 144 auto DirName = FileMgr.getCanonicalName(Dir); in getModuleFileName() local 148 llvm::hash_combine(DirName.lower(), FileName.lower()); in getModuleFileName() 353 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument 355 assert(llvm::sys::path::extension(DirName) == ".framework" && in getTopFrameworkDir() 372 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 373 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir() 376 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir() 377 if (DirName.empty()) in getTopFrameworkDir() 381 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 387 if (llvm::sys::path::extension(DirName) == ".framework") { in getTopFrameworkDir() [all …]
|
D | ModuleMap.cpp | 186 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs() local 198 DirName = llvm::sys::path::parent_path(DirName); in findHeaderInUmbrellaDirs() 199 if (DirName.empty()) in findHeaderInUmbrellaDirs() 203 Dir = SourceMgr.getFileManager().getDirectory(DirName); in findHeaderInUmbrellaDirs() 468 StringRef DirName = Dir->getName(); in isHeaderUnavailableInModule() local 521 DirName = llvm::sys::path::parent_path(DirName); in isHeaderUnavailableInModule() 522 if (DirName.empty()) in isHeaderUnavailableInModule() 526 Dir = SourceMgr.getFileManager().getDirectory(DirName); in isHeaderUnavailableInModule() 1826 std::string DirName = Tok.getString(); in parseUmbrellaDirDecl() local 1839 if (llvm::sys::path::is_absolute(DirName)) in parseUmbrellaDirDecl() [all …]
|
/external/clang/unittests/Basic/ |
D | FileManagerTest.cpp | 133 const char *DirName = "C:."; in TEST_F() local 135 statCache->InjectDirectory(DirName, 44); in TEST_F() 155 EXPECT_STREQ(DirName, dir->getName()); in TEST_F()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 182 llvm::SmallString<0> DirName; in ReportDiag() local 185 llvm::sys::fs::current_path(DirName); in ReportDiag() 186 DirName += '/'; in ReportDiag() 201 << html::EscapeText(DirName) in ReportDiag() 242 os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n"; in ReportDiag()
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 147 DeclarationNameInfo DirName; in ParseOpenMPDeclarativeOrExecutableDirective() local 209 DirName = in ParseOpenMPDeclarativeOrExecutableDirective() 224 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective() 265 DKind, DirName, Clauses, AssociatedStmt.get(), Loc, EndLoc); in ParseOpenMPDeclarativeOrExecutableDirective()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 1328 DeclarationNameInfo DirName, in RebuildOMPExecutableDirective() argument 1332 return getSema().ActOnOpenMPExecutableDirective(Kind, DirName, Clauses, in RebuildOMPExecutableDirective() 6692 DeclarationNameInfo DirName; in TransformOMPExecutableDirective() local 6694 DirName = cast<OMPCriticalDirective>(D)->getDirectiveName(); in TransformOMPExecutableDirective() 6695 DirName = getDerived().TransformDeclarationNameInfo(DirName); in TransformOMPExecutableDirective() 6699 D->getDirectiveKind(), DirName, TClauses, AssociatedStmt.get(), in TransformOMPExecutableDirective() 6706 DeclarationNameInfo DirName; in TransformOMPParallelDirective() local 6707 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, nullptr, in TransformOMPParallelDirective() 6717 DeclarationNameInfo DirName; in TransformOMPSimdDirective() local 6718 getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, nullptr, in TransformOMPSimdDirective() [all …]
|
D | SemaOpenMP.cpp | 124 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push() argument 126 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push() 572 const DeclarationNameInfo &DirName, in StartOpenMPDSABlock() argument 574 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock() 1740 const DeclarationNameInfo &DirName, in ActOnOpenMPExecutableDirective() argument 1746 if (CheckNestingOfRegions(*this, DSAStack, Kind, DirName, StartLoc)) in ActOnOpenMPExecutableDirective() 1814 Res = ActOnOpenMPCriticalDirective(DirName, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() 3142 Sema::ActOnOpenMPCriticalDirective(const DeclarationNameInfo &DirName, in ActOnOpenMPCriticalDirective() argument 3149 return OMPCriticalDirective::Create(Context, DirName, StartLoc, EndLoc, in ActOnOpenMPCriticalDirective()
|
/external/clang/include/clang/AST/ |
D | StmtOpenMP.h | 1032 DeclarationNameInfo DirName; variable 1043 DirName(Name) {} in OMPCriticalDirective() 1050 DirName() {} in OMPCriticalDirective() 1056 void setDirectiveName(const DeclarationNameInfo &Name) { DirName = Name; } in setDirectiveName() 1079 DeclarationNameInfo getDirectiveName() const { return DirName; } in getDirectiveName()
|
/external/clang/include/clang/Basic/ |
D | FileManager.h | 213 const DirectoryEntry *getDirectory(StringRef DirName,
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 100 unsigned getOrCreateSourceID(StringRef FileName, StringRef DirName) override;
|
D | DwarfCompileUnit.cpp | 60 StringRef DirName) { in getOrCreateSourceID() argument 67 0, DirName, FileName, in getOrCreateSourceID()
|
D | DwarfUnit.cpp | 301 unsigned DwarfTypeUnit::getOrCreateSourceID(StringRef FileName, StringRef DirName) { in getOrCreateSourceID() argument 302 return SplitLineTable ? SplitLineTable->getFile(DirName, FileName) in getOrCreateSourceID() 303 : getCU().getOrCreateSourceID(FileName, DirName); in getOrCreateSourceID()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 655 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
|
/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 551 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { in ParseDirectivePrevious() argument
|
D | DarwinAsmParser.cpp | 614 bool DarwinAsmParser::parseDirectivePrevious(StringRef DirName, SMLoc) { in parseDirectivePrevious() argument
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7413 const DeclarationNameInfo &DirName, Scope *CurScope, 7443 const DeclarationNameInfo &DirName, 7492 StmtResult ActOnOpenMPCriticalDirective(const DeclarationNameInfo &DirName,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 2141 ReadDeclarationNameInfo(D->DirName, Record, Idx); in VisitOMPCriticalDirective()
|