/external/skia/platform_tools/android/bin/ |
http_download.py | 15 import urllib2 namespace 53 proxy_handler = urllib2.ProxyHandler({ 56 opener = urllib2.build_opener(proxy_handler) 58 opener = urllib2.build_opener() 60 urllib2.install_opener(opener) 68 src = urllib2.urlopen(url, timeout=30) 83 except urllib2.HTTPError, e: 88 except urllib2.URLError:
|
download_utils.py | 19 import urllib2 namespace 238 fh = urllib2.urlopen(url) 252 fh = urllib2.urlopen(hash_url) 255 except urllib2.HTTPError, exn:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 8 import urllib2 namespace 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 36 """Tests urllib2 authentication features.""" 53 # except urllib2.HTTPError, exc: 59 # auth_handler = urllib2.HTTPBasicAuthHandler() 62 # opener = urllib2.build_opener(auth_handler) 71 # urllib2.urlopen, "http://evil:thing@example.com") 79 # calling .close() on urllib2's response objects should close the 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError) [all...] |
test_urllib2.py | 8 import urllib2 namespace 9 from urllib2 import Request, OpenerDirector 20 self.assertRaises(ValueError, urllib2.urlopen, 'bogus url') 23 fname = os.path.abspath(urllib2.__file__).replace('\\', '/') 37 f = urllib2.urlopen(file_url) 48 self.assertEqual(urllib2.parse_http_list(string), list) 60 code that previously saw all (urllib2 user)-provided headers in .headers 85 normalization to .title()-case is done by urllib2 before sending headers to 116 >>> mgr = urllib2.HTTPPasswordMgr() 181 >>> mgr = urllib2.HTTPPasswordMgr( [all...] |
test_urllib2_localnet.py | 4 import urllib2 namespace 177 # urllib2 uses the full path, so we're going to see if 252 handler = urllib2.ProxyHandler({"http" : proxy_url}) 253 self.proxy_digest_handler = urllib2.ProxyDigestAuthHandler() 254 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler) 264 self.assertRaises(urllib2.HTTPError, 270 self.assertRaises(urllib2.HTTPError, 289 except urllib2.URLError: 343 """Tests urllib2.urlopen using the network. 352 proxy_handler = urllib2.ProxyHandler({} [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 8 import urllib2 namespace 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 36 """Tests urllib2 authentication features.""" 53 # except urllib2.HTTPError, exc: 59 # auth_handler = urllib2.HTTPBasicAuthHandler() 62 # opener = urllib2.build_opener(auth_handler) 71 # urllib2.urlopen, "http://evil:thing@example.com") 79 # calling .close() on urllib2's response objects should close the 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError) [all...] |
test_urllib2.py | 8 import urllib2 namespace 9 from urllib2 import Request, OpenerDirector 20 self.assertRaises(ValueError, urllib2.urlopen, 'bogus url') 23 fname = os.path.abspath(urllib2.__file__).replace('\\', '/') 37 f = urllib2.urlopen(file_url) 48 self.assertEqual(urllib2.parse_http_list(string), list) 60 code that previously saw all (urllib2 user)-provided headers in .headers 85 normalization to .title()-case is done by urllib2 before sending headers to 116 >>> mgr = urllib2.HTTPPasswordMgr() 181 >>> mgr = urllib2.HTTPPasswordMgr( [all...] |
test_urllib2_localnet.py | 4 import urllib2 namespace 177 # urllib2 uses the full path, so we're going to see if 252 handler = urllib2.ProxyHandler({"http" : proxy_url}) 253 self.proxy_digest_handler = urllib2.ProxyDigestAuthHandler() 254 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler) 264 self.assertRaises(urllib2.HTTPError, 270 self.assertRaises(urllib2.HTTPError, 289 except urllib2.URLError: 343 """Tests urllib2.urlopen using the network. 352 proxy_handler = urllib2.ProxyHandler({} [all...] |
/external/skia/tools/ |
retrieve_from_googlesource.py | 15 import urllib2 namespace 29 with closing(urllib2.urlopen(base64_url)) as f:
|
jsondiff.py | 23 import urllib2 namespace 56 return urllib2.urlopen(filepath).read()
|
/external/chromium-trace/trace-viewer/third_party/six/ |
six.py | 353 MovedAttribute("URLError", "urllib2", "urllib.error"), 354 MovedAttribute("HTTPError", "urllib2", "urllib.error"), 372 MovedAttribute("urlopen", "urllib2", "urllib.request"), 373 MovedAttribute("install_opener", "urllib2", "urllib.request"), 374 MovedAttribute("build_opener", "urllib2", "urllib.request"), 378 MovedAttribute("Request", "urllib2", "urllib.request"), 379 MovedAttribute("OpenerDirector", "urllib2", "urllib.request"), 380 MovedAttribute("HTTPDefaultErrorHandler", "urllib2", "urllib.request"), 381 MovedAttribute("HTTPRedirectHandler", "urllib2", "urllib.request"), 382 MovedAttribute("HTTPCookieProcessor", "urllib2", "urllib.request") [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
register.py | 10 import urllib2 namespace 89 response = urllib2.urlopen(self.repository+'?:action=list_classifiers') 163 auth = urllib2.HTTPPasswordMgr() 258 # Build up the MIME payload for the urllib2 POST data 292 req = urllib2.Request(self.repository, body, headers) 295 opener = urllib2.build_opener( 296 urllib2.HTTPBasicAuthHandler(password_mgr=auth) 301 except urllib2.HTTPError, e: 305 except urllib2.URLError, e:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
register.py | 10 import urllib2 namespace 89 response = urllib2.urlopen(self.repository+'?:action=list_classifiers') 163 auth = urllib2.HTTPPasswordMgr() 258 # Build up the MIME payload for the urllib2 POST data 292 req = urllib2.Request(self.repository, body, headers) 295 opener = urllib2.build_opener( 296 urllib2.HTTPBasicAuthHandler(password_mgr=auth) 301 except urllib2.HTTPError, e: 305 except urllib2.URLError, e:
|
/external/chromium-trace/trace-viewer/tracing/build/ |
run_dev_server_tests | 14 import urllib2 namespace 100 local_file.write(urllib2.urlopen(url).read()) 118 response = urllib2.urlopen(omaha_url) 130 local_file.write(urllib2.urlopen(cs_url).read())
|
/external/deqp/external/ |
fetch_sources.py | 7 import urllib2 namespace 41 req = urllib2.urlopen(pkg.url)
|
/external/v8/tools/testrunner/local/ |
utils.py | 35 import urllib2 namespace 121 f.write(urllib2.urlopen(source).read())
|
/external/skia/bench/ |
gen_bench_expectations.py | 14 import urllib2 namespace 108 list_commits = urllib2.urlopen( 135 src = urllib2.urlopen(_GS_CLOUD_FORMAT % (builder, file_name)) 139 except urllib2.HTTPError:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_register.py | 6 import urllib2 namespace 78 self.old_opener = urllib2.build_opener 79 self.conn = urllib2.build_opener = FakeOpener() 83 urllib2.build_opener = self.old_opener
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_register.py | 6 import urllib2 namespace 78 self.old_opener = urllib2.build_opener 79 self.conn = urllib2.build_opener = FakeOpener() 83 urllib2.build_opener = self.old_opener
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_urllib.py | 25 "urllib2" : [ 45 # Duplicate the url parsing functions for urllib2. 46 MAPPING["urllib2"].append(MAPPING["urllib"][1])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_urllib.py | 25 "urllib2" : [ 45 # Duplicate the url parsing functions for urllib2. 46 MAPPING["urllib2"].append(MAPPING["urllib"][1])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
xmlbuilder.py | 193 import urllib2 namespace 194 fp = urllib2.urlopen(input.systemId) 245 import urllib2 namespace 246 return urllib2.build_opener()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
xmlbuilder.py | 193 import urllib2 namespace 194 fp = urllib2.urlopen(input.systemId) 245 import urllib2 namespace 246 return urllib2.build_opener()
|
/external/chromium-trace/trace-viewer/third_party/six/documentation/ |
index.rst | 514 The :mod:`py2:urllib`, :mod:`py2:urllib2`, and :mod:`py2:urlparse` modules have 714 :synopsis: Stuff from :mod:`py2:urllib` and :mod:`py2:urllib2` in Python 2 and :mod:`py3:urllib.error` in Python 3 [all...] |
/external/deqp/scripts/khr_util/ |
registry_cache.py | 24 import urllib2 namespace 62 req = urllib2.urlopen(url)
|