/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 72 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()
|
D | HeaderSearch.cpp | 568 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()
|
D | PPDirectives.cpp | 744 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()
|
D | Pragma.cpp | 477 const DirectoryLookup *CurDir; in HandlePragmaDependency() local 480 nullptr, CurDir, nullptr, nullptr, nullptr); in HandlePragmaDependency()
|
D | PPMacroExpansion.cpp | 1376 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() local 1379 CurDir, nullptr, nullptr, nullptr); in EvaluateHasIncludeCommon()
|
/external/clang/utils/analyzer/ |
D | SATestAdd.py | 61 CurDir = os.path.abspath(os.curdir) 71 ProjectMapPath = os.path.join(CurDir, SATestBuild.ProjectMapFile)
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 96 const DirectoryLookup *CurDir; in InclusionDirective() local 99 CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in InclusionDirective()
|
/external/llvm-project/clang/lib/Lex/ |
D | PPLexerChange.cpp | 67 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()
|
D | PPDirectives.cpp | 724 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 …]
|
D | HeaderSearch.cpp | 756 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()
|
D | Preprocessor.cpp | 573 const DirectoryLookup *CurDir; in EnterMainSourceFile() local 576 /*isAngled=*/false, /*FromDir=*/nullptr, /*FromFile=*/nullptr, CurDir, in EnterMainSourceFile()
|
D | PPMacroExpansion.cpp | 1226 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() local 1229 CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in EvaluateHasIncludeCommon()
|
D | Pragma.cpp | 521 const DirectoryLookup *CurDir; in HandlePragmaDependency() local 524 nullptr, CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in HandlePragmaDependency()
|
/external/rust/cxx/gen/src/ |
D | check.rs | 19 if let Some(Component::CurDir) | Some(Component::ParentDir) = first_component { in check_dot_includes()
|
/external/rust/cxx/gen/build/src/ |
D | paths.rs | 22 Component::Prefix(_) | Component::RootDir | Component::CurDir => {} in local_relative_path()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 387 const DirectoryLookup *CurDir; in HandleHasInclude() local 394 Filename, SourceLocation(), isAngled, nullptr, CurDir, Includers, nullptr, in HandleHasInclude()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 380 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Path.inc | 884 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/ |
D | VerifyDiagnosticConsumer.cpp | 399 const DirectoryLookup *CurDir; in ParseDirective() local 401 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir, in ParseDirective()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | HeaderSearch.h | 403 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
|
D | Preprocessor.h | 2010 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, 2259 const DirectoryLookup *&CurDir, StringRef &Filename,
|
/external/llvm-project/clang/lib/Frontend/ |
D | FrontendActions.cpp | 298 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction() local 300 Name, SourceLocation(), /*Angled*/ false, nullptr, CurDir, None, in BeginSourceFileAction()
|
D | VerifyDiagnosticConsumer.cpp | 546 const DirectoryLookup *CurDir; in ParseDirective() local 548 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir, in ParseDirective()
|
/external/llvm-project/llvm/lib/Support/Unix/ |
D | Path.inc | 918 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/ |
D | read.rs | 726 Component::CurDir => (), in enclosed_name()
|