/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/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/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/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/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/ |
D | afe_urls.py | 18 import urlparse 37 self._root_url_parts = urlparse.urlsplit(root_url) 75 return urlparse.SplitResult(
|
D | afe_urls_unittest.py | 6 import urlparse 24 urlsplit = urlparse.urlsplit
|
/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 44 parsed_url = urlparse.urlparse(update_url)
|
/external/autotest/client/site_tests/cellular_Smoke/ |
D | cellular_Smoke.py | 8 import urlparse 75 urlparse.urlparse(url_pattern).hostname,
|
/external/autotest/server/cros/ |
D | autoupdater.py | 11 import urlparse 224 urlparse.urlparse(update_url).path).split('/')[-1].strip() 238 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:]) 648 server_name = urlparse.urlparse(self.update_url)[1] 914 server_name = urlparse.urlparse(self.update_url)[1]
|
/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…
|
/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/mesa3d/docs/_exts/ |
D | redirects.py | 3 from urllib.parse import urlparse 17 if urlparse(dst).scheme == "":
|
/external/python/oauth2client/oauth2client/contrib/ |
D | _metadata.py | 25 from six.moves.urllib import parse as urlparse unknown 56 url = urlparse.urljoin(root, path)
|
/external/python/setuptools/setuptools/_vendor/packaging/ |
D | requirements.py | 12 from setuptools.extern.six.moves.urllib import parse as urlparse namespace 98 parsed_url = urlparse.urlparse(req.url)
|
/external/skqp/infra/bots/ |
D | recipes.py | 25 import urlparse 146 engine_path = urlparse.urlparse(url).path
|
/external/python/httplib2/tests/ |
D | test_proxy.py | 121 uri_parsed = urllib.parse.urlparse(uri) 136 uri_parsed = urllib.parse.urlparse(uri) 162 uri_parsed = urllib.parse.urlparse(uri)
|
/external/python/setuptools/pkg_resources/_vendor/packaging/ |
D | requirements.py | 12 from pkg_resources.extern.six.moves.urllib import parse as urlparse namespace 98 parsed_url = urlparse.urlparse(req.url)
|
/external/python/cpython3/Doc/library/ |
D | urllib.parse.rst | 40 .. function:: urlparse(urlstring, scheme='', allow_fragments=True) 51 >>> from urllib.parse import urlparse 52 >>> o = urlparse('http://www.cwi.nl:80/%7Eguido/Python.html') 63 Following the syntax specifications in :rfc:`1808`, urlparse recognizes 71 >>> from urllib.parse import urlparse 72 >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html') 75 >>> urlparse('www.cwi.nl/%7Eguido/Python.html') 78 >>> urlparse('help/Python.html') 123 :ref:`urlparse-result-object` for more information on the result object. 141 >>> from urllib.parse import urlparse [all …]
|