Home
last modified time | relevance | path

Searched refs:CurDir (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Lex/
DPPLexerChange.cpp72 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() argument
82 EnterSourceFileWithPTH(PL, CurDir); in EnterSourceFile()
105 EnterSourceFileWithLexer(new Lexer(FID, InputFile, *this), CurDir); in EnterSourceFile()
112 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer() argument
120 CurDirLookup = CurDir; in EnterSourceFileWithLexer()
138 const DirectoryLookup *CurDir) { in EnterSourceFileWithPTH() argument
143 CurDirLookup = CurDir; in EnterSourceFileWithPTH()
241 if (const DirectoryEntry *CurDir = FM.getDirectory(Path)) { in computeRelativePath() local
242 if (CurDir == Dir) { in computeRelativePath()
DHeaderSearch.cpp568 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile() argument
578 CurDir = nullptr; in LookupFile()
680 CurDir = nullptr; in LookupFile()
727 CurDir = &SearchDirs[i]; in LookupFile()
731 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
751 if (CurDir->isIndexHeaderMap()) { in LookupFile()
786 CurDir, Includers.front(), SearchPath, RelativePath, in LookupFile()
DPPDirectives.cpp744 const DirectoryLookup *&CurDir, in LookupFile() argument
797 CurDir = CurDirLookup; in LookupFile()
802 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
814 CurDir = TmpCurDir; in LookupFile()
822 Filename, FilenameLoc, isAngled, FromDir, CurDir, Includers, SearchPath, in LookupFile()
1772 const DirectoryLookup *CurDir; in HandleIncludeDirective() local
1788 isAngled, LookupFrom, LookupFromFile, CurDir, in HandleIncludeDirective()
1806 LookupFrom, LookupFromFile, CurDir, nullptr, nullptr, in HandleIncludeDirective()
1820 LookupFrom, LookupFromFile, CurDir, in HandleIncludeDirective()
2015 if (EnterSourceFile(FID, CurDir, FilenameTok.getLocation())) in HandleIncludeDirective()
DPragma.cpp477 const DirectoryLookup *CurDir; in HandlePragmaDependency() local
480 nullptr, CurDir, nullptr, nullptr, nullptr); in HandlePragmaDependency()
DPPMacroExpansion.cpp1376 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() local
1379 CurDir, nullptr, nullptr, nullptr); in EvaluateHasIncludeCommon()
/external/clang/utils/analyzer/
DSATestAdd.py61 CurDir = os.path.abspath(os.curdir)
71 ProjectMapPath = os.path.join(CurDir, SATestBuild.ProjectMapFile)
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousIncludeCheck.cpp96 const DirectoryLookup *CurDir; in InclusionDirective() local
99 CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in InclusionDirective()
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp67 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() argument
92 EnterSourceFileWithLexer(new Lexer(FID, *InputFile, *this), CurDir); in EnterSourceFile()
99 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer() argument
107 CurDirLookup = CurDir; in EnterSourceFileWithLexer()
206 if (auto CurDir = FM.getDirectory(Path)) { in computeRelativePath() local
207 if (*CurDir == Dir) { in computeRelativePath()
DPPDirectives.cpp724 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, in LookupFile() argument
775 CurDir = CurDirLookup; in LookupFile()
780 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
793 CurDir = TmpCurDir; in LookupFile()
801 Filename, FilenameLoc, isAngled, FromDir, CurDir, Includers, SearchPath, in LookupFile()
1725 const DirectoryLookup *&CurDir, StringRef& Filename, in LookupHeaderIncludeOrImport() argument
1734 isAngled, LookupFrom, LookupFromFile, CurDir, in LookupHeaderIncludeOrImport()
1753 LookupFrom, LookupFromFile, CurDir, nullptr, nullptr, in LookupHeaderIncludeOrImport()
1771 false, LookupFrom, LookupFromFile, CurDir, in LookupHeaderIncludeOrImport()
1802 CurDir, Callbacks ? &SearchPath : nullptr, in LookupHeaderIncludeOrImport()
[all …]
DHeaderSearch.cpp756 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile() argument
773 CurDir = nullptr; in LookupFile()
880 CurDir = nullptr; in LookupFile()
943 CurDir = &SearchDirs[i]; in LookupFile()
947 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
967 if (CurDir->isIndexHeaderMap()) { in LookupFile()
1008 ScratchFilename, IncludeLoc, /*isAngled=*/true, FromDir, CurDir, in LookupFile()
DPreprocessor.cpp573 const DirectoryLookup *CurDir; in EnterMainSourceFile() local
576 /*isAngled=*/false, /*FromDir=*/nullptr, /*FromFile=*/nullptr, CurDir, in EnterMainSourceFile()
DPPMacroExpansion.cpp1226 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() local
1229 CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in EvaluateHasIncludeCommon()
DPragma.cpp521 const DirectoryLookup *CurDir; in HandlePragmaDependency() local
524 nullptr, CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in HandlePragmaDependency()
/external/rust/cxx/gen/src/
Dcheck.rs19 if let Some(Component::CurDir) | Some(Component::ParentDir) = first_component { in check_dot_includes()
/external/rust/cxx/gen/build/src/
Dpaths.rs22 Component::Prefix(_) | Component::RootDir | Component::CurDir => {} in local_relative_path()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp387 const DirectoryLookup *CurDir; in HandleHasInclude() local
394 Filename, SourceLocation(), isAngled, nullptr, CurDir, Includers, nullptr, in HandleHasInclude()
/external/clang/include/clang/Lex/
DHeaderSearch.h380 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc884 dirent *CurDir = ::readdir(reinterpret_cast<DIR *>(It.IterationHandle));
885 if (CurDir == nullptr && errno != 0) {
887 } else if (CurDir != nullptr) {
888 StringRef Name(CurDir->d_name);
892 It.CurrentEntry.replace_filename(Name, direntType(CurDir));
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp399 const DirectoryLookup *CurDir; in ParseDirective() local
401 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir, in ParseDirective()
/external/llvm-project/clang/include/clang/Lex/
DHeaderSearch.h403 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
DPreprocessor.h2010 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath,
2259 const DirectoryLookup *&CurDir, StringRef &Filename,
/external/llvm-project/clang/lib/Frontend/
DFrontendActions.cpp298 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction() local
300 Name, SourceLocation(), /*Angled*/ false, nullptr, CurDir, None, in BeginSourceFileAction()
DVerifyDiagnosticConsumer.cpp546 const DirectoryLookup *CurDir; in ParseDirective() local
548 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir, in ParseDirective()
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc918 dirent *CurDir = ::readdir(reinterpret_cast<DIR *>(It.IterationHandle));
919 if (CurDir == nullptr && errno != 0) {
921 } else if (CurDir != nullptr) {
922 StringRef Name(CurDir->d_name);
926 It.CurrentEntry.replace_filename(Name, direntType(CurDir));
/external/rust/crates/zip/src/
Dread.rs726 Component::CurDir => (), in enclosed_name()

12