/external/guava/guava/src/com/google/common/io/ |
Resources.java | 30 import java.net.URL; 36 * Note that even though these methods use {@link URL} parameters, they 51 * Returns a {@link ByteSource} that reads from the given URL. 55 public static ByteSource asByteSource(URL url) { 56 return new UrlByteSource(url); 60 * A byte source that reads from a URL using {@link URL#openStream()}. 64 private final URL url; field in class:Resources.UrlByteSource 196 URL url = loader.getResource(resourceName); local 208 URL url = contextClass.getResource(resourceName); local [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLClassLoaderTest.java | 25 import java.net.URL; 44 * java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 47 URL[] u = new URL[0]; 53 URL [] urls = {new URL("http://foo.com/foo"), 54 new URL("jar:file://foo.jar!/foo.c"), 55 new URL("ftp://foo1/foo2/foo.c")}; 68 new URLClassLoader(new URL[] { null }); 100 URL[] urls = new URL[2] 154 URL url = file.toURL(); local 284 String url; local [all...] |
URLStreamHandlerFactoryTest.java | 20 import java.net.URL; 35 for (Field field : URL.class.getDeclaredFields()) { 37 assertNull("URL declares multiple URLStreamHandlerFactory fields", factoryField); 45 fail("URL does not declare a URLStreamHandlerFactory field"); 50 URL.setURLStreamHandlerFactory(oldFactory); 57 URL.setURLStreamHandlerFactory(shf); 58 URL url = new URL("http://android.com/"); local 60 URLConnection connection = url.openConnection() [all...] |
/libcore/ojluni/src/main/java/java/security/ |
CodeSource.java | 29 import java.net.URL; 51 private URL location; 53 public CodeSource(URL url, java.security.cert.Certificate certs[]) { 54 this.location = url; 57 public CodeSource(URL url, CodeSigner[] signers) { 58 this.location = url; 61 public final URL getLocation() { 62 /* since URL is practically immutable, returning itself is no [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
Handler.java | 34 import java.net.URL; 36 /** open an ftp connection given a URL */ 43 protected boolean equals(URL u1, URL u2) { 50 protected java.net.URLConnection openConnection(URL u) 55 protected java.net.URLConnection openConnection(URL u, Proxy p)
|
/libcore/support/src/test/java/tests/support/ |
Support_ClassLoader.java | 19 import java.net.URL; 29 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); 31 public static ClassLoader getInstance(URL url, ClassLoader parent) { 44 return factory.getClassLoader(url, parent); 56 public ClassLoader getClassLoader(URL url, ClassLoader parent) { 57 return new URLClassLoader(new URL[] { url }, parent) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderTest.java | 25 import java.net.URL; 64 public URL getResource(String res) { 66 return new URL("http://test/BogusClassLoader"); 75 public URLClassLoaderExt(URL[] urls) { 85 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 88 URL[] u = new URL[0]; 94 URLClassLoader loader = new URLClassLoader(new URL[] { null }); 104 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[], 109 URL[] u = new URL[0] 462 String url; local [all...] |
/external/doclava/src/com/google/doclava/ |
FederatedSite.java | 24 import java.net.URL; 33 private final URL baseUrl; 36 public FederatedSite(String name, URL baseUrl) throws ApiParseException { 41 URL xmlUrl = new URL(baseUrl + "/xml/current.xml"); 52 public FederatedSite(String name, URL baseUrl, String api) throws ApiParseException { 70 public URL baseUrl() {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
GlideUrl.java | 7 import java.net.URL; 11 * unnecessary URL instantiations for loaders that require only string urls rather than URL objects. 18 * To obtain a properly escaped URL, call {@link #toURL()}. To obtain a properly escaped string URL, call 19 * {@link #toURL()} and then {@link java.net.URL#toString()}. 25 private final URL url; field in class:GlideUrl 28 private URL safeUrl; 30 public GlideUrl(URL url) [all...] |
UrlLoader.java | 5 import java.net.URL; 8 * A wrapper class that translates {@link java.net.URL} objects into {@link com.bumptech.glide.load.model.GlideUrl} 12 * @param <T> The type of data that will be loaded from the {@link java.net.URL}s. 14 public class UrlLoader<T> implements ModelLoader<URL, T> { 22 public DataFetcher<T> getResourceFetcher(URL model, int width, int height) {
|
/external/python/cpython3/Lib/test/ |
test_webbrowser.py | 8 URL = 'http://www.example.com' 23 def _test(self, meth, *, args=[URL], kw={}, options, arguments): 25 keywords for same (which defaults to the single argument URL), creates 54 arguments=[URL]) 64 arguments=[URL]) 74 arguments=[URL]) 79 arguments=[URL]) 84 arguments=[URL]) 89 arguments=[URL]) 99 arguments=[URL]) [all...] |
/libcore/libart/src/main/java/java/lang/ |
VMClassLoader.java | 22 import java.net.URL; 65 static URL getResource(String name) { 67 URL url = urlHandler.getEntryUrlOrNull(name); local 68 if (url != null) { 69 return url; 78 static List<URL> getResources(String name) { 79 ArrayList<URL> list = new ArrayList<URL>(); 81 URL url = urlHandler.getEntryUrlOrNull(name) local [all...] |
/external/autotest/skylab_migration/venv/skylab_venv/ |
test_sso_discovery.py | 13 URL = 'https://TEST_URL.com' 27 sso_discovery.sso_request(self.URL) 36 sso_discovery.sso_request(self.URL, headers={'accept-encoding': 'test'}) 39 ['sso_client', '--url', self.URL, '-dump_header']) 45 sso_discovery.sso_request(self.URL) 53 resp, body = sso_discovery.sso_request(self.URL) 56 ['sso_client', '--url', self.URL, '-dump_header']) 70 resp, body = sso_discovery.sso_request(self.URL) [all...] |
/external/javassist/src/main/javassist/ |
ByteArrayClassPath.java | 19 import java.net.URL; 84 * Obtains the URL. 86 public URL find(String classname) { 91 return new URL("file:/ByteArrayClassPath/" + cname);
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
PropertyConfigurator.java | 19 import java.net.URL; 35 public static void configure(java.net.URL configURL) { 50 public void doConfigure(URL configURL, LoggerRepository hierarchy) {
|
/external/apache-harmony/luni/src/test/impl/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderImplTest.java | 21 import java.net.URL; 36 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[], java.lang.ClassLoader, 52 final URL base = getClass().getResource("lf.jar"); 54 final URL[] urls = { base }; 57 final URL res = ucl.findResource("swt.dll");
|
/libcore/ojluni/src/main/java/sun/net/ |
ProgressEvent.java | 28 import java.net.URL; 37 // URL of the stream 38 private URL url; field in class:ProgressEvent 41 // method associated with URL 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { 55 this.url = url; 64 * Return URL related to the progress [all...] |
/external/curl/docs/cmdline-opts/ |
referer.d | 3 Arg: <URL> 5 Help: Referrer URL 10 ";auto" to the --referer URL to make curl automatically set the previous URL
|
/external/curl/tests/libtest/ |
lib1551.c | 28 int test(char *URL) 36 curl_easy_setopt(curl, CURLOPT_URL, URL);
|
lib501.c | 26 int test(char *URL) 31 (void)URL; /* we don't use this */
|
lib520.c | 26 int test(char *URL) 43 test_setopt(curl, CURLOPT_URL, URL);
|
lib524.c | 26 int test(char *URL) 43 test_setopt(curl, CURLOPT_URL, URL);
|
lib559.c | 27 int test(char *URL) 44 test_setopt(curl, CURLOPT_URL, URL);
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
OkUrlFactories.java | 23 import java.net.URL; 36 public static HttpURLConnection open(OkUrlFactory okUrlFactory, URL url, Proxy proxy) { 37 return okUrlFactory.open(url, proxy);
|
/external/skia/infra/bots/assets/win_ninja/ |
create.py | 16 URL = "https://github.com/ninja-build/ninja/releases/download/%s/ninja-win.zip" 20 subprocess.check_call(["curl", "-L", URL % VERSION, "-o", "ninja-win.zip"])
|