/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexActionTests.cpp | 28 std::string toUri(llvm::StringRef Path) { return URI::create(Path).toString(); } in toUri() function 39 return toUri(Path) == URI; 53 auto URI = toUri(Path); in checkNodesAreInitialized() 129 Pair(toUri(MainFilePath), in TEST_F() 132 Pair(toUri(Level1HeaderPath), in TEST_F() 135 Pair(toUri(Level2HeaderPath), in TEST_F() 159 Pair(toUri(MainFilePath), AllOf(IsTU(), IncludesAre({HeaderPath}), in TEST_F() 161 Pair(toUri(HeaderPath), AllOf(Not(IsTU()), IncludesAre({HeaderPath}), in TEST_F() 193 Pair(toUri(MainFilePath), in TEST_F() 196 Pair(toUri(HeaderPath), in TEST_F() [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | UrlTest.java | 51 URL url = path.toUri().toURL(); in creatUrl() 59 URL url = path.toUri().toURL(); in readFromUrl() 71 URL url = path.toUri().toURL(); in readDirectoryContents() 81 URL url = path.toUri().toURL(); in headers() 116 URL url = path.toUri().toURL(); in contentType()
|
D | WindowsPathTypeTest.java | 163 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), false); in testWindows_toUri_normal() 168 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), true); in testWindows_toUri_normal() 172 URI rootUri = PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.<String>of(), true); in testWindows_toUri_normal() 181 .toUri(fileSystemUri, "\\\\host\\share\\", ImmutableList.of("foo", "bar"), false); in testWindows_toUri_unc() 187 .toUri(fileSystemUri, "\\\\host\\share\\", ImmutableList.<String>of(), true); in testWindows_toUri_unc() 196 .toUri(fileSystemUri, "C:\\", ImmutableList.of("Users", "foo", "My Documents"), true); in testWindows_toUri_escaping()
|
D | JimfsWindowsLikeFileSystemTest.java | 252 assertThat(fs.getPath("C:\\").toUri()).isEqualTo(URI.create("jimfs://win/C:/")); in testPaths_toUri() 253 assertThat(fs.getPath("C:\\foo").toUri()).isEqualTo(URI.create("jimfs://win/C:/foo")); in testPaths_toUri() 254 assertThat(fs.getPath("C:\\foo\\bar").toUri()).isEqualTo(URI.create("jimfs://win/C:/foo/bar")); in testPaths_toUri() 255 assertThat(fs.getPath("foo").toUri()).isEqualTo(URI.create("jimfs://win/C:/work/foo")); in testPaths_toUri() 256 assertThat(fs.getPath("foo\\bar").toUri()).isEqualTo(URI.create("jimfs://win/C:/work/foo/bar")); in testPaths_toUri() 257 assertThat(fs.getPath("").toUri()).isEqualTo(URI.create("jimfs://win/C:/work/")); in testPaths_toUri() 258 assertThat(fs.getPath(".\\..\\.").toUri()).isEqualTo(URI.create("jimfs://win/C:/work/./.././")); in testPaths_toUri() 263 assertThat(fs.getPath("\\\\host\\share\\").toUri()) in testPaths_toUri_unc() 265 assertThat(fs.getPath("\\\\host\\share\\foo").toUri()) in testPaths_toUri_unc() 267 assertThat(fs.getPath("\\\\host\\share\\foo\\bar").toUri()) in testPaths_toUri_unc()
|
D | PathTypeTest.java | 67 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar"), false); in testToUri() 71 URI directoryUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar"), true); in testToUri() 75 URI rootUri = type.toUri(fileSystemUri, "$", ImmutableList.<String>of(), true); in testToUri() 82 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar baz"), false); in testToUri_escaping() 104 URI uri = type.toUri(fileSystemUri, result.root(), result.names(), false); in assertUriRoundTripsCorrectly()
|
D | UnixPathTypeTest.java | 59 URI fileUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), false); in testUnix_toUri() 64 PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), true); in testUnix_toUri() 68 URI rootUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.<String>of(), true); in testUnix_toUri() 75 URI uri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo bar"), false); in testUnix_toUri_escaping()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 86 assertEquals(toUri(serverUrl), uri); in get_httpGet() 109 assertEquals(toUri(serverUrl), uri); in get_httpsGet() 148 assertEquals(toUri(serverUrl), uri); in put_httpGet() 187 assertEquals(toUri(serverUrl), uri); in put_httpPost() 213 assertEquals(toUri(serverUrl), uri); in put_httpsGet()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | MainActivity.kt | 8 import androidx.core.net.toUri 36 intent.launchUrl(this, "http://airbnb.io/lottie/#/android".toUri()) in showShowcase()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/ |
D | TestJava7Types.java | 24 assertEquals(input.toUri(), p.toUri()); in testPathRoundtrip()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | FileReadingTest.java | 50 assertThat(JavaFile.builder("", type).build().toJavaFileObject().toUri()) in javaFileObjectUri() 52 assertThat(JavaFile.builder("foo", type).build().toJavaFileObject().toUri()) in javaFileObjectUri() 54 assertThat(JavaFile.builder("com.example", type).build().toJavaFileObject().toUri()) in javaFileObjectUri()
|
D | TestFiler.java | 39 super(path.toUri(), Kind.SOURCE); in Source()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | PathURLConnection.java | 75 Path path = Paths.get(toUri(url)); in connect() 111 private static URI toUri(URL url) throws IOException { in toUri() method in PathURLConnection
|
D | JimfsFileSystem.java | 260 public URI toUri(JimfsPath path) { in toUri() method in JimfsFileSystem 262 return pathService.toUri(uri, path.toAbsolutePath()); in toUri()
|
D | PathService.java | 239 public URI toUri(URI fileSystemUri, JimfsPath path) { in toUri() method in PathService 243 return type.toUri(fileSystemUri, root, names, Files.isDirectory(path, NOFOLLOW_LINKS)); in toUri()
|
D | JimfsPath.java | 384 public URI toUri() { in toUri() method in JimfsPath 385 return getJimfsFileSystem().toUri(this); in toUri()
|
/external/kotlinx.coroutines/buildSrc/src/main/kotlin/ |
D | Dokka.kt | 23 packageListUrl = packageList.toPath().toUri().toURL() in externalDocumentationLink()
|
/external/turbine/java/com/google/turbine/processing/ |
D | TurbineFiler.java | 233 public URI toUri() { in toUri() method in TurbineFiler.ReadOnlyFileObject 310 public URI toUri() { in toUri() method in TurbineFiler.TurbineJavaFileObject 362 public URI toUri() { in toUri() method in TurbineFiler.ResourceFileObject
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/ |
D | AbstractResponseCache.java | 39 public static URI toUri(URL serverUrl) { in toUri() method in AbstractResponseCache
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
D | ScriptingLayerService.java | 173 Log.d(String.format("Received intent: %s", intent.toUri(0))); in startAction() 273 newIntent.toUri(0))); in launchScript() 289 newIntent.toUri(0))); in launchInterpreter()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/ |
D | NioPathSerializer.java | 27 gen.writeString(value.toUri().toString()); in serialize()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/ |
D | build.gradle | 43 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/ |
D | build.gradle | 15 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/ |
D | build.gradle | 24 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
|
/external/auto/service/processor/src/main/java/com/google/auto/service/processor/ |
D | AutoServiceProcessor.java | 177 log("Looking for existing resource file at " + existingFile.toUri()); in generateConfigFiles() 203 log("Wrote to: " + fileObject.toUri()); in generateConfigFiles()
|
/external/kotlinx.coroutines/gradle/ |
D | dokka.gradle | 41 …packageListUrl = rootProject.projectDir.toPath().resolve("site/stdlib.package.list").toUri().toURL…
|