/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...] |
url_utils.cc | 10 // Given a URL string, determine where the query string starts and ends. 13 // have a query string that is separated from the path by '?'. Finally, the URL 14 // could also have a '#'-separated URL fragment which is usually used by the 18 // http://server.com/path/to/object - is the URL of the object, 19 // ?k=v&foo=bar - URL query string 20 // #fragment - URL fragment string 24 bool GetQueryStringPos(const std::string& url, 28 size_t query_start = url.find_first_of("?#"); 30 *query_pos = url.size(); 38 size_t query_end = url.size() [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...] |
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 64 // bug 762454: strip period off end of url 74 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl); 111 public static byte[] decode(byte[] url) throws IllegalArgumentException { 112 if (url.length == 0) { 117 byte[] tempData = new byte[url.length]; 120 for (int i = 0; i < url.length; i++) { 121 byte b = url[i]; 123 if (url.length - i > 2) { 124 b = (byte) (parseHex(url[i + 1]) * 16 125 + parseHex(url[i + 2])) [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;
|
/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 24 import java.net.URL; 33 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); local 34 assertEquals("http", url.getProtocol()); 35 assertEquals("username:password@host:8080", url.getAuthority()); 36 assertEquals("username:password", url.getUserInfo()); 37 assertEquals("host", url.getHost()); 38 assertEquals(8080, url.getPort()); 39 assertEquals(80, url.getDefaultPort()) 47 URL url = new URL("http:\/\/www.google.com:80\/example?language[id]=2"); local 109 URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 125 final URL url = new URL("http:\/\/user:pass@host\/path\/file?query#hash"); local 142 URL url = new URL("http:\/\/\/path"); local 149 URL url = new URL("http:\/path"); local 163 URL url = new URL("http:\/\/host"); local 170 URL url = new URL("http:\/\/"); local 184 URL url = new URL("http:"); local 200 URL url = new URL("http:\/\/user@userhost.com:password@host"); local 206 URL url = new URL("http:\/\/user@host"); local 213 URL url = new URL("http:\/\/user@host:8080"); local 221 URL url = new URL("http:\/\/user:password@host:8080"); local 229 URL url = new URL("http:\/\/user:password@:8080"); local 237 URL url = new URL("http:\/\/user:password@"); local 245 URL url = new URL("http:\/\/host\/path"); local 251 URL url = new URL("http:\/\/host?query"); local 258 URL url = new URL("http:\/\/host#fragment"); local 265 URL url = new URL("http:\/\/host\/file@foo"); local 272 URL url = new URL("http:\/\/host\/file:colon"); local 278 URL url = new URL("http:\/\/host\/file?query\/path"); local 285 URL url = new URL("http:\/\/host\/file?query?another"); local 292 URL url = new URL("http:\/\/host\/file?query@at"); local 299 URL url = new URL("http:\/\/host\/file?query:colon"); local 306 URL url = new URL("http:\/\/host\/file#fragment?query"); local 314 URL url = new URL("http:\/\/host\/file#fragment:80"); local 322 URL url = new URL("http:\/\/host\/file#fragment\/path"); local 329 URL url = new URL("http", "host", "\/file#fragment\/path"); local 336 URL url = new URL("http:\/\/host\/file#fragment#another"); local 343 URL url = new URL("http:\/\/host:\/"); local 389 URL url = new URL(base, "another"); local 399 URL url = new URL(base, "#another"); local 408 URL url = new URL("http:\/\/host\/a\/b\/..\/c"); local 531 URL url = new URL("http:\/\/user:[::1]@host"); local 537 URL url = new URL("http", "host", "a"); local 546 URL url = new URL("http", null, "a"); local 555 URL url = new URL("file:\/\/\/\/foo"); local 562 URL url = new URL("file:\/\/x\/foo"); local 574 URL url = new URL("http:\/\/\/foo"); local 581 URL url = new URL("http:\/\/\/\/foo"); local 593 URL url = new URL("file:..\/a\/b"); local 599 URL url = new URL("http:\/\/.\/"); local 610 URL url = new URL("http", "[192.168.0.1]", "\/"); local 620 URL url = new URL("http", "[www.android.com]", "\/"); local 630 URL url = new URL("http", "fe80::1234", "\/"); local 635 URL url = new URL("http:\/\/[::1]:2\/"); local 645 URL url = new URL("http", "host", 80, "\/doc|search?q=green robots#over 6\\""); local 655 URL url = new URL("HTTP:\/\/host\/path"); local 660 URL url = new URL("http:\/\/\/path"); local 666 URL url = new URL("http:\/\/?query"); local 673 URL url = new URL("http:\/\/#fragment"); local 711 URL url = new URL("http:\/\/a_b.c.d.net\/"); local 749 URL url = new URL("http:\/\/www.google.com\/"); local 770 URL url = new URL(String.format("http:\/\/%s#%s", host, fragment)); local 781 URL url = new URL(String.format("http:\/\/%s#%s", host, fragment)); local 791 URL url = new URL(host); local [all...] |
/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...] |
/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/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/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...] |
/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);
|