Searched refs:reporthook (Results 1 - 5 of 5) sorted by relevance
/third_party/python/PCbuild/ |
H A D | get_external.py | 15 reporthook = None 17 reporthook = print 22 reporthook=reporthook,
|
/third_party/node/tools/configure.d/ |
H A D | nodedownload.py | 29 def reporthook(count, size, total): function 41 ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
|
/third_party/python/Lib/urllib/ |
H A D | request.py | 223 def urlretrieve(url, filename=None, reporthook=None, data=None): 228 the temporary file location. The reporthook argument should be 266 if reporthook: 267 reporthook(blocknum, bs, size) 276 if reporthook: 277 reporthook(blocknum, bs, size) 1806 def retrieve(self, url, filename=None, reporthook=None, data=None): 1845 if reporthook: 1846 reporthook(blocknum, bs, size) 1854 if reporthook [all...] |
/third_party/python/Lib/test/ |
H A D | test_urllibnet.py | 209 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
|
H A D | test_urllib.py | 775 # Make sure that the reporthook works. 789 # Test on zero length file. Should call reporthook only 1 time. 800 # Test on 5 byte file. Should call reporthook only 2 times (once when 814 # Test on 8193 byte file. Should call reporthook only 3 times (once 852 reporthook=_reporthook)
|
Completed in 6 milliseconds