Home
last modified time | relevance | path

Searched refs:toURI (Results 1 – 25 of 84) sorted by relevance

1234

/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginFinderTest.java44 assertNull(finder.findPluginClass(asList(f.toURI().toURL()))); in no_valid_impl()
55 assertEquals("foo.Foo", finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation()
66 assertEquals(null, finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation_disabled()
78 assertEquals("Bar", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_enabled()
90 assertEquals("X", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_useful()
102 assertEquals(null, finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_empty_implementations()
110 finder.findPluginClass(asList(new File("xxx").toURI().toURL())); in problems_loading_impl()
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java50 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in success()
60 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in redirect()
69 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in sessionExpired()
78 HttpGet request1 = new HttpGet(server.getUrl("/").toURI()); in headers()
84 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers()
95 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postByteEntity()
108 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postInputStreamEntity()
119 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postEmptyEntity()
128 final HttpPut put = new HttpPut(server.getUrl("/").toURI()); in putEmptyEntity()
140 httpPost.setURI(server.getUrl("/").toURI()); in postOverrideContentType()
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java217 new File("/usr/test/dep.jar").toURI(), in testGetClassPathEntry()
220 .toURI()); in testGetClassPathEntry()
222 new File("/home/build/a.jar").toURI(), in testGetClassPathEntry()
223 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI()); in testGetClassPathEntry()
225 new File("/home/build/x/y/z").toURI(), in testGetClassPathEntry()
226 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI()); in testGetClassPathEntry()
228 new File("/home/build/x/y/z.jar").toURI(), in testGetClassPathEntry()
230 .toURI()); in testGetClassPathEntry()
426 file = new File(url.toURI()); in doTestExistsThrowsSecurityException()
513 return new File(new File(path).toURI()); in fullpath()
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DIndexAction.cpp32 llvm::Optional<std::string> toURI(const FileEntry *File) { in toURI() function
63 auto URI = toURI(File); in FileChanged()
92 auto IncludeURI = toURI(File); in InclusionDirective()
96 auto IncludingURI = toURI(SM.getFileEntryForID(SM.getFileID(HashLoc))); in InclusionDirective()
110 auto URI = toURI(&SkippedFile.getFileEntry()); in FileSkipped()
DSymbolCollector.cpp60 std::string toURI(const SourceManager &SM, llvm::StringRef Path, in toURI() function
151 FileURIStorage = toURI(SM, Path, Opts); in getTokenLocation()
386 const auto MainFileURI = toURI(SM, MainFileEntry->getName(), Opts); in handleMacros()
577 auto FileURI = toURI(SM, FileEntry->getName(), Opts); in finish()
762 return toURI(SM, Canonical, Opts); in getIncludeHeader()
773 return toURI(SM, Filename, Opts); in getIncludeHeader()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java284 new File("/usr/test/dep.jar").toURI(), in testGetClassPathEntry()
287 .toURI()); in testGetClassPathEntry()
289 new File("/home/build/a.jar").toURI(), in testGetClassPathEntry()
290 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI()); in testGetClassPathEntry()
292 new File("/home/build/x/y/z").toURI(), in testGetClassPathEntry()
293 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI()); in testGetClassPathEntry()
295 new File("/home/build/x/y/z.jar").toURI(), in testGetClassPathEntry()
297 .toURI()); in testGetClassPathEntry()
493 file = new File(url.toURI()); in doTestExistsThrowsSecurityException()
580 return new File(new File(path).toURI()); in fullpath()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java50 if (lastUrl != null && url.toURI().equals(lastUrl.toURI())) { in loadDataWithRedirects()
/external/apache-http/src/org/apache/http/
DHttpHost.java161 public String toURI() { in toURI() method in HttpHost
191 return toURI(); in toString()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
DAbstractResponseCache.java41 return serverUrl.toURI(); in toUri()
/external/dokka/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/
Dbuild.gradle37 packageListUrl = file("$rootDir/package-list").toURI().toURL()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DJarFinder.java88 uri = entry.toURI(); in getClassPathEntries()
204 : new File(jarFile.getParentFile(), path.replace('/', File.separatorChar)).toURI(); in getClassPathEntry()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java53 return new File(getClass().getProtectionDomain().getCodeSource().getLocation().toURI()); in getClassesFolder()
/external/apache-harmony/luni/src/test/impl/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderImplTest.java61 final URI a = res.toURI(); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoaderLjava_net_URLStreamHandlerFactory()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DLocalDependencyResolver.java53 return file.toURI().toURL(); in fileToUrl()
DPropertiesDependencyResolver.java40 return pathFile.toURI().toURL(); in getLocalArtifactUrl()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DClassPathUtil.java42 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DClassPathUtil.java42 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
/external/dokka/runners/cli/src/main/kotlin/cli/
Dmain.kt114 File(packageList).toURI().toURL() in parseLinks()
189 val toolsJar = findToolsJar().canonicalFile.toURI().toURL() in createClassLoaderWithTools()
/external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/test/kotlin/kotlinx/atomicfu/plugin/gradle/
DProject.kt69 val files = File(resource.toURI()) in defaultArguments()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DEffectiveClassPath.java63 files.add(new File(url.toURI())); in getClassPathFiles()
/external/guava/android/guava/src/com/google/common/reflect/
DClassPath.java489 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
508 return new URL(jarFile.toURI().toURL(), path); in getClassPathEntry()
594 return new File(url.toURI()); // Accepts escaped characters like %20. in toFile()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java488 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
507 return new URL(jarFile.toURI().toURL(), path); in getClassPathEntry()
593 return new File(url.toURI()); // Accepts escaped characters like %20. in toFile()
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
DHpackJsonUtil.java47 File testCaseDirectory = new File(HpackJsonUtil.class.getResource("/hpack-test-case").toURI()); in storiesForCurrentDraft()
/external/opencensus-java/contrib/agent/src/integration-test/java/io/opencensus/contrib/agent/instrumentation/
DUrlInstrumentationIT.java62 URL url = getClass().getResource("some_resource.txt").toURI().toURL(); in getContent()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DPrettyPrintingSteps.java54 sourceUnderTest = readerToString(new FileReader(new File(url.toURI()))).trim(); in givenTheClassInTheFile()

1234