Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DFileManager.cpp117 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/
Dfonttools-win-setup.iss129 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/
DHeaderSearch.cpp144 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 …]
DModuleMap.cpp186 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/
DFileManagerTest.cpp133 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/
DHTMLDiagnostics.cpp182 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/
DParseOpenMP.cpp147 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/
DTreeTransform.h1328 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 …]
DSemaOpenMP.cpp124 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/
DStmtOpenMP.h1032 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/
DFileManager.h213 const DirectoryEntry *getDirectory(StringRef DirName,
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h100 unsigned getOrCreateSourceID(StringRef FileName, StringRef DirName) override;
DDwarfCompileUnit.cpp60 StringRef DirName) { in getOrCreateSourceID() argument
67 0, DirName, FileName, in getOrCreateSourceID()
DDwarfUnit.cpp301 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/
DHeaderSearch.h655 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp551 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { in ParseDirectivePrevious() argument
DDarwinAsmParser.cpp614 bool DarwinAsmParser::parseDirectivePrevious(StringRef DirName, SMLoc) { in parseDirectivePrevious() argument
/external/clang/include/clang/Sema/
DSema.h7413 const DeclarationNameInfo &DirName, Scope *CurScope,
7443 const DeclarationNameInfo &DirName,
7492 StmtResult ActOnOpenMPCriticalDirective(const DeclarationNameInfo &DirName,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp2141 ReadDeclarationNameInfo(D->DirName, Record, Idx); in VisitOMPCriticalDirective()