Home
last modified time | relevance | path

Searched refs:reporthook (Results 1 - 5 of 5) sorted by relevance

/third_party/python/PCbuild/
H A Dget_external.py15 reporthook = None
17 reporthook = print
22 reporthook=reporthook,
/third_party/node/tools/configure.d/
H A Dnodedownload.py29 def reporthook(count, size, total): function
41 ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
/third_party/python/Lib/urllib/
H A Drequest.py223 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 Dtest_urllibnet.py209 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
H A Dtest_urllib.py775 # 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 7 milliseconds