Home
last modified time | relevance | path

Searched refs:authority (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DURITests.cpp27 MATCHER_P(authority, A, "") { return arg.authority() == A; }
56 EXPECT_EQ(parseOrDie("s%2b://%3a/%3").authority(), ":"); in TEST()
97 AllOf(scheme("file"), authority("auth"), body("/x/y/z"))); in TEST()
103 AllOf(scheme("file"), authority(""), body("/(x)/y/\\ z"))); in TEST()
105 AllOf(scheme("file"), authority(""), body("/x/y/z"))); in TEST()
107 AllOf(scheme("file"), authority(""), body(""))); in TEST()
109 AllOf(scheme("file"), authority(""), body("/x/y/z%2"))); in TEST()
111 AllOf(scheme("http"), authority("llvm.org"), body(""))); in TEST()
113 AllOf(scheme("http"), authority("llvm.org"), body("/"))); in TEST()
115 AllOf(scheme("http"), authority("llvm.org"), body("/D"))); in TEST()
[all …]
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.cpp131 StringRef authority; in uriFromAbsolutePath() local
135 authority = root.drop_front(2); in uriFromAbsolutePath()
144 if (authority.empty() && body.empty()) in uriFromAbsolutePath()
149 if (!authority.empty() || StringRef(body).startswith("/")) { in uriFromAbsolutePath()
151 percentEncode(authority, uri); in uriFromAbsolutePath()
157 static llvm::Expected<std::string> getAbsolutePath(StringRef authority, in getAbsolutePath() argument
166 if (!authority.empty()) { in getAbsolutePath()
168 ("//" + authority).toVector(path); in getAbsolutePath()
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dtest-uri-posix.test3 # Test authority-less URI
H A Dtest-uri-windows.test3 # Test authority-less URI
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DURI.h35 llvm::StringRef authority() const { return Authority; } in authority() function
H A DPathMapping.cpp41 return URI(Uri->scheme(), Uri->authority(), MappedBody) in doPathMapping()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZInstrSystem.td92 // Extract and set extended authority.
285 // Branch and set authority.
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DDex.cpp378 URI(ParsedURI->scheme(), ParsedURI->authority(), Body).toString()); in generateProximityURIs()