Home
last modified time | relevance | path

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

/external/python/cpython3/PCbuild/
Dget_external.py13 reporthook = None
15 reporthook = print
20 reporthook=reporthook,
/external/python/cpython2/PCbuild/
Dget_external.py13 reporthook = None
15 reporthook = print
20 reporthook=reporthook,
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py67 def urlretrieve(url, filename, reporthook=None, data=None): argument
83 def chunk_read(response, chunk_size=8192, reporthook=None): argument
92 if reporthook is not None:
93 reporthook(count, chunk_size, total_size)
101 for chunk in chunk_read(response, reporthook=reporthook):
/external/python/cpython2/Lib/
Durllib.py90 def urlretrieve(url, filename=None, reporthook=None, data=None, context=None): argument
98 return opener.retrieve(url, filename, reporthook, data)
230 def retrieve(self, url, filename=None, reporthook=None, data=None): argument
270 if reporthook:
271 reporthook(blocknum, bs, size)
279 if reporthook:
280 reporthook(blocknum, bs, size)
1666 def reporthook(blocknum, blocksize, totalsize): function
/external/python/cpython3/Lib/urllib/
Drequest.py221 def urlretrieve(url, filename=None, reporthook=None, data=None): argument
264 if reporthook:
265 reporthook(blocknum, bs, size)
274 if reporthook:
275 reporthook(blocknum, bs, size)
1801 def retrieve(self, url, filename=None, reporthook=None, data=None): argument
1840 if reporthook:
1841 reporthook(blocknum, bs, size)
1849 if reporthook:
1850 reporthook(blocknum, bs, size)
/external/python/cpython3/Lib/test/
Dtest_urllibnet.py208 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
Dtest_urllib.py850 reporthook=_reporthook)
/external/boringssl/src/util/bot/go/
Dbootstrap.py153 urllib.urlretrieve(url, path, reporthook=report)
/external/python/setuptools/setuptools/
Dpackage_index.py740 self.reporthook(url, filename, blocknum, bs, size)
748 self.reporthook(url, filename, blocknum, bs, size)
757 def reporthook(self, url, filename, blocknum, blksize, size): member in PackageIndex
/external/python/cpython2/Doc/library/
Durllib.rst157 .. function:: urlretrieve(url[, filename[, reporthook[, data]]])
366 .. method:: retrieve(url[, filename[, reporthook[, data]]])
376 URL. If *reporthook* is given, it must be a function accepting three numeric
378 network. *reporthook* is ignored for local URLs.
/external/python/cpython2/Lib/test/
Dtest_urllib.py520 'http://example.com', reporthook=_reporthook)
/external/python/cpython3/Doc/library/
Durllib.request.rst1350 .. function:: urlretrieve(url, filename=None, reporthook=None, data=None)
1444 .. method:: retrieve(url, filename=None, reporthook=None, data=None)
1454 URL. If *reporthook* is given, it must be a function accepting three numeric
1457 network. *reporthook* is ignored for local URLs.
/external/python/cpython2/Misc/NEWS.d/
D2.7.3rc1.rst738 Fix urlretrieve function to raise ContentTooShortError even when reporthook
/external/python/cpython3/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
/external/python/cpython2/Misc/
DHISTORY1737 - Patch #810023: Fix off-by-one bug in urllib.urlretrieve reporthook