/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 22 import java.net.URL; 29 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); local 30 assertEquals("http", url.getProtocol()); 31 assertEquals("username:password@host:8080", url.getAuthority()); 32 assertEquals("username:password", url.getUserInfo()); 33 assertEquals("host", url.getHost()); 34 assertEquals(8080, url.getPort()); 35 assertEquals(80, url.getDefaultPort()) 43 URL url = new URL("http:\/\/www.google.com:80\/example?language[id]=2"); local 105 URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 121 final URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 138 URL url = new URL("http:\/\/\/path"); local 145 URL url = new URL("http:\/path"); local 159 URL url = new URL("http:\/\/host"); local 166 URL url = new URL("http:\/\/"); local 180 URL url = new URL("http:"); local 202 URL url = new URL("http:\/\/user@host"); local 209 URL url = new URL("http:\/\/user@host:8080"); local 217 URL url = new URL("http:\/\/user:password@host:8080"); local 225 URL url = new URL("http:\/\/user:password@:8080"); local 233 URL url = new URL("http:\/\/user:password@"); local 241 URL url = new URL("http:\/\/host\/path"); local 247 URL url = new URL("http:\/\/host?query"); local 254 URL url = new URL("http:\/\/host#fragment"); local 261 URL url = new URL("http:\/\/host\/file@foo"); local 268 URL url = new URL("http:\/\/host\/file:colon"); local 274 URL url = new URL("http:\/\/host\/file?query\/path"); local 281 URL url = new URL("http:\/\/host\/file?query?another"); local 288 URL url = new URL("http:\/\/host\/file?query@at"); local 295 URL url = new URL("http:\/\/host\/file?query:colon"); local 302 URL url = new URL("http:\/\/host\/file#fragment?query"); local 310 URL url = new URL("http:\/\/host\/file#fragment:80"); local 318 URL url = new URL("http:\/\/host\/file#fragment\/path"); local 325 URL url = new URL("http", "host", "\/file#fragment\/path"); local 332 URL url = new URL("http:\/\/host\/file#fragment#another"); local 339 URL url = new URL("http:\/\/host:\/"); local 369 URL url = new URL(base, "another"); local 379 URL url = new URL(base, "#another"); local 388 URL url = new URL("http:\/\/host\/a\/b\/..\/c"); local 511 URL url = new URL("http:\/\/user:[::1]@host"); local 517 URL url = new URL("http", "host", "a"); local 526 URL url = new URL("http", null, "a"); local 535 URL url = new URL("file:\/\/\/\/foo"); local 542 URL url = new URL("file:\/\/x\/foo"); local 554 URL url = new URL("http:\/\/\/foo"); local 561 URL url = new URL("http:\/\/\/\/foo"); local 573 URL url = new URL("file:..\/a\/b"); local 579 URL url = new URL("http:\/\/.\/"); local 590 URL url = new URL("http", "[192.168.0.1]", "\/"); local 600 URL url = new URL("http", "[www.android.com]", "\/"); local 610 URL url = new URL("http", "fe80::1234", "\/"); local 615 URL url = new URL("http:\/\/[::1]:2\/"); local 625 URL url = new URL("http", "host", 80, "\/doc|search?q=green robots#over 6\\""); local 635 URL url = new URL("HTTP:\/\/host\/path"); local 640 URL url = new URL("http:\/\/\/path"); local 646 URL url = new URL("http:\/\/?query"); local 653 URL url = new URL("http:\/\/#fragment"); local [all...] |
OldURLStreamHandlerTest.java | 24 import java.net.URL; 35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 36 URL url2 = new URL("http://test_url/test?a=b&c=%D0+%D1"); 39 new URL("http://test_url+/test?a=b&c=%D0+%D1"); 55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 58 URL url2 = new URL("http://test:pwd@fakehostname.fakedomain/test?a=b&c=%D0+%D1") 108 URL url = new URL("http:\/\/test.org"); local 134 URL url = new URL("http:\/\/test.org"); local 144 URL url = new URL("http:\/\/test.org"); local [all...] |
OldURLTest.java | 33 import java.net.URL; 58 new URL("http", "apache.org", 123456789, "file"); 60 new URL("http", "apache.org", -123, "file"); 69 URL testURL = new URL("http", "www.apache.org:8082", "test.html#anch"); 77 new URL("hftp", "apache.org:8082", "test.html#anch"); 90 new URL("test_protocol", "", "fake.jar"); 97 URL testURL1 = new URL("http", "www.apache.org:8080", "test.html#anch"); 98 URL testURL2 = new URL("http", "www.apache.org:8080", "test.html#anch") 245 URL url = new URL("http:\/\/web2.javasoft.com\/some+file.html"); local 483 URL url = new URL("http:\/\/www.example.com"); local 494 URL url = new URL("ftp:\/\/myUser:password@host.dom\/etc\/motd"); local 504 URL url = new URL("http:\/\/www.java2s.com:8080"); local 786 URL url = new URL(new URL(strURL), ref); local 792 URL url = new URL(strURL); local [all...] |
/external/javassist/src/main/javassist/ |
ClassPath.java | 19 import java.net.URL; 53 * Returns the uniform resource locator (URL) of the class file 59 URL find(String classname);
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpClientPool.java | 19 import java.net.URL; 33 /** Get the appropriate HttpClient for sending a request to the given URL. */ 34 public org.apache.http.client.HttpClient getHttpClient(URL server);
|
/external/webkit/Source/WebCore/html/ |
HTMLBlockquoteElement.idl | 23 attribute [Reflect, URL] DOMString cite;
|
HTMLQuoteElement.idl | 23 attribute [Reflect, URL] DOMString cite;
|
HTMLBaseElement.idl | 23 attribute [Reflect, URL] DOMString href;
|
HTMLHtmlElement.idl | 24 attribute [Reflect, URL] DOMString manifest;
|
HTMLModElement.idl | 23 attribute [Reflect, URL] DOMString cite;
|
/libcore/luni/src/main/java/java/security/ |
CodeSource.java | 21 import java.net.URL; 28 public CodeSource(URL location, Certificate[] certs) { } 30 public CodeSource(URL location, CodeSigner[] signers) { } 36 public final URL getLocation() { return null; }
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLTest.java | 31 import java.net.URL; 44 protected URLConnection openConnection(URL u) 50 URL u; 52 URL u1; 54 URL u2; 56 URL u3; 58 URL u4; 60 URL u5; 62 URL u6; 69 * @tests java.net.URL#URL(java.lang.String 798 URL url = new URL("jar:" + BASE + "!\/foo.jar!\/Bugs\/HelloWorld.class"); local 911 URL url = new URL("http", ipv6Host, -1, "myfile"); local 1189 URL url = new URL(strURL); local 1200 URL url = new URL(new URL(strURL), ref); local 1226 URL url = new URL(null, "foobar:\/\/example.com\/foobar", myHandler); local 1270 URL url = new URL("http:\/\/localhost"); local [all...] |
JarURLConnectionTest.java | 27 import java.net.URL; 51 URL u = new URL("jar:"+BASE+"!/swt.dll"); 64 URL u = new URL("jar:"+BASE+"!/plus.bmp"); 68 u = new URL("jar:"+BASE+"!/"); 72 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); local 73 assertEquals("foo.jar!/Bugs/HelloWorld.class",((JarURLConnection)url.openConnection()).getEntryName()) 93 URL url = null; local 157 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 192 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 223 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local 310 URL url = new URL("jar:" + base + "!\/test%20folder%20for%20url%20test\/test"); local [all...] |
/external/clang/lib/Basic/ |
Version.cpp | 28 StringRef URL(SVN_REPOSITORY); 30 StringRef URL(""); 35 static StringRef SVNRepository("$URL$"); 36 if (URL.empty()) { 37 URL = SVNRepository.slice(SVNRepository.find(':'), 42 URL = URL.slice(0, URL.find("/src/tools/clang")); 45 size_t Start = URL.find("cfe/"); 47 URL = URL.substr(Start + 4) [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"); 60 public URL baseUrl() {
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebIconDatabase.h | 32 // The userInfo contains the site URL whose icon has changed. 81 @param URL 84 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size; 88 @discussion Returns an icon for a web site URL from memory or disk. nil if none is found. 89 Usually called by a UI element to determine if a site URL has an associated icon. 91 @param URL 95 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size cache:(BOOL)cache; 99 @discussion Returns an icon URL for a web site URL from memory or disk. nil if none is found. 100 @param URL [all...] |
WebIconDatabaseDelegate.h | 31 - (NSImage *)webIconDatabase:(WebIconDatabase *)webIconDatabase defaultIconForURL:(NSString *)URL withSize:(NSSize)size;
|
/external/guava/guava/src/com/google/common/io/ |
Resources.java | 28 import java.net.URL; 34 * Note that even though these methods use {@link URL} parameters, they 49 * read from the given URL. 51 * @param url the URL to read from 55 final URL url) { 56 checkNotNull(url); 60 return url.openStream(); 67 * {@link InputStreamReader} that read a URL using the given character set [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebResource.h | 36 @discussion A WebResource represents a fully downloaded URL. 46 @method initWithData:URL:MIMEType:textEncodingName:frameName 49 @param URL The URL of the resource. 55 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName; 64 @method URL 65 @result The URL of the resource. 67 - (NSURL *)URL;
|
WebResourcePrivate.h | 34 URL:(NSURL *)URL 41 - (id)_initWithData:(NSData *)data URL:(NSURL *)URL response:(NSURLResponse *)response;
|
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
Handler.java | 20 import java.net.URL; 25 * This specially-named class is created reflectively by {@link URL}. For the 30 @Override protected URLConnection openConnection(URL url) throws IOException { 31 return new HandlerURLConnection(url); 35 protected HandlerURLConnection(URL url) { 36 super(url);
|
/frameworks/base/core/java/android/webkit/ |
WebTextView.java | 22 import java.net.URL; 37 static final int URL = 7; 43 URL url = null; local 45 url = new URL(urlString); 47 Log.e(LOGTAG, "Unable to parse URL "+url); 50 return url != null ? url.getProtocol() + "://" + url.getHost() + url.getPath() : null [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/test_protocol/ |
Handler.java | 21 import java.net.URL; 26 protected URLConnection openConnection(URL u) throws IOException {
|
/external/webkit/Source/WebKit2/Shared/API/c/cf/ |
WKURLCF.h | 36 WK_EXPORT WKURLRef WKURLCreateWithCFURL(CFURLRef URL); 37 WK_EXPORT CFURLRef WKURLCopyCFURL(CFAllocatorRef alloc, WKURLRef URL);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/ |
Handler.java | 21 import java.net.URL; 26 protected URLConnection openConnection(URL u) throws IOException {
|