Home
last modified time | relevance | path

Searched refs:reporthook (Results 1 – 7 of 7) sorted by relevance

/third_party/python/PCbuild/
Dget_external.py15 reporthook = None
17 reporthook = print
22 reporthook=reporthook,
/third_party/node/tools/configure.d/
Dnodedownload.py29 def reporthook(count, size, total): function
41 ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
/third_party/python/Lib/urllib/
Drequest.py223 def urlretrieve(url, filename=None, reporthook=None, data=None): argument
266 if reporthook:
267 reporthook(blocknum, bs, size)
276 if reporthook:
277 reporthook(blocknum, bs, size)
1807 def retrieve(self, url, filename=None, reporthook=None, data=None): argument
1846 if reporthook:
1847 reporthook(blocknum, bs, size)
1855 if reporthook:
1856 reporthook(blocknum, bs, size)
/third_party/python/Lib/test/
Dtest_urllibnet.py209 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
Dtest_urllib.py852 reporthook=_reporthook)
/third_party/python/Doc/library/
Durllib.request.rst1355 .. function:: urlretrieve(url, filename=None, reporthook=None, data=None)
1449 .. method:: retrieve(url, filename=None, reporthook=None, data=None)
1459 URL. If *reporthook* is given, it must be a function accepting three numeric
1462 network. *reporthook* is ignored for local URLs.
/third_party/python/Misc/
DHISTORY5682 - Issue #16409: The reporthook callback made by the legacy
9080 when reporthook is None. Patch by Jyrki Pulliainen.
19121 - Patch #810023: Fix off-by-one bug in urllib.urlretrieve reporthook