/external/chromium_org/chrome/browser/sync_file_system/local/ |
local_file_sync_status_unittest.cc | 9 #include "url/gurl.h" 24 FileSystemURL URL(const char* spec) { 33 status.StartWriting(URL(kFile)); 34 status.StartWriting(URL(kFile)); 35 status.EndWriting(URL(kFile)); 37 EXPECT_TRUE(status.IsWriting(URL(kFile))); 38 EXPECT_TRUE(status.IsWriting(URL(kParent))); 39 EXPECT_TRUE(status.IsWriting(URL(kChild))); 40 EXPECT_FALSE(status.IsWriting(URL(kOther1))); 41 EXPECT_FALSE(status.IsWriting(URL(kOther2))) [all...] |
local_file_change_tracker_unittest.cc | 68 FileSystemURL URL(const std::string& path) { 69 return file_system_.URL(path); 80 void VerifyAndClearChange(const FileSystemURL& url, 82 SCOPED_TRACE(testing::Message() << url.DebugString() << 84 // Get the changes for URL and verify. 86 change_tracker()->GetChangesForURL(url, &changes); 88 SCOPED_TRACE(testing::Message() << url.DebugString() << 92 // Clear the URL from the change tracker. 93 change_tracker()->ClearChangesForURL(url); 130 change_tracker()->OnCreateDirectory(URL(kPath0)) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 24 import java.net.URL; 31 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); local 32 assertEquals("http", url.getProtocol()); 33 assertEquals("username:password@host:8080", url.getAuthority()); 34 assertEquals("username:password", url.getUserInfo()); 35 assertEquals("host", url.getHost()); 36 assertEquals(8080, url.getPort()); 37 assertEquals(80, url.getDefaultPort()) 45 URL url = new URL("http:\/\/www.google.com:80\/example?language[id]=2"); local 107 URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 123 final URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 140 URL url = new URL("http:\/\/\/path"); local 147 URL url = new URL("http:\/path"); local 161 URL url = new URL("http:\/\/host"); local 168 URL url = new URL("http:\/\/"); local 182 URL url = new URL("http:"); local 204 URL url = new URL("http:\/\/user@host"); local 211 URL url = new URL("http:\/\/user@host:8080"); local 219 URL url = new URL("http:\/\/user:password@host:8080"); local 227 URL url = new URL("http:\/\/user:password@:8080"); local 235 URL url = new URL("http:\/\/user:password@"); local 243 URL url = new URL("http:\/\/host\/path"); local 249 URL url = new URL("http:\/\/host?query"); local 256 URL url = new URL("http:\/\/host#fragment"); local 263 URL url = new URL("http:\/\/host\/file@foo"); local 270 URL url = new URL("http:\/\/host\/file:colon"); local 276 URL url = new URL("http:\/\/host\/file?query\/path"); local 283 URL url = new URL("http:\/\/host\/file?query?another"); local 290 URL url = new URL("http:\/\/host\/file?query@at"); local 297 URL url = new URL("http:\/\/host\/file?query:colon"); local 304 URL url = new URL("http:\/\/host\/file#fragment?query"); local 312 URL url = new URL("http:\/\/host\/file#fragment:80"); local 320 URL url = new URL("http:\/\/host\/file#fragment\/path"); local 327 URL url = new URL("http", "host", "\/file#fragment\/path"); local 334 URL url = new URL("http:\/\/host\/file#fragment#another"); local 341 URL url = new URL("http:\/\/host:\/"); local 371 URL url = new URL(base, "another"); local 381 URL url = new URL(base, "#another"); local 390 URL url = new URL("http:\/\/host\/a\/b\/..\/c"); local 513 URL url = new URL("http:\/\/user:[::1]@host"); local 519 URL url = new URL("http", "host", "a"); local 528 URL url = new URL("http", null, "a"); local 537 URL url = new URL("file:\/\/\/\/foo"); local 544 URL url = new URL("file:\/\/x\/foo"); local 556 URL url = new URL("http:\/\/\/foo"); local 563 URL url = new URL("http:\/\/\/\/foo"); local 575 URL url = new URL("file:..\/a\/b"); local 581 URL url = new URL("http:\/\/.\/"); local 592 URL url = new URL("http", "[192.168.0.1]", "\/"); local 602 URL url = new URL("http", "[www.android.com]", "\/"); local 612 URL url = new URL("http", "fe80::1234", "\/"); local 617 URL url = new URL("http:\/\/[::1]:2\/"); local 627 URL url = new URL("http", "host", 80, "\/doc|search?q=green robots#over 6\\""); local 637 URL url = new URL("HTTP:\/\/host\/path"); local 642 URL url = new URL("http:\/\/\/path"); local 648 URL url = new URL("http:\/\/?query"); local 655 URL url = new URL("http:\/\/#fragment"); local 693 URL url = new URL("http:\/\/a_b.c.d.net\/"); 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/smack/src/org/jivesoftware/smackx/bookmark/ |
BookmarkedURL.java | 23 * Respresents one instance of a URL defined using JEP-0048 Bookmark Storage JEP. 30 private final String URL; 34 protected BookmarkedURL(String URL) { 35 this.URL = URL; 38 protected BookmarkedURL(String URL, String name, boolean isRss) { 39 this.URL = URL; 45 * Returns the name representing the URL (eg. Jive Software). This can be used in as a label, or 48 * @return the name reprenting the URL 93 BookmarkedURL url = (BookmarkedURL)obj; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLQuoteElement.idl | 21 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString cite;
|
HTMLModElement.idl | 21 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString cite;
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
URLMediaStream.idl | 30 partial interface URL {
|
/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);
|
/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/chromium_org/chrome/browser/autocomplete/ |
autocomplete_input_unittest.cc | 12 #include "url/url_parse.h" 25 { ASCIIToUTF16("localhost"), AutocompleteInput::URL }, 27 { ASCIIToUTF16("foo.com"), AutocompleteInput::URL }, 28 { ASCIIToUTF16("-foo.com"), AutocompleteInput::URL }, 29 { ASCIIToUTF16("foo-.com"), AutocompleteInput::URL }, 32 { ASCIIToUTF16("foo/"), AutocompleteInput::URL }, 34 { ASCIIToUTF16("foo/bar/"), AutocompleteInput::URL }, 35 { ASCIIToUTF16("foo/bar baz\\"), AutocompleteInput::URL }, 36 { ASCIIToUTF16("foo.com/bar"), AutocompleteInput::URL }, 45 { ASCIIToUTF16("foo:81"), AutocompleteInput::URL }, [all...] |
/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...] |
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/clang/lib/Basic/ |
Version.cpp | 32 StringRef URL(SVN_REPOSITORY); 34 StringRef URL(""); 39 static StringRef SVNRepository("$URL$"); 40 if (URL.empty()) { 41 URL = SVNRepository.slice(SVNRepository.find(':'), 46 URL = URL.slice(0, URL.find("/src/tools/clang")); 49 size_t Start = URL.find("cfe/"); 51 URL = URL.substr(Start + 4) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
URL.idl | 30 Constructor(DOMString url), 31 Constructor(DOMString url, URL base), 32 Constructor(DOMString url, DOMString base), 34 ] interface URL { 36 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); 40 URL implements URLUtils;
|
/external/chromium_org/content/shell/android/javatests/src/org/chromium/content_shell_apk/ |
ContentShellUrlTest.java | 15 // URL used for base tests. 16 private static final String URL = "data:text"; 21 ContentShellActivity activity = launchContentShellWithUrl(URL); 26 // Make sure that the URL is set as expected. 27 assertEquals(URL, activity.getActiveShell().getContentView().getUrl());
|
/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...] |
/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);
|
/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/chromium_org/third_party/WebKit/Source/modules/speech/ |
SpeechGrammar.idl | 30 [URL,CallWith=ExecutionContext] attribute DOMString src;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Policy.java | 20 import java.net.URL; 29 /** Returns the current destination URL, possibly a redirect. */ 30 URL getURL();
|
/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 {
|