/external/python/cpython2/Lib/ |
D | urlparse.py | 78 netloc = self.netloc 79 if "@" in netloc: 80 userinfo = netloc.rsplit("@", 1)[0] 88 netloc = self.netloc 89 if "@" in netloc: 90 userinfo = netloc.rsplit("@", 1)[0] 97 netloc = self.netloc.split('@')[-1] 98 if '[' in netloc and ']' in netloc: 99 return netloc.split(']')[0][1:].lower() 100 elif ':' in netloc: [all …]
|
D | httplib.py | 952 netloc = '' 954 nil, netloc, nil, nil, nil = urlsplit(url) 956 if netloc: 958 netloc_enc = netloc.encode("ascii") 960 netloc_enc = netloc.encode("idna")
|
/external/python/cpython3/Lib/urllib/ |
D | parse.py | 188 netloc = self.netloc 189 userinfo, have_info, hostinfo = netloc.rpartition('@') 200 netloc = self.netloc 201 _, _, hostinfo = netloc.rpartition('@') 218 netloc = self.netloc 219 userinfo, have_info, hostinfo = netloc.rpartition(b'@') 230 netloc = self.netloc 231 _, _, hostinfo = netloc.rpartition(b'@') 275 _SplitResultBase.netloc.__doc__ = """ 301 _ParseResultBase.netloc.__doc__ = _SplitResultBase.netloc.__doc__ [all …]
|
/external/python/asn1crypto/asn1crypto/ |
D | _iri.py | 86 netloc = b'' 88 netloc += username 90 netloc += b':' + password 91 netloc += b'@' 93 netloc += hostname 98 netloc += b':' + port 114 output = urlunsplit((scheme, netloc, path, query, fragment)) 154 netloc = '' 156 netloc += username 158 netloc += ':' + password [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_urlparse.py | 75 t = (result.scheme, result.netloc, result.path, 89 self.assertEqual(result3.netloc, result.netloc) 102 t = (result.scheme, result.netloc, result.path, 114 self.assertEqual(result3.netloc, result.netloc) 458 self.assertEqual(p.netloc, "WWW.PYTHON.ORG") 473 self.assertEqual(p.netloc, "User:Pass@www.python.org:080") 490 self.assertEqual(p.netloc, "User@example.com:Pass@www.python.org:080") 549 self.assertEqual(p.netloc, "www.example.net:foo") 553 self.assertEqual(p.netloc, "www.example.net:foo") 564 self.assertEqual(p.netloc, "") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 88 t = (result.scheme, result.netloc, result.path, 102 self.assertEqual(result3.netloc, result.netloc) 115 t = (result.scheme, result.netloc, result.path, 127 self.assertEqual(result3.netloc, result.netloc) 528 self.assertEqual(p.netloc, '[FE80::822a:a8ff:fe49:470c%tESt]:1234') 532 self.assertEqual(p.netloc, b'[FE80::822a:a8ff:fe49:470c%tESt]:1234') 538 self.assertEqual(p.netloc, "WWW.PYTHON.ORG") 554 self.assertEqual(p.netloc, "User:Pass@www.python.org:080") 571 self.assertEqual(p.netloc, "User@example.com:Pass@www.python.org:080") 585 self.assertEqual(p.netloc, b"WWW.PYTHON.ORG") [all …]
|
/external/autotest/server/ |
D | afe_urls.py | 74 scheme, netloc, path, query, _fragment = self._root_url_parts 77 scheme, netloc, path, query, fragment).geturl()
|
/external/python/cpython2/Doc/library/ |
D | urlparse.rst | 45 general structure of a URL: ``scheme://netloc/path;parameters?query#fragment``. 55 ParseResult(scheme='http', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', 66 a netloc only if it is properly introduced by '//'. Otherwise the 72 ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', 75 ParseResult(scheme='', netloc='', path='www.cwi.nl/%7Eguido/Python.html', 78 ParseResult(scheme='', netloc='', path='help/Python.html', params='', 98 | :attr:`netloc` | 1 | Network location part | empty string | 202 | :attr:`netloc` | 1 | Network location part | empty string | 266 :func:`urlunsplit`, removing possible *scheme* and *netloc* parts. 340 .. class:: ParseResult(scheme, netloc, path, params, query, fragment) [all …]
|
/external/python/cpython3/Doc/library/ |
D | urllib.parse.rst | 44 ``scheme://netloc/path;parameters?query#fragment``. 54 ParseResult(scheme='http', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', 64 a netloc only if it is properly introduced by '//'. Otherwise the 73 ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', 76 ParseResult(scheme='', netloc='', path='www.cwi.nl/%7Eguido/Python.html', 79 ParseResult(scheme='', netloc='', path='help/Python.html', params='', 100 | :attr:`netloc` | 1 | Network location part | empty string | 125 Unmatched square brackets in the :attr:`netloc` attribute will raise a 128 Characters in the :attr:`netloc` attribute that decompose under NFKC 144 ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', [all …]
|
/external/pigweed/pw_package/py/pw_package/ |
D | git_repo.py | 55 if url.scheme == 'sso' or '.git.corp.google.com' in url.netloc: 56 host = url.netloc.replace(
|
/external/python/setuptools/setuptools/ |
D | package_index.py | 853 scheme, netloc, path, p, q, f = urllib.parse.urlparse(url) 854 if not netloc and path.startswith('//') and '/' in path[2:]: 855 netloc, path = path[2:].split('/', 1) 856 auth, host = urllib.parse.splituser(netloc) 863 netloc = host 864 parts = scheme, netloc, url, p, q, f 872 scheme, netloc, path, query, frag = urllib.parse.urlsplit(url) 884 url = urllib.parse.urlunsplit((scheme, netloc, path, query, '')) 1041 scheme, netloc, path, params, query, frag = urllib.parse.urlparse(url) 1045 if netloc.endswith(':'): [all …]
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 168 schema, netloc, url, params, query, fragments = \ 172 conn = http_client.HTTPConnection(netloc) 174 conn = http_client.HTTPSConnection(netloc)
|
/external/googletest/googletest/scripts/ |
D | upload.py | 773 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url) 774 username, netloc = urllib.splituser(netloc) 777 if netloc.endswith("svn.python.org"): 778 if netloc == "svn.python.org": 781 elif netloc != "pythondev@svn.python.org": 785 elif netloc.endswith("svn.collab.net"): 790 elif netloc.endswith(".googlecode.com"): 792 base = urlparse.urlunparse(("http", netloc, path, params, 797 base = urlparse.urlunparse((scheme, netloc, path, params,
|
/external/python/setuptools/pkg_resources/_vendor/packaging/ |
D | requirements.py | 99 if not (parsed_url.scheme and parsed_url.netloc) or ( 100 not parsed_url.scheme and not parsed_url.netloc):
|
/external/python/google-api-python-client/tests/ |
D | test__helpers.py | 108 testcase.assertEqual(expected.netloc, actual.netloc)
|
/external/python/setuptools/setuptools/_vendor/packaging/ |
D | requirements.py | 99 if not (parsed_url.scheme and parsed_url.netloc) or ( 100 not parsed_url.scheme and not parsed_url.netloc):
|
/external/python/cryptography/src/cryptography/x509/ |
D | general_name.py | 207 netloc = ( 212 netloc = idna.encode(parsed.hostname).decode("ascii") 219 netloc,
|
/external/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/ |
D | wrapper.py | 264 if url.netloc != conn.host: 265 conn = https_connect_with_proxy(url.netloc)
|
/external/perfetto/src/trace_processor/python/perfetto/trace_processor/ |
D | api.py | 173 tp = TraceProcessorHttp(p.netloc if p.netloc else p.path)
|
/external/python/httplib2/tests/ |
D | test_https.py | 156 http.add_certificate(tests.CLIENT_PEM, tests.CLIENT_PEM, uri_parsed.netloc) 180 uri_parsed.netloc, password="12345")
|
/external/python/cpython2/Lib/xml/dom/ |
D | xmlbuilder.py | 228 scheme, netloc, path, params, query, fragment = parts 232 parts = scheme, netloc, path, params, query, fragment
|
/external/markdown/markdown/ |
D | inlinepatterns.py | 261 scheme, netloc, path, params, query, fragment = url = urlparse(url) 263 if netloc != '' or scheme in locless_schemes:
|
/external/python/cpython3/Lib/xml/dom/ |
D | xmlbuilder.py | 228 scheme, netloc, path, params, query, fragment = parts 232 parts = scheme, netloc, path, params, query, fragment
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1124 netloc = '' 1126 nil, netloc, nil, nil, nil = urlsplit(url) 1128 if netloc: 1130 netloc_enc = netloc.encode("ascii") 1132 netloc_enc = netloc.encode("idna")
|
/external/autotest/client/cros/cellular/ |
D | net_interface.py | 72 urlparse.urlparse(network.FETCH_URL_PATTERN_FOR_TEST).netloc
|