Home
last modified time | relevance | path

Searched refs:RelativePath (Results 1 – 25 of 66) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.cpp225 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/
DHeaderSearch.cpp278 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/
DRestrictSystemLibcHeadersCheck.cpp37 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/
DHeaderSearch.cpp378 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 …]
DPPDirectives.cpp725 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/
Dmojom_bindings_generator.py81 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/
DRestrictSystemIncludesCheck.cpp26 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
31 llvm::sys::path::append(FullPath, RelativePath); in InclusionDirective()
DRestrictSystemIncludesCheck.h54 StringRef SearchPath, StringRef RelativePath,
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp59 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/
DDeprecatedHeadersCheck.cpp31 StringRef SearchPath, StringRef RelativePath,
95 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/external/clang/include/clang/Lex/
DDirectoryLookup.h180 SmallVectorImpl<char> *RelativePath,
191 SmallVectorImpl<char> *RelativePath,
DPPCallbacks.h129 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/
DDirectoryLookup.h182 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
190 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
DPPCallbacks.h129 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/
DSuspiciousIncludeCheck.cpp28 StringRef SearchPath, StringRef RelativePath,
76 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/external/clang/lib/Frontend/
DDependencyGraph.cpp52 StringRef SearchPath, StringRef RelativePath,
75 StringRef RelativePath, in InclusionDirective() argument
DDependencyFile.cpp65 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/
DGlobalCompilationDatabaseTests.cpp185 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/
DDependencyGraph.cpp51 StringRef SearchPath, StringRef RelativePath,
76 StringRef RelativePath, in InclusionDirective() argument
/external/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp39 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/
DTooling.cpp159 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/
DMarshallingTests.cpp438 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/
DIncludeOrderCheck.cpp30 StringRef SearchPath, StringRef RelativePath,
81 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/external/llvm-project/clang/lib/Tooling/
DTooling.cpp229 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/
DMacroPPCallbacks.h105 StringRef SearchPath, StringRef RelativePath,

123