/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
D | Marshalling.cpp | 225 llvm::SmallString<256> RelativePath = llvm::StringRef(Path); in toProtobuf() local 226 if (replace_path_prefix(RelativePath, LocalIndexRoot, "")) in toProtobuf() 228 convert_to_slash(RelativePath, Style::windows)); in toProtobuf() 313 Marshaller::relativePathToURI(llvm::StringRef RelativePath) { in relativePathToURI() argument 315 assert(RelativePath == convert_to_slash(RelativePath)); in relativePathToURI() 316 if (RelativePath.empty()) in relativePathToURI() 318 if (is_absolute(RelativePath, Style::posix)) in relativePathToURI() 319 return error("RelativePath '{0}' is absolute.", RelativePath); in relativePathToURI() 321 append(FullPath, RelativePath); in relativePathToURI() 395 auto RelativePath = uriToRelativePath(Location.FileURI); in toProtobuf() local [all …]
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 278 SmallVectorImpl<char> *RelativePath, in LookupFile() argument 297 if (RelativePath) { in LookupFile() 298 RelativePath->clear(); in LookupFile() 299 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 308 return DoFrameworkLookup(Filename, HS, SearchPath, RelativePath, in LookupFile() 341 if (RelativePath) { in LookupFile() 342 RelativePath->clear(); in LookupFile() 343 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 403 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument 462 if (RelativePath) { in DoFrameworkLookup() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
D | RestrictSystemLibcHeadersCheck.cpp | 37 StringRef SearchPath, StringRef RelativePath, 50 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument 57 RelativePath, Imported, FileType); in InclusionDirective()
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderSearch.cpp | 378 SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, in LookupFile() argument 396 if (RelativePath) { in LookupFile() 397 RelativePath->clear(); in LookupFile() 398 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 407 return DoFrameworkLookup(Filename, HS, SearchPath, RelativePath, in LookupFile() 426 if (RelativePath) { in LookupFile() 427 RelativePath->clear(); in LookupFile() 428 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 515 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument 577 if (RelativePath) { in DoFrameworkLookup() [all …]
|
D | PPDirectives.cpp | 725 SmallVectorImpl<char> *RelativePath, in LookupFile() argument 784 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile() 802 RelativePath, RequestingModule, SuggestedModule, IsMapped, in LookupFile() 819 Filename, CurFileEnt, SearchPath, RelativePath, RequestingModule, in LookupFile() 834 Filename, CurFileEnt, SearchPath, RelativePath, in LookupFile() 1730 SmallVectorImpl<char> &RelativePath, SmallVectorImpl<char> &SearchPath, in LookupHeaderIncludeOrImport() argument 1735 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport() 1772 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport() 1803 Callbacks ? &RelativePath : nullptr, &SuggestedModule, &IsMapped, in LookupHeaderIncludeOrImport() 1907 SmallString<1024> RelativePath; in HandleHeaderIncludeOrImport() local [all …]
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 81 class RelativePath(object): class 99 return RelativePath(path, rel_search_dir.source_root) 100 return RelativePath(os.path.join(rel_dir.path, file_name), 186 RelativePath(dirname, rel_filename.source_root), 239 args.import_directories[idx] = RelativePath(tokens[0], tokens[1]) 241 args.import_directories[idx] = RelativePath(tokens[0], args.depth) 255 RelativePath(filename, args.depth), []) 319 _ParseFile(args, RelativePath(filename, args.depth)) 337 rel_path = RelativePath(filename, args.depth)
|
/external/llvm-project/clang-tools-extra/clang-tidy/portability/ |
D | RestrictSystemIncludesCheck.cpp | 26 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument 31 llvm::sys::path::append(FullPath, RelativePath); in InclusionDirective()
|
D | RestrictSystemIncludesCheck.h | 54 StringRef SearchPath, StringRef RelativePath,
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 59 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() argument 68 this->RelativePath = RelativePath.str(); in InclusionDirective() 79 SmallString<16> RelativePath; member in __anon701ea7170111::InclusionDirectiveCallbacks
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | DeprecatedHeadersCheck.cpp | 31 StringRef SearchPath, StringRef RelativePath, 95 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
|
/external/clang/include/clang/Lex/ |
D | DirectoryLookup.h | 180 SmallVectorImpl<char> *RelativePath, 191 SmallVectorImpl<char> *RelativePath,
|
D | PPCallbacks.h | 129 StringRef RelativePath, in InclusionDirective() argument 356 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() argument 359 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective() 362 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | DirectoryLookup.h | 182 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, 190 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
|
D | PPCallbacks.h | 129 StringRef RelativePath, in InclusionDirective() argument 408 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() argument 412 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective() 415 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 28 StringRef SearchPath, StringRef RelativePath, 76 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
|
/external/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 52 StringRef SearchPath, StringRef RelativePath, 75 StringRef RelativePath, in InclusionDirective() argument
|
D | DependencyFile.cpp | 65 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() 191 StringRef SearchPath, StringRef RelativePath, 301 StringRef RelativePath, in InclusionDirective() argument
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | GlobalCompilationDatabaseTests.cpp | 185 void write(PathRef RelativePath, llvm::StringRef Contents) { in write() argument 186 std::string AbsPath = path(RelativePath); in write() 201 std::string path(PathRef RelativePath) const { in path() 203 llvm::sys::path::append(AbsPath, RelativePath); in path()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 51 StringRef SearchPath, StringRef RelativePath, 76 StringRef RelativePath, in InclusionDirective() argument
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 39 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() argument 49 this->RelativePath = RelativePath.str(); in InclusionDirective() 61 SmallString<16> RelativePath; member in __anon51328c050111::InclusionDirectiveCallbacks
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 159 StringRef RelativePath(File); in getAbsolutePath() local 161 if (RelativePath.startswith("./")) { in getAbsolutePath() 162 RelativePath = RelativePath.substr(strlen("./")); in getAbsolutePath() 165 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/ |
D | MarshallingTests.cpp | 438 auto RelativePath = ProtobufMarshaller.uriToRelativePath( in TEST() local 440 ASSERT_TRUE(bool(RelativePath)); in TEST() 445 RelativePath = WrongMarshaller.uriToRelativePath( in TEST() 447 EXPECT_FALSE(bool(RelativePath)); in TEST() 448 llvm::consumeError(RelativePath.takeError()); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | IncludeOrderCheck.cpp | 30 StringRef SearchPath, StringRef RelativePath, 81 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 229 StringRef RelativePath(File); in getAbsolutePath() local 231 if (RelativePath.startswith("./")) { in getAbsolutePath() 232 RelativePath = RelativePath.substr(strlen("./")); in getAbsolutePath() 235 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MacroPPCallbacks.h | 105 StringRef SearchPath, StringRef RelativePath,
|