Searched refs:urlparse (Results 1 – 25 of 160) sorted by relevance
1234567
/external/python/cpython2/Lib/test/ |
D | test_urlparse.py | 3 import urlparse 73 result = urlparse.urlparse(url) 79 result2 = urlparse.urlunparse(result) 85 result3 = urlparse.urlparse(result.geturl()) 100 result = urlparse.urlsplit(url) 105 result2 = urlparse.urlunsplit(result) 110 result3 = urlparse.urlsplit(result.geturl()) 125 result = urlparse.parse_qsl(orig, keep_blank_values=True) 128 result = urlparse.parse_qsl(orig, keep_blank_values=False) 134 result = urlparse.parse_qs(orig, keep_blank_values=True) [all …]
|
/external/python/httplib2/python2/ |
D | httplib2test.py | 20 import urlparse 345 uri = urlparse.urljoin( 355 uri = urlparse.urljoin(base, "methods/method_reflector.cgi") 361 uri = urlparse.urljoin(base, "methods/method_reflector.cgi") 379 uri = urlparse.urljoin(base, "304/test_etag.txt") 386 uri = urlparse.urljoin(base, "304/test_etag.txt") 396 uri = urlparse.urljoin(base, "304/test_etag.txt") 409 uri = urlparse.urljoin(base, "304/test_etag.txt") 418 uri = urlparse.urljoin(base, "user-agent/test.cgi") 426 uri = urlparse.urljoin(base, "user-agent/test.cgi") [all …]
|
/external/python/cpython2/Doc/library/ |
D | urlparse.rst | 1 :mod:`urlparse` --- Parse URLs into components 4 .. module:: urlparse 16 The :mod:`urlparse` module is renamed to :mod:`urllib.parse` in Python 3. 20 **Source code:** :source:`Lib/urlparse.py` 39 The :mod:`urlparse` module defines the following functions: 42 .. function:: urlparse(urlstring[, scheme[, allow_fragments]]) 52 >>> from urlparse import urlparse 53 >>> o = urlparse('http://www.cwi.nl:80/%7Eguido/Python.html') 65 Following the syntax specifications in :rfc:`1808`, urlparse recognizes 70 >>> from urlparse import urlparse [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 86 result = urllib.parse.urlparse(url) 98 result3 = urllib.parse.urlparse(result.geturl()) 240 self.assertEqual(urllib.parse.urlunparse(urllib.parse.urlparse(u)), u) 292 self.assertEqual(urllib.parse.urlparse('mailto:1337@example.org'), 489 urlparsed = urllib.parse.urlparse(url) 500 self.assertRaises(ValueError, urllib.parse.urlparse, invalid_url) 630 for parse in (urllib.parse.urlsplit, urllib.parse.urlparse): 658 p = urllib.parse.urlparse(uri) 676 p = urllib.parse.urlparse(uri) 686 self.assertEqual(urllib.parse.urlparse("http://example.com?blahblah=/foo"), [all …]
|
/external/python/cpython2/Lib/ |
D | robotparser.py | 13 import urlparse 53 self.host, self.path = urlparse.urlparse(url)[1:3] 146 parsed_url = urlparse.urlparse(urllib.unquote(url)) 147 url = urlparse.urlunparse(('', '', parsed_url.path, 176 path = urlparse.urlunparse(urlparse.urlparse(path))
|
/external/autotest/client/cros/cellular/ |
D | test_endpoint.py | 8 import urlparse 27 url = urlparse.urlparse(self.path) 32 parsed_query = urlparse.parse_qs(url.query)
|
D | net_interface.py | 6 import urlparse 72 urlparse.urlparse(network.FETCH_URL_PATTERN_FOR_TEST).netloc
|
/external/autotest/server/cros/ap_configurators/ |
D | linksyswrt320_ap_configurator.py | 5 import urlparse 17 page_url = urlparse.urljoin(self.admin_interface_url, 21 page_url = urlparse.urljoin(self.admin_interface_url,
|
D | linksyswrt160_ap_configurator.py | 6 import urlparse 17 page_url = urlparse.urljoin(self.admin_interface_url, 21 page_url = urlparse.urljoin(self.admin_interface_url,
|
D | linksyswrt120n_ap_configurator.py | 5 import urlparse 17 page_url = urlparse.urljoin(self.admin_interface_url, 21 page_url = urlparse.urljoin(self.admin_interface_url,
|
D | belkin_ap_configurator.py | 10 import urlparse 32 page_url = urlparse.urljoin(self.admin_interface_url,'home.htm') 89 page_url = urlparse.urljoin(self.admin_interface_url, 93 page_url = urlparse.urljoin(self.admin_interface_url,
|
D | belkinF9K1001_ap_configurator.py | 5 import urlparse 53 page_url = urlparse.urljoin(self.admin_interface_url, 56 page_url = urlparse.urljoin(self.admin_interface_url,
|
D | belkinWRTR_ap_configurator.py | 6 import urlparse 47 page_url = urlparse.urljoin(self.admin_interface_url, 51 page_url = urlparse.urljoin(self.admin_interface_url,
|
/external/autotest/site_utils/stats/ |
D | apache_access_log_metrics.py | 14 import urlparse 155 query = urlparse.urlparse(url).query 156 return urlparse.parse_qs(query)[RPC_METHOD_ARGUMENT][-1]
|
/external/autotest/client/cros/ |
D | httpd.py | 13 import threading, urllib, urlparse 70 path = urlparse.urlparse(self.path)[2] 113 path = urlparse.urlparse(path)[2] 146 split_url = urlparse.urlsplit(self.path) 151 args = urlparse.parse_qs(split_url[3])
|
/external/autotest/server/cros/ |
D | autoupdater.py | 10 import urlparse 216 urlparse.urlparse(update_url).path).split('/')[-1].strip() 230 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:]) 640 server_name = urlparse.urlparse(self.update_url)[1] 833 server = 'http://%s' % urlparse.urlparse(self.update_url)[1] 877 server_name = urlparse.urlparse(self.update_url)[1]
|
/external/autotest/server/ |
D | afe_urls.py | 18 import urlparse 37 self._root_url_parts = urlparse.urlsplit(root_url) 75 return urlparse.SplitResult(
|
/external/autotest/client/site_tests/autoupdate_DisconnectReconnectNetwork/ |
D | autoupdate_DisconnectReconnectNetwork.py | 7 import urlparse 41 self._update_server = urlparse.urlparse(update_url).hostname
|
/external/python/httplib2/python2/httplib2/ |
D | iri2uri.py | 9 import urlparse 64 (scheme, authority, path, query, fragment) = urlparse.urlsplit(uri) 69 uri = urlparse.urlunsplit((scheme, authority, path, query, fragment))
|
/external/autotest/server/site_tests/autoupdate_Interruptions/ |
D | autoupdate_Interruptions.py | 7 import urlparse 43 parsed_url = urlparse.urlparse(update_url)
|
/external/autotest/client/site_tests/cellular_Smoke/ |
D | cellular_Smoke.py | 7 import urlparse 71 urlparse.urlparse(url_pattern).hostname,
|
/external/python/cpython2/Tools/webchecker/ |
D | webchecker.py | 117 import urlparse 317 urlparse.urlparse(root) 321 troot = urlparse.urlunparse((scheme, netloc, path, 329 root = urlparse.urljoin(root, "/") 331 url = urlparse.urljoin(root, "/robots.txt") 482 root = urlparse.urljoin(root, "/") 709 base = urlparse.urljoin(self.url, self.parser.getbase() or "") 712 t = urlparse.urlparse(rawlink) 717 rawlink = urlparse.urlunparse(t) 718 link = urlparse.urljoin(base, rawlink)
|
/external/autotest/server/site_tests/autoupdate_CatchBadSignatures/ |
D | autoupdate_CatchBadSignatures.py | 6 import urlparse 14 split_url = urlparse.urlsplit(url) 15 url_base = urlparse.urlunsplit(
|
/external/autotest/server/cros/update_engine/ |
D | omaha_devserver.py | 10 import urlparse 295 return urlparse.urlunsplit(('http', self.get_netloc(), '/update', 324 omaha_hostlog_url = urlparse.urlunsplit( 373 split_url = urlparse.urlsplit(url) 374 url_base = urlparse.urlunsplit(
|
/external/clang/tools/clang-format/ |
D | clang-format-bbedit.applescript | 8 …eturn do shell script "python -c \"import urllib, urlparse, sys; print urllib.unquote(urlparse.url…
|
1234567