/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...] |
nturl2path.py | 1 """Convert a NT pathname to a file URL and vice versa."""
3 def url2pathname(url):
4 """OS-specific conversion from a relative URL of the 'file' scheme
12 url = url.replace(':', '|')
13 if not '|' in url:
15 if url[:4] == '////':
19 url = url[2:]
20 components = url.split('/') [all...] |
/external/curl/lib/ |
urlapi-int.h | 25 /* scheme is not URL encoded, the longest libcurl supported ones are 6 29 bool Curl_is_absolute_url(const char *url, char *scheme, size_t buflen); 31 size_t Curl_strlen_url(const char *url, bool relative); 32 void Curl_strcpy_url(char *output, const char *url, bool relative);
|
/external/libbrillo/brillo/ |
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...] |
url_utils.h | 18 namespace url { namespace in namespace:brillo 20 // Appends a subpath to url and delimiting then with '/' if the path doesn't 23 const std::string& url, 26 const std::string& url, 29 // Removes the query string/fragment from |url| and returns the query string. 30 // This method actually modifies |url|. So, if you call it on this: 32 // it will modify |url| to "http://www.test.org/" and return "?foo=bar" 33 BRILLO_EXPORT std::string TrimOffQueryString(std::string* url); 36 // For example, for the following URL: 39 // http://server.com/path/to/object - is the URL of the object [all...] |
/external/proguard/src/proguard/ |
FileWordReader.java | 24 import java.net.URL; 28 * A <code>WordReader</code> that returns words from a file or a URL. 47 * Creates a new FileWordReader for the given URL. 49 public FileWordReader(URL url) throws IOException 51 super(new LineNumberReader(new BufferedReader(new InputStreamReader(url.openStream()))), 52 "file '" + url.toString() + "'",
|
/external/skia/tools/skiaserve/urlhandlers/ |
QuitHandler.cpp | 16 bool QuitHandler::canHandle(const char* method, const char* url) { 19 0 == strncmp(url, kBaseName, strlen(kBaseName)); 23 const char* url, const char* method,
|
RootHandler.cpp | 16 bool RootHandler::canHandle(const char* method, const char* url) { 18 0 == strcmp(url, "/"); 22 const char* url, const char* method,
|
DataHandler.cpp | 16 bool DataHandler::canHandle(const char* method, const char* url) { 19 0 == strncmp(url, kBaseUrl, strlen(kBaseUrl)); 23 const char* url, const char* method, 26 SkStrSplit(url, "/", &commands); 33 SkRef(request->fUrlDataManager.getDataFromUrl(SkString(url))));
|
/external/skqp/tools/skiaserve/urlhandlers/ |
QuitHandler.cpp | 16 bool QuitHandler::canHandle(const char* method, const char* url) { 19 0 == strncmp(url, kBaseName, strlen(kBaseName)); 23 const char* url, const char* method,
|
RootHandler.cpp | 16 bool RootHandler::canHandle(const char* method, const char* url) { 18 0 == strcmp(url, "/"); 22 const char* url, const char* method,
|
DataHandler.cpp | 16 bool DataHandler::canHandle(const char* method, const char* url) { 19 0 == strncmp(url, kBaseUrl, strlen(kBaseUrl)); 23 const char* url, const char* method, 26 SkStrSplit(url, "/", &commands); 33 SkRef(request->fUrlDataManager.getDataFromUrl(SkString(url))));
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/ |
JDBCDataSource.java | 21 String url; field in class:JDBCDataSource 50 return url; 53 public void setUrl(String url) { 54 this.url = url;
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieTest.java | 66 String url = "http://www.foo.com"; local 69 mCookieManager.setCookie(url, "a=b"); 70 String cookie = mCookieManager.getCookie(url); 78 mCookieManager.setCookie(url, "c=d; domain=.foo.com"); 79 cookie = mCookieManager.getCookie(url); 89 mCookieManager.setCookie(url, "e=f; domain=www.foo.com"); 90 cookie = mCookieManager.getCookie(url); 151 String url = "http://foo.bar.com"; local 153 mCookieManager.setCookie(url, "a=1; domain=.yo.foo.bar.com"); 154 String cookie = mCookieManager.getCookie(url); 190 String url = "http:\/\/www.foo.com"; local 222 String url = "http:\/\/www.foobar.com"; local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
GlideUrl.java | 7 import java.net.URL; 11 * unnecessary URL instantiations for loaders that require only string urls rather than URL objects. 18 * To obtain a properly escaped URL, call {@link #toURL()}. To obtain a properly escaped string URL, call 19 * {@link #toURL()} and then {@link java.net.URL#toString()}. 25 private final URL url; field in class:GlideUrl 28 private URL safeUrl; 30 public GlideUrl(URL url) [all...] |
/external/python/cpython2/Lib/ |
nturl2path.py | 1 """Convert a NT pathname to a file URL and vice versa.""" 3 def url2pathname(url): 4 """OS-specific conversion from a relative URL of the 'file' scheme 14 url = url.replace(':', '|') 15 if not '|' in url: 17 if url[:4] == '////': 21 url = url[2:] 22 components = url.split('/' [all...] |
/external/python/cpython3/Lib/ |
nturl2path.py | 1 """Convert a NT pathname to a file URL and vice versa. 8 def url2pathname(url): 9 """OS-specific conversion from a relative URL of the 'file' scheme 19 url = url.replace(':', '|') 20 if not '|' in url: 22 if url[:4] == '////': 26 url = url[2:] 27 components = url.split('/' [all...] |
/external/skia/tools/skp/page_sets/ |
skia_css3gradients_desktop.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 26 action_runner.Navigate(self.url) 43 for url in urls_list: 44 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_digg_nexus10.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 39 for url in urls_list: 40 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_espn_desktop.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 40 for url in urls_list: 41 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_gamedeksiam_nexus10.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 40 for url in urls_list: 41 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_gmail_nexus10.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 26 action_runner.Navigate(self.url) 43 for url in urls_list: 44 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_googlehome_desktop.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 40 for url in urls_list: 41 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_googlespreadsheet_desktop.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 41 for url in urls_list: 42 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|
skia_jsfiddlebigcar_desktop.py | 14 def __init__(self, url, page_set): 16 url=url, 17 name=url, 23 action_runner.Navigate(self.url) 40 for url in urls_list: 41 self.AddStory(SkiaBuildbotDesktopPage(url, self))
|