Searched refs:urllib (Results 1 - 25 of 151) sorted by relevance

1234567

/external/chromium-trace/catapult/third_party/webtest/webtest/
H A Dcompat.py20 from urllib.parse import urlencode
21 from urllib.parse import splittype
22 from urllib.parse import splithost
23 import urllib.parse as urlparse namespace
26 from urllib import splittype # noqa
27 from urllib import splithost # noqa
28 from urllib import urlencode # noqa
/external/chromium-trace/catapult/third_party/html5lib-python/utils/
H A Diana_parse.py3 import urllib.request, urllib.error, urllib.parse namespace
8 f = urllib.request.urlopen(sys.argv[1])
H A Dspider.py10 import urllib.request, urllib.error, urllib.parse namespace
11 import urllib.robotparser namespace
24 self.robotParser = urllib.robotparser.RobotFileParser()
76 url = urllib.parse.urldefrag(link.attrib['href'])[0]
87 splitURL = list(urllib.parse.urlsplit(url))
91 splitURL[1] = urllib.parse.urlsplit(self.currentURL)[1]
92 newUrls.add(urllib.parse.urlunsplit(splitURL))
114 robotURL = list(urllib
[all...]
/external/autotest/site_utils/rpm_control_system/
H A Ddli_urllib.py4 import urllib namespace
11 This class will utilize urllib instead of pycurl to get the web page info.
19 web_file = urllib.urlopen(path)
/external/autotest/site_utils/
H A Dset_tree_status.py16 import urllib namespace
22 response = urllib.urlopen(CHROMEOS_STATUS_SERVER + '/current?format=raw')
46 urllib.urlopen(CHROMEOS_STATUS_SERVER + '/status', urllib.urlencode(data))
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dutil.py39 from six.moves import urllib namespace
197 parsed = list(urllib.parse.urlparse(url))
198 q = dict(urllib.parse.parse_qsl(parsed[4]))
200 parsed[4] = urllib.parse.urlencode(q)
201 return urllib.parse.urlunparse(parsed)
H A Dgce.py24 from six.moves import urllib namespace
81 query = '?scope=%s' % urllib.parse.quote(self.scope, '')
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
H A Dcompat.py53 urllib, zip namespace
55 from boto.vendored.six.moves.urllib.parse import parse_qs, quote, unquote, \
57 from boto.vendored.six.moves.urllib.request import urlopen
/external/chromium-trace/catapult/catapult_build/perfbot_stats/
H A Dchrome_perf_step_timings.py20 import urllib namespace
132 url = BUILDER_STEPS_URL % urllib.quote(builder)
140 url = STEP_ACTIVE_URL % (urllib.quote(builder), urllib.quote(step))
152 url = STEP_STATS_URL % (urllib.quote(builder), urllib.quote(step))
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
H A Doauth_helpers.py9 import urllib namespace
25 return '%s?%s' % (auth_url, urllib.urlencode(params))
38 request = urllib2.Request(token_url, data=urllib.urlencode(data),
56 request = urllib2.Request(token_url, data=urllib.urlencode(data),
/external/chromium-trace/catapult/firefighter/update/common/buildbot/
H A Dbuilds.py6 import urllib namespace
63 build_query = urllib.urlencode(
66 urllib.quote(self._builder_name), build_query)
76 urllib.quote(self._builder_name), build_number)
H A Dbuilder.py5 import urllib namespace
24 master_name, 'builders/%s' % urllib.quote(self.name))
38 self.master_name, 'json/builders/%s' % urllib.quote(self.name)))
/external/autotest/tko/
H A Dquery_history.cgi6 import urllib, db, unique_cookie namespace
29 link = 'save_query.cgi?' + urllib.urlencode(dict_url)
H A Dsave_query.cgi3 import os, cgi, cgitb, time, urllib namespace
22 HTTP_REFERER = 'compose_query.cgi?' + urllib.urlencode(dict_url)
/external/chromium-trace/catapult/firefighter/default/handlers/
H A Dtrace.py5 import urllib namespace
33 'query_string': urllib.urlencode(query_parameters),
/external/autotest/client/cros/
H A Dhttpd_unittest.py9 import logging, os, sys, threading, urllib, unittest namespace
20 get_resp = urllib.urlopen(url).read()
42 params = urllib.urlencode({'test': 'passed'})
48 post_resp = urllib.urlopen('http://localhost:8000/post_test',
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
H A Djson.py14 import urllib namespace
96 """Serializes a value to JSON and encodes it using urllib.quote.
100 return urllib.quote(encode(value, *args, **kwargs))
104 """Decodes a value using urllib.unquote and deserializes it from JSON.
108 return decode(urllib.unquote(value), *args, **kwargs)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
H A Dprotourlencode_test.py26 import urllib namespace
249 encoded_partial = urllib.urlencode([('double_value', 1.23),
256 encoded_full = urllib.urlencode([('double_value', 1.23),
268 encoded_repeated = urllib.urlencode([('double_value-0', 1.23),
290 encoded_nested = urllib.urlencode([('nested.a_value', 'a string'),
293 encoded_repeated_nested = urllib.urlencode(
300 encoded_default_assigned = urllib.urlencode([('a_value', 'a default'),
303 encoded_nested_empty = urllib.urlencode([('nested', '')])
305 encoded_repeated_nested_empty = urllib.urlencode([('repeated_nested-0', ''),
308 encoded_extend_message = urllib
[all...]
/external/chromium-trace/catapult/common/lab/
H A Dcommits.py12 import urllib namespace
61 parameters = urllib.urlencode((('n', revision_count), ('format', 'JSON')))
62 url = '%s/%s/+log?%s' % (_BASE_URL, urllib.quote(repository), parameters)
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
H A Diri2uri.py15 import urllib.parse namespace
70 (scheme, authority, path, query, fragment) = urllib.parse.urlsplit(uri)
75 uri = urllib.parse.urlunsplit((scheme, authority, path, query, fragment))
/external/chromium-trace/catapult/trace_processor/experimental/wpt_downloader/
H A Dwpt_downloader.py9 import urllib namespace
35 job_response = urllib.urlopen(url)
52 file_response = urllib.urlopen(trace_url)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
H A Dtest_tools.py5 from six.moves.urllib import request
/external/chromium-trace/catapult/third_party/WebOb/webob/
H A Dcompat.py51 from urllib import parse
53 from urllib.parse import quote as url_quote
54 from urllib.parse import urlencode as url_encode, quote_plus
55 from urllib.request import urlopen as url_open
58 from urllib import quote_plus
59 from urllib import quote as url_quote
60 from urllib import unquote as url_unquote
61 from urllib import urlencode as url_encode
151 query = cgi.urllib.parse.parse_qsl(
/external/boringssl/src/util/bot/
H A Dupdate_clang.py20 import urllib namespace
42 urllib.urlretrieve(url, path, reporthook=report)
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
H A Dhttplib2test.py28 import urllib.parse namespace
206 uri = urllib.parse.urljoin(base, "reflector/reflector.cgi?d=\N{CYRILLIC CAPITAL LETTER DJE}")
214 uri = urllib.parse.urljoin(base, "methods/method_reflector.cgi")
220 uri = urllib.parse.urljoin(base, "methods/method_reflector.cgi")
238 uri = urllib.parse.urljoin(base, "304/test_etag.txt")
245 uri = urllib.parse.urljoin(base, "304/test_etag.txt")
253 uri = urllib.parse.urljoin(base, "304/test_etag.txt")
264 uri = urllib.parse.urljoin(base, "304/test_etag.txt")
271 uri = urllib.parse.urljoin(base, "user-agent/test.cgi")
279 uri = urllib
[all...]

Completed in 438 milliseconds

1234567