Home
last modified time | relevance | path

Searched refs:netloc (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython2/Lib/
Durlparse.py78 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 …]
Dhttplib.py952 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/
Dparse.py180 netloc = self.netloc
181 userinfo, have_info, hostinfo = netloc.rpartition('@')
192 netloc = self.netloc
193 _, _, hostinfo = netloc.rpartition('@')
210 netloc = self.netloc
211 userinfo, have_info, hostinfo = netloc.rpartition(b'@')
222 netloc = self.netloc
223 _, _, hostinfo = netloc.rpartition(b'@')
267 _SplitResultBase.netloc.__doc__ = """
293 _ParseResultBase.netloc.__doc__ = _SplitResultBase.netloc.__doc__
[all …]
/external/python/cpython2/Lib/test/
Dtest_urlparse.py75 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/
Dtest_urlparse.py88 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/python/cpython2/Doc/library/
Durlparse.rst45 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/autotest/server/cros/
Dsonic_client_utils.py69 self.netloc = ''
79 self.netloc,
93 url.netloc = ':'.join((host, str(port)))
/external/python/cpython3/Doc/library/
Durllib.parse.rst43 general structure of a URL: ``scheme://netloc/path;parameters?query#fragment``.
53 ParseResult(scheme='http', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',
63 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='',
99 | :attr:`netloc` | 1 | Network location part | empty string |
124 Unmatched square brackets in the :attr:`netloc` attribute will raise a
127 Characters in the :attr:`netloc` attribute that decompose under NFKC
145 Characters that affect netloc parsing under NFKC normalization will
[all …]
/external/autotest/server/
Dafe_urls.py73 scheme, netloc, path, query, _fragment = self._root_url_parts
76 scheme, netloc, path, query, fragment).geturl()
/external/python/setuptools/setuptools/
Dpackage_index.py853 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/
Dupload_docs.py168 schema, netloc, url, params, query, fragments = \
172 conn = http_client.HTTPConnection(netloc)
174 conn = http_client.HTTPSConnection(netloc)
/external/googletest/googlemock/scripts/
Dupload.py758 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
759 username, netloc = urllib.splituser(netloc)
762 if netloc.endswith("svn.python.org"):
763 if netloc == "svn.python.org":
766 elif netloc != "pythondev@svn.python.org":
770 elif netloc.endswith("svn.collab.net"):
775 elif netloc.endswith(".googlecode.com"):
777 base = urlparse.urlunparse(("http", netloc, path, params,
782 base = urlparse.urlunparse((scheme, netloc, path, params,
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py758 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
759 username, netloc = urllib.splituser(netloc)
762 if netloc.endswith("svn.python.org"):
763 if netloc == "svn.python.org":
766 elif netloc != "pythondev@svn.python.org":
770 elif netloc.endswith("svn.collab.net"):
775 elif netloc.endswith(".googlecode.com"):
777 base = urlparse.urlunparse(("http", netloc, path, params,
782 base = urlparse.urlunparse((scheme, netloc, path, params,
/external/google-breakpad/src/testing/scripts/
Dupload.py758 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
759 username, netloc = urllib.splituser(netloc)
762 if netloc.endswith("svn.python.org"):
763 if netloc == "svn.python.org":
766 elif netloc != "pythondev@svn.python.org":
770 elif netloc.endswith("svn.collab.net"):
775 elif netloc.endswith(".googlecode.com"):
777 base = urlparse.urlunparse(("http", netloc, path, params,
782 base = urlparse.urlunparse((scheme, netloc, path, params,
/external/googletest/googletest/scripts/
Dupload.py758 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
759 username, netloc = urllib.splituser(netloc)
762 if netloc.endswith("svn.python.org"):
763 if netloc == "svn.python.org":
766 elif netloc != "pythondev@svn.python.org":
770 elif netloc.endswith("svn.collab.net"):
775 elif netloc.endswith(".googlecode.com"):
777 base = urlparse.urlunparse(("http", netloc, path, params,
782 base = urlparse.urlunparse((scheme, netloc, path, params,
/external/python/google-api-python-client/tests/
Dtest__helpers.py113 testcase.assertEqual(expected.netloc, actual.netloc)
/external/python/setuptools/setuptools/_vendor/packaging/
Drequirements.py99 if not (parsed_url.scheme and parsed_url.netloc) or (
100 not parsed_url.scheme and not parsed_url.netloc):
/external/python/setuptools/pkg_resources/_vendor/packaging/
Drequirements.py99 if not (parsed_url.scheme and parsed_url.netloc) or (
100 not parsed_url.scheme and not parsed_url.netloc):
/external/python/cpython2/Lib/xml/dom/
Dxmlbuilder.py228 scheme, netloc, path, params, query, fragment = parts
232 parts = scheme, netloc, path, params, query, fragment
/external/markdown/markdown/
Dinlinepatterns.py261 scheme, netloc, path, params, query, fragment = url = urlparse(url)
263 if netloc != '' or scheme in locless_schemes:
/external/python/cpython3/Lib/xml/dom/
Dxmlbuilder.py229 scheme, netloc, path, params, query, fragment = parts
233 parts = scheme, netloc, path, params, query, fragment
/external/python/cpython3/Lib/http/
Dclient.py1127 netloc = ''
1129 nil, netloc, nil, nil, nil = urlsplit(url)
1131 if netloc:
1133 netloc_enc = netloc.encode("ascii")
1135 netloc_enc = netloc.encode("idna")
/external/autotest/server/site_tests/autoupdate_CatchBadSignatures/
Dautoupdate_CatchBadSignatures.py16 (split_url.scheme, split_url.netloc, '', '', ''))
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv288 whatsnew/2.7,,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
293 whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
295 whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
297 whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
299 whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
303 whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
/external/autotest/client/cros/cellular/
Dnet_interface.py72 urlparse.urlparse(network.FETCH_URL_PATTERN_FOR_TEST).netloc

123