Searched refs:authority (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | URITests.cpp | 27 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 D | Protocol.cpp | 131 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 D | test-uri-posix.test | 3 # Test authority-less URI
|
| H A D | test-uri-windows.test | 3 # Test authority-less URI
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | URI.h | 35 llvm::StringRef authority() const { return Authority; } in authority() function
|
| H A D | PathMapping.cpp | 41 return URI(Uri->scheme(), Uri->authority(), MappedBody) in doPathMapping()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrSystem.td | 92 // Extract and set extended authority. 285 // Branch and set authority.
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/ |
| H A D | Dex.cpp | 378 URI(ParsedURI->scheme(), ParsedURI->authority(), Body).toString()); in generateProximityURIs()
|