/external/libbrillo/brillo/ |
url_utils_unittest.cc | 13 url::Combine("http://sample.org", "path")); 15 url::Combine("http://sample.org/", "path")); 16 EXPECT_EQ("path1/path2", url::Combine("", "path1/path2")); 17 EXPECT_EQ("path1/path2", url::Combine("path1", "path2")); 18 EXPECT_EQ("http://sample.org", url::Combine("http://sample.org", "")); 20 url::Combine("http://sample.org/", "/path")); 22 url::Combine("http://sample.org", "//////path")); 23 EXPECT_EQ("http://sample.org/", url::Combine("http://sample.org", "///")); 25 url::Combine("http://sample.org/obj", "path1/path2")); 27 url::Combine("http://sample.org/obj#tag", "path1/path2")) 75 std::string url = "http:\/\/url?key1=val1&&key2=val2"; local 87 std::string url = "http:\/\/url?key1=val1&key2=val2#fragment"; local 104 std::string url = "http:\/\/url?key1=val1&key2=val2#fragment"; local 110 std::string url = "http:\/\/server.com\/path"; local 127 std::string url = "http:\/\/server.com\/path"; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
browser.h | 13 static inline int hs20_web_browser(const char *url) 18 int hs20_web_browser(const char *url);
|
/external/chromium-libpac/test/js-unittest/ |
return_empty_string.js | 1 function FindProxyForURL(url, host) {
|
return_integer.js | 1 function FindProxyForURL(url, host) {
|
direct.js | 1 function FindProxyForURL(url, host) {
|
return_function.js | 1 function FindProxyForURL(url, host) {
|
return_null.js | 1 function FindProxyForURL(url, host) {
|
return_undefined.js | 1 function FindProxyForURL(url, host) {
|
return_object.js | 1 function FindProxyForURL(url, host) {
|
/external/curl/src/ |
tool_operhlp.h | 30 bool output_expected(const char *url, const char *uploadfile); 34 char *add_file_name_to_url(CURL *curl, char *url, const char *filename); 36 CURLcode get_url_file_name(char **filename, const char *url);
|
/external/webrtc/webrtc/base/ |
httpcommon_unittest.cc | 23 TEST(Url, DecomposesUrls) { 24 Url<char> url(TEST_URL); 25 EXPECT_TRUE(url.valid()); 26 EXPECT_FALSE(url.secure()); 27 EXPECT_STREQ(TEST_HOST, url.host().c_str()); 28 EXPECT_EQ(80, url.port()); 29 EXPECT_STREQ(TEST_PATH, url.path().c_str()); 30 EXPECT_STREQ(TEST_QUERY, url.query().c_str()); 31 EXPECT_STREQ(TEST_HOST, url.address().c_str()) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 28 import java.net.URL; 45 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); local 46 assertEquals("http", url.getProtocol()); 47 assertEquals("username:password@host:8080", url.getAuthority()); 48 assertEquals("username:password", url.getUserInfo()); 49 assertEquals("host", url.getHost()); 50 assertEquals(8080, url.getPort()); 51 assertEquals(80, url.getDefaultPort()) 59 URL url = new URL("http:\/\/www.google.com:80\/example?language[id]=2"); local 121 URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 209 URL url = new URL("http:\/\/example.com:42\/file"); local 233 URL url = new URL("http:\/\/example.com\/file"); local 247 URL url = new URL("http:\/\/temporaryhost.com\/temporaryfile"); local 280 final URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 297 URL url = new URL("http:\/\/\/path"); local 304 URL url = new URL("http:\/path"); local 318 URL url = new URL("http:\/\/host"); local 325 URL url = new URL("http:\/\/"); local 339 URL url = new URL("http:"); local 355 URL url = new URL("http:\/\/user@userhost.com:password@host"); local 361 URL url = new URL("http:\/\/user@host"); local 368 URL url = new URL("http:\/\/user@host:8080"); local 376 URL url = new URL("http:\/\/user:password@host:8080"); local 384 URL url = new URL("http:\/\/user:password@:8080"); local 392 URL url = new URL("http:\/\/user:password@"); local 400 URL url = new URL("http:\/\/host\/path"); local 406 URL url = new URL("http:\/\/host?query"); local 413 URL url = new URL("http:\/\/host#fragment"); local 420 URL url = new URL("http:\/\/host\/file@foo"); local 427 URL url = new URL("http:\/\/host\/file:colon"); local 433 URL url = new URL("http:\/\/host\/file?query\/path"); local 440 URL url = new URL("http:\/\/host\/file?query?another"); local 447 URL url = new URL("http:\/\/host\/file?query@at"); local 472 URL url = new URL("http:\/\/host\/file?query:colon"); local 479 URL url = new URL("http:\/\/host\/file#fragment?query"); local 487 URL url = new URL("http:\/\/host\/file#fragment:80"); local 495 URL url = new URL("http:\/\/host\/file#fragment\/path"); local 502 URL url = new URL("http", "host", "\/file#fragment\/path"); local 509 URL url = new URL("http:\/\/host\/file#fragment#another"); local 516 URL url = new URL("http:\/\/host:\/"); local 562 URL url = new URL(base, "another"); local 572 URL url = new URL(base, "#another"); local 581 URL url = new URL("http:\/\/host\/a\/b\/..\/c"); local 704 URL url = new URL("http:\/\/user:[::1]@host"); local 710 URL url = new URL("http", "host", "a"); local 719 URL url = new URL("http", null, "a"); local 728 URL url = new URL("file:\/\/\/\/foo"); local 735 URL url = new URL("file:\/\/x\/foo"); local 747 URL url = new URL("http:\/\/\/foo"); local 754 URL url = new URL("http:\/\/\/\/foo"); local 766 URL url = new URL("file:..\/a\/b"); local 772 URL url = new URL("http:\/\/.\/"); local 783 URL url = new URL("http", "[192.168.0.1]", "\/"); local 793 URL url = new URL("http", "[www.android.com]", "\/"); local 803 URL url = new URL("http", "fe80::1234", "\/"); local 808 URL url = new URL("http:\/\/[::1]:2\/"); local 818 URL url = new URL("http", "host", 80, "\/doc|search?q=green robots#over 6\\""); local 828 URL url = new URL("HTTP:\/\/host\/path"); local 833 URL url = new URL("http:\/\/\/path"); local 839 URL url = new URL("http:\/\/?query"); local 846 URL url = new URL("http:\/\/#fragment"); local 884 URL url = new URL("http:\/\/a_b.c.d.net\/"); local 922 URL url = new URL("http:\/\/www.google.com\/"); local 943 URL url = new URL(String.format("http:\/\/%s#%s", host, fragment)); local 954 URL url = new URL(String.format("http:\/\/%s#%s", host, fragment)); local 964 URL url = new URL(host); local [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssItem.java | 23 public String url; field in class:RssItem 29 public RssItem(String url, String title){ 30 this.url = url;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowURLSpan.java | 10 private String url; field in class:ShadowURLSpan 12 public void __constructor__(String url) { 13 this.url = url; 18 return url;
|
/prebuilts/go/darwin-x86/misc/chrome/gophertool/ |
popup.js | 1 function openURL(url) { 2 chrome.tabs.create({ "url": url }) 8 var url = links[i].getAttribute("url"); 9 if (url) 11 openURL(this.getAttribute("url")); 32 var success = function(url) { 33 console.log("matched " + t + " to: " + url) 35 openURL(url); [all...] |
/prebuilts/go/linux-x86/misc/chrome/gophertool/ |
popup.js | 1 function openURL(url) { 2 chrome.tabs.create({ "url": url }) 8 var url = links[i].getAttribute("url"); 9 if (url) 11 openURL(this.getAttribute("url")); 32 var success = function(url) { 33 console.log("matched " + t + " to: " + url) 35 openURL(url); [all...] |
/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...] |
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 65 // bug 762454: strip period off end of url 75 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl); 112 public static byte[] decode(byte[] url) throws IllegalArgumentException { 113 if (url.length == 0) { 118 byte[] tempData = new byte[url.length]; 121 for (int i = 0; i < url.length; i++) { 122 byte b = url[i]; 124 if (url.length - i > 2) { 125 b = (byte) (parseHex(url[i + 1]) * 16 126 + parseHex(url[i + 2])) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
SourceTree.java | 38 * @param url The URI of the source tree. 40 public SourceTree(int root, String url) 43 m_url = url;
|
/external/cmockery/cmockery_0_1_2/src/example/ |
database.h | 29 const char *url; member in struct:DatabaseConnection 35 DatabaseConnection* connect_to_database(const char * const url,
|
/external/expat/xmlwf/ |
xmlurl.h | 40 const XML_Char *url,
|
/external/skia/tools/skiaserve/urlhandlers/ |
UrlHandler.h | 18 virtual bool canHandle(const char* method, const char* url) = 0; 20 const char* url, const char* method, 26 bool canHandle(const char* method, const char* url) override; 28 const char* url, const char* method, 34 bool canHandle(const char* method, const char* url) override; 36 const char* url, const char* method, 42 bool canHandle(const char* method, const char* url) override; 44 const char* url, const char* method, 54 bool canHandle(const char* method, const char* url) override; 56 const char* url, const char* method [all...] |
/external/skqp/tools/skiaserve/urlhandlers/ |
UrlHandler.h | 18 virtual bool canHandle(const char* method, const char* url) = 0; 20 const char* url, const char* method, 26 bool canHandle(const char* method, const char* url) override; 28 const char* url, const char* method, 34 bool canHandle(const char* method, const char* url) override; 36 const char* url, const char* method, 42 bool canHandle(const char* method, const char* url) override; 44 const char* url, const char* method, 54 bool canHandle(const char* method, const char* url) override; 56 const char* url, const char* method [all...] |
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDCEODTURNClient.h | 16 - (instancetype)initWithURL:(NSURL *)url;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urlparse.py | 8 RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter
14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998.
19 RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M.
128 def urlparse(url, scheme='', allow_fragments=True):
129 """Parse a URL into 6 components:
134 tuple = urlsplit(url, scheme, allow_fragments)
135 scheme, netloc, url, query, fragment = tuple
136 if scheme in uses_params and ';' in url:
137 url, params = _splitparams(url)
[all...] |