/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
MalformedURLExceptionTest.java | 21 import java.net.URL; 33 new URL("notAProtocol://www.ibm.com");
|
URLDecoderTest.java | 41 final String URL = "http://" + Support_Configuration.HomeAddress; 45 URLEncoder.encode(URL)).equals(URL));
|
JarURLConnectionTest.java | 28 import java.net.URL; 41 private URL copyAndOpenResourceStream(String jarFile, String inFile) 49 return new URL("jar:file:" + file.getPath() + "!/" + inFile); 57 URL u = copyAndOpenResourceStream("lf.jar", "swt.dll"); 70 URL u = copyAndOpenResourceStream("lf.jar", "plus.bmp"); 78 URL url = copyAndOpenResourceStream("lf.jar", "foo.jar!/Bugs/HelloWorld.class"); local 79 assertEquals("foo.jar!/Bugs/HelloWorld.class", ((JarURLConnection) url.openConnection()).getEntryName()); 86 URL u = copyAndOpenResourceStream("lf.jar", "plus.bmp"); 99 URL url = copyAndOpenResourceStream("lf.jar", "missing") local 161 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 190 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 219 URL url = new URL("jar:file:" + file.getAbsolutePath() + "!\/entry.txt"); local 305 URL url = copyAndOpenResourceStream("url-test.jar", "test%20folder%20for%20url%20test\/test"); local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_ClassLoaderDalvik.java | 19 import java.net.URL; 40 public ClassLoader getClassLoader(URL url, ClassLoader parent) { 41 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
|
/external/libxml2/doc/examples/ |
reader4.c | 22 const xmlChar *URL; 31 * information about the document like the URL, but one must also 40 URL = docPtr->URL; 41 if (NULL == URL) { 42 fprintf(stderr, "Failed to obtain URL\n"); 46 fprintf(stderr, "%s: Failed to parse\n", URL); 50 printf("%s: Processed ok\n", (const char *)URL);
|
/external/libxml2/include/libxml/ |
nanohttp.h | 26 xmlNanoHTTPScanProxy (const char *URL); 28 xmlNanoHTTPFetch (const char *URL, 32 xmlNanoHTTPMethod (const char *URL, 39 xmlNanoHTTPMethodRedir (const char *URL, 47 xmlNanoHTTPOpen (const char *URL, 50 xmlNanoHTTPOpenRedir (const char *URL,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DelegateLastClassLoader.java | 22 import java.net.URL; 121 public URL getResource(String name) { 124 URL resource = Object.class.getClassLoader().getResource(name); 140 public Enumeration<URL> getResources(String name) throws IOException { 142 final Enumeration<URL>[] resources = (Enumeration<URL>[]) new Enumeration<?>[] {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 22 import java.net.URL; 57 new MyHttpsURLConnection(new URL("https://www.fortify.net/")); 65 URL url = new URL("https://localhost:55555"); local 66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 73 HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/")); 81 URL url = new URL("https://localhost:55555") local 123 URL url = new URL("https:\/\/localhost:55555"); local 141 URL url = new URL("https:\/\/localhost:55555"); local 164 URL url = new URL("https:\/\/localhost:55555"); local [all...] |
/external/curl/docs/cmdline-opts/ |
url.d | 1 long: url 2 Arg: <url> 3 Help: URL to work with 5 Specify a URL to fetch. This option is mostly handy when you want to specify 6 URL(s) in a config file. 8 If the given URL is missing a scheme name (such as "http://" or "ftp://" etc) 14 This option may be used any number of times. To control where this URL is
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
Handler.java | 30 import java.net.URL; 40 * Open an file input stream given a URL. 45 private String getHost(URL url) { 46 String host = url.getHost(); 53 protected void parseURL(URL u, String spec, int start, int limit) { 59 * separation in a URL but previous releases unfortunately 60 * performed this "fixup" behavior in the file URL parsing code 61 * rather than forcing this to be fixed in the caller of the URL 70 public synchronized URLConnection openConnection(URL u [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
AppletFrame.java | 20 import java.net.URL; 100 public URL getCodeBase() { 104 public URL getDocumentBase() { 126 public AudioClip getAudioClip(URL url) { 130 public Image getImage(URL url) { 134 public void showDocument(URL url) {} 135 public void showDocument(URL url, String target) { [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldJarURLConnectionTest.java | 27 import java.net.URL; 46 private URL createContent(String jarFile, String inFile) 54 return new URL("jar:file:" + file.getPath() + "!/" + inFile); 58 URL u = createContent("lf.jar", "swt.dll"); 63 URL invURL = createContent("InvalidJar.jar", "Test.class"); 75 URL u = createContent("TestCodeSigners.jar", "Test.class"); 88 URL invURL = createContent("InvalidJar.jar", "Test.class"); 100 URL u = createContent("lf.jar", "swt.dll"); 108 URL invURL = createContent("InvalidJar.jar", "Test.class"); 120 URL u = createContent("lf.jar", "plus.bmp") 132 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 160 URL url = createContent("lf.jar", "missing"); local 229 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 261 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 301 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local 314 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local [all...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
httptest_test.go | 12 "net/url" 34 URL: &url.URL{Path: "/"}, 45 // GET with full URL: 53 URL: &url.URL{ 69 // GET with full https URL: 77 URL: &url.URL [all...] |
/prebuilts/go/linux-x86/src/net/http/httptest/ |
httptest_test.go | 12 "net/url" 34 URL: &url.URL{Path: "/"}, 45 // GET with full URL: 53 URL: &url.URL{ 69 // GET with full https URL: 77 URL: &url.URL [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
Handler.java | 33 * Jar URL Handler 39 protected java.net.URLConnection openConnection(URL u) 61 protected boolean sameFile(URL u1, URL u2) { 80 URL enclosedURL1 = null, enclosedURL2 = null; 82 enclosedURL1 = new URL(file1.substring(0, sep1)); 83 enclosedURL2 = new URL(file2.substring(0, sep2)); 96 protected int hashCode(URL u) { 109 URL enclosedURL = null; 112 enclosedURL = new URL(fileWithoutEntry) 167 URL url = null; local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ExcludedProxyTest.java | 27 import java.net.URL; 50 URL u1 = new URL("http://" + Support_Configuration.HomeAddress); 57 URL u3 = new URL("http://localhost"); 67 URL u2 = new URL("http://" 89 URL u4 = new URL("http://" 156 * @tests java.net.URL#openConnection(Proxy [all...] |
/external/testng/src/test/java/test/serviceloader/ |
ServiceLoaderTest.java | 4 import java.net.URL; 19 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); local 20 URLClassLoader ucl = URLClassLoader.newInstance(new URL[] { url }); 32 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); local 33 URLClassLoader ucl = URLClassLoader.newInstance(new URL[] { url });
|
/cts/hostsidetests/incident/apps/netstatsapp/src/com/android/server/cts/netstats/ |
NetstatsDeviceTest.java | 25 import java.net.URL; 55 final URL url = new URL("https://www.android.com/"); local 56 final HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); 61 Log.i(TAG, "Response code from " + url + ": " + status);
|
/external/curl/tests/libtest/ |
lib567.c | 29 int test(char *URL) 51 test_setopt(curl, CURLOPT_URL, URL); 52 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL);
|
lib598.c | 26 int test(char *URL) 43 test_setopt(curl, CURLOPT_URL, URL); 58 test_setopt(curl, CURLOPT_URL, URL);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
StreamUrlLoader.java | 12 import java.net.URL; 15 * A wrapper class that translates {@link java.net.URL} objects into {@link com.bumptech.glide.load.model.GlideUrl} 24 public static class Factory implements ModelLoaderFactory<URL, InputStream> { 26 public ModelLoader<URL, InputStream> build(Context context, GenericLoaderFactory factories) {
|
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
PluginFinder.java | 12 import java.net.URL; 22 String findPluginClass(Iterable<URL> resources) { 23 for (URL resource : resources) {
|
/libcore/ojluni/src/main/java/sun/misc/ |
FileURLMapper.java | 28 import java.net.URL; 45 URL url; field in class:FileURLMapper 48 public FileURLMapper (URL url) { 49 this.url = url; 53 * @returns the platform specific path corresponding to the URL 54 * so long as the URL does not contain a hostname in the authority field. 61 String host = url.getHost() [all...] |
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/ |
sample.js | 21 window.URL = window.URL || window.webkitURL; 38 video.src = window.URL.createObjectURL(stream);
|
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/ |
sample.js | 21 window.URL = window.URL || window.webkitURL; 38 video.src = window.URL.createObjectURL(stream);
|