/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib.py | 361 # Make sure that the reporthook works. 374 # Test on zero length file. Should call reporthook only 1 time. 385 # Test on 5 byte file. Should call reporthook only 2 times (once when 400 # Test on 8193 byte file. Should call reporthook only 3 times (once 433 'http://example.com', reporthook=_reporthook) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib.py | 361 # Make sure that the reporthook works. 374 # Test on zero length file. Should call reporthook only 1 time. 385 # Test on 5 byte file. Should call reporthook only 2 times (once when 400 # Test on 8193 byte file. Should call reporthook only 3 times (once 433 'http://example.com', reporthook=_reporthook) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 90 def urlretrieve(url, filename=None, reporthook=None, data=None): 94 return _urlopener.retrieve(url, filename, reporthook, data) 225 def retrieve(self, url, filename=None, reporthook=None, data=None): 265 if reporthook: 266 reporthook(blocknum, bs, size) 274 if reporthook: 275 reporthook(blocknum, bs, size) 1613 def reporthook(blocknum, blocksize, totalsize): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 90 def urlretrieve(url, filename=None, reporthook=None, data=None): 94 return _urlopener.retrieve(url, filename, reporthook, data) 225 def retrieve(self, url, filename=None, reporthook=None, data=None): 265 if reporthook: 266 reporthook(blocknum, bs, size) 274 if reporthook: 275 reporthook(blocknum, bs, size) 1613 def reporthook(blocknum, blocksize, totalsize): function [all...] |
/external/jsoncpp/src/test_lib_json/ |
jsontest.cpp | 496 // calling abort() cause the ReportHook to be called
|
/external/chromium_org/tools/ |
bisect-builds.py | 528 def ReportHook(blocknum, blocksize, totalsize): 545 urllib.urlretrieve(download_url, filename, ReportHook) [all...] |