/external/llvm-project/clang-tools-extra/clangd/ |
D | URI.cpp | 61 uriFromAbsolutePath(llvm::StringRef AbsolutePath) const override { in uriFromAbsolutePath() 64 llvm::StringRef Root = llvm::sys::path::root_name(AbsolutePath); in uriFromAbsolutePath() 68 AbsolutePath.consume_front(Root); in uriFromAbsolutePath() 73 Body += llvm::sys::path::convert_to_slash(AbsolutePath); in uriFromAbsolutePath() 211 llvm::Expected<URI> URI::create(llvm::StringRef AbsolutePath, in create() argument 213 if (!llvm::sys::path::is_absolute(AbsolutePath)) in create() 214 return error("Not a valid absolute path: {0}", AbsolutePath); in create() 218 return S->get()->uriFromAbsolutePath(AbsolutePath); in create() 221 URI URI::create(llvm::StringRef AbsolutePath) { in create() argument 222 if (!llvm::sys::path::is_absolute(AbsolutePath)) in create() [all …]
|
D | URI.h | 44 static llvm::Expected<URI> create(llvm::StringRef AbsolutePath, 49 static URI create(llvm::StringRef AbsolutePath); 52 static URI createFile(llvm::StringRef AbsolutePath); 120 uriFromAbsolutePath(llvm::StringRef AbsolutePath) const = 0;
|
/external/perfetto/src/traced/probes/common/ |
D | cpu_freq_info_for_testing.cc | 65 PERFETTO_CHECK(remove(AbsolutePath(path).c_str()) == 0); in ~CpuFreqInfoForTesting() 68 base::Rmdir(AbsolutePath(path)); in ~CpuFreqInfoForTesting() 77 base::Mkdir(AbsolutePath(path).c_str()); in AddDir() 83 base::OpenFile(AbsolutePath(path), O_WRONLY | O_CREAT | O_TRUNC, 0600)); in AddFile() 88 std::string CpuFreqInfoForTesting::AbsolutePath(std::string path) { in AbsolutePath() function in perfetto::CpuFreqInfoForTesting
|
D | cpu_freq_info_for_testing.h | 47 std::string AbsolutePath(std::string path);
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Background.cpp | 70 llvm::SmallString<128> AbsolutePath; in getAbsolutePath() local 72 AbsolutePath = Cmd.Filename; in getAbsolutePath() 74 AbsolutePath = Cmd.Directory; in getAbsolutePath() 75 llvm::sys::path::append(AbsolutePath, Cmd.Filename); in getAbsolutePath() 76 llvm::sys::path::remove_dots(AbsolutePath, true); in getAbsolutePath() 78 return AbsolutePath; in getAbsolutePath() 82 auto Buf = FS->getBufferForFile(LS.AbsolutePath); in shardIsStale() 85 LS.AbsolutePath, Buf.getError().message()); in shardIsStale() 254 auto AbsolutePath = getAbsolutePath(Cmd); in index() local 257 auto Buf = FS->getBufferForFile(AbsolutePath); in index() [all …]
|
D | IndexAction.cpp | 35 auto AbsolutePath = File->tryGetRealPathName(); in toURI() local 36 if (AbsolutePath.empty()) in toURI() 38 return URI::create(AbsolutePath).toString(); in toURI()
|
D | BackgroundIndexLoader.cpp | 61 LS.AbsolutePath = StartSourceFile.str(); in loadShard() 63 BackgroundIndexStorage *Storage = IndexStorageFactory(LS.AbsolutePath); in loadShard()
|
D | BackgroundIndexLoader.h | 30 Path AbsolutePath; member
|
D | SymbolCollector.cpp | 62 llvm::SmallString<128> AbsolutePath(Path); in toURI() local 65 AbsolutePath = *CanonPath; in toURI() 70 if (!llvm::sys::path::is_absolute(AbsolutePath) && !Opts.FallbackDir.empty()) in toURI() 71 llvm::sys::fs::make_absolute(Opts.FallbackDir, AbsolutePath); in toURI() 72 llvm::sys::path::remove_dots(AbsolutePath, /*remove_dot_dot=*/true); in toURI() 73 return URI::create(AbsolutePath).toString(); in toURI()
|
/external/vixl/ |
D | .ycm_extra_conf.py | 12 def AbsolutePath(path): function 16 '-I', AbsolutePath('src'), 17 '-I', AbsolutePath('test'),
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TestFS.cpp | 112 uriFromAbsolutePath(llvm::StringRef AbsolutePath) const override { in uriFromAbsolutePath() 113 llvm::StringRef Body = AbsolutePath; in uriFromAbsolutePath() 115 return error("{0} does not start with {1}", AbsolutePath, testRoot()); in uriFromAbsolutePath()
|
D | URITests.cpp | 30 std::string createOrDie(llvm::StringRef AbsolutePath, in createOrDie() argument 32 auto Uri = URI::create(AbsolutePath, Scheme); in createOrDie()
|
/external/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 83 SmallString<1024> AbsolutePath(getAbsolutePath(SourceFile)); in autoDetectFromSource() local 84 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource() 98 SmallString<1024> AbsolutePath(getAbsolutePath(SourceDir)); in autoDetectFromDirectory() local 101 findCompilationDatabaseFromDirectory(AbsolutePath, ErrorMessage); in autoDetectFromDirectory()
|
D | JSONCompilationDatabase.cpp | 329 SmallString<128> AbsolutePath( in parse() local 331 llvm::sys::path::append(AbsolutePath, FileName); in parse() 332 llvm::sys::path::native(AbsolutePath, NativeFilePath); in parse()
|
D | Tooling.cpp | 165 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath() local 166 std::error_code EC = llvm::sys::fs::make_absolute(AbsolutePath); in getAbsolutePath() 169 llvm::sys::path::native(AbsolutePath); in getAbsolutePath() 170 return AbsolutePath.str(); in getAbsolutePath()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/plugin/ |
D | IncludeFixerPlugin.cpp | 74 SmallString<128> AbsolutePath(tooling::getAbsolutePath(InputFile)); in ParseArgs() local 75 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in ParseArgs()
|
/external/llvm-project/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 106 SmallString<1024> AbsolutePath(getAbsolutePath(SourceFile)); in autoDetectFromSource() local 107 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource() 121 SmallString<1024> AbsolutePath(getAbsolutePath(SourceDir)); in autoDetectFromDirectory() local 124 findCompilationDatabaseFromDirectory(AbsolutePath, ErrorMessage); in autoDetectFromDirectory()
|
D | JSONCompilationDatabase.cpp | 425 SmallString<128> AbsolutePath( in parse() local 427 llvm::sys::path::append(AbsolutePath, FileName); in parse() 428 llvm::sys::path::remove_dots(AbsolutePath, /*remove_dot_dot=*/ true); in parse() 429 llvm::sys::path::native(AbsolutePath, NativeFilePath); in parse()
|
D | Tooling.cpp | 235 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath() local 236 if (auto EC = FS.makeAbsolute(AbsolutePath)) in getAbsolutePath() 238 llvm::sys::path::native(AbsolutePath); in getAbsolutePath() 239 return std::string(AbsolutePath.str()); in getAbsolutePath()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 298 SmallString<16> AbsolutePath; in parseDWO() local 300 sys::path::append(AbsolutePath, CompilationDir); in parseDWO() 302 sys::path::append(AbsolutePath, DWOFileName); in parseDWO() 303 DWO = llvm::make_unique<DWOHolder>(AbsolutePath); in parseDWO()
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.cpp | 77 llvm::SmallString<128> AbsolutePath(Path); in MakeAbsolutePath() local 78 llvm::sys::fs::make_absolute(InitialDirectory, AbsolutePath); in MakeAbsolutePath() 79 return CleanPath(std::move(AbsolutePath)); in MakeAbsolutePath() 88 llvm::SmallString<128> AbsolutePath(Path); in MakeAbsolutePath() local 90 SM.getFileManager().getVirtualFileSystem().makeAbsolute(AbsolutePath)) in MakeAbsolutePath() 96 llvm::sys::path::parent_path(AbsolutePath.str())); in MakeAbsolutePath() 103 llvm::sys::path::filename(AbsolutePath.str())); in MakeAbsolutePath() 107 return CleanPath(AbsolutePath); in MakeAbsolutePath()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | TweakTests.cpp | 43 TEST(FileEdits, AbsolutePath) { in TEST() argument
|
/external/llvm-project/clang-tools-extra/clang-tidy/tool/ |
D | ClangTidyMain.cpp | 405 SmallString<256> AbsolutePath(Input); in clangTidyMain() local 406 if (std::error_code EC = llvm::sys::fs::make_absolute(AbsolutePath)) { in clangTidyMain() 410 return AbsolutePath; in clangTidyMain()
|
/external/openscreen/tools/ |
D | licenses.py | 88 def AbsolutePath(path, filename, root): function 147 license_path = AbsolutePath(path, filename, root)
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 571 SmallString<16> AbsolutePath; in parseDWO() local 574 sys::path::append(AbsolutePath, *CompilationDir); in parseDWO() 576 sys::path::append(AbsolutePath, *DWOFileName); in parseDWO() 580 auto DWOContext = Context.getDWOContext(AbsolutePath); in parseDWO()
|