/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
test_urllib.py | 282 """Test urllib.urlretrieve() on local files""" 296 self.text = 'testing urllib.urlretrieve' 336 result = urllib.urlretrieve("file:%s" % test_support.TESTFN) 346 result = urllib.urlretrieve(self.constructLocalFileUrl( 370 urllib.urlretrieve(self.constructLocalFileUrl(test_support.TESTFN), 379 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 393 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 407 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 415 """Test urllib.urlretrieve() using fake http connections""" 432 self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve, [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
test_urllib.py | 282 """Test urllib.urlretrieve() on local files""" 296 self.text = 'testing urllib.urlretrieve' 336 result = urllib.urlretrieve("file:%s" % test_support.TESTFN) 346 result = urllib.urlretrieve(self.constructLocalFileUrl( 370 urllib.urlretrieve(self.constructLocalFileUrl(test_support.TESTFN), 379 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 393 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 407 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName), 415 """Test urllib.urlretrieve() using fake http connections""" 432 self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve, [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
archive.py | 66 urllib.urlretrieve(url, zip_path)
|
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/ |
prebuilts_fetcher.py | 36 urllib.urlretrieve(url, local_file_path)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
zipfileset.py | 42 temp_file = NetworkTransaction().run(lambda: urllib.urlretrieve(zip_url)[0])
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
bootstrap.py | 89 urllib.urlretrieve(self.root_url + src_path, dst_path)
|
/external/chromium_org/third_party/gtk+/gtk/ |
compose-parse.py | 16 from urllib import urlretrieve namespace 227 urlretrieve(url, localfilename, download_hook) [all...] |
/external/chromium_org/tools/ |
bisect-builds.py | 345 urllib.urlretrieve(download_url, filename, ReportHook) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |