Home
last modified time | relevance | path

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

/external/python/cpython2/PCbuild/
Dget_external.py13 reporthook = None
15 reporthook = print
20 reporthook=reporthook,
/external/python/cpython3/PCbuild/
Dget_external.py13 reporthook = None
15 reporthook = print
20 reporthook=reporthook,
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py54 def urlretrieve(url, filename, reporthook=None, data=None): argument
72 def chunk_read(response, chunk_size=8192, reporthook=None): argument
81 if reporthook is not None:
82 reporthook(count, chunk_size, total_size)
90 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.py229 def urlretrieve(url, filename=None, reporthook=None, data=None): argument
272 if reporthook:
273 reporthook(blocknum, bs, size)
282 if reporthook:
283 reporthook(blocknum, bs, size)
1775 def retrieve(self, url, filename=None, reporthook=None, data=None): argument
1814 if reporthook:
1815 reporthook(blocknum, bs, size)
1823 if reporthook:
1824 reporthook(blocknum, bs, size)
/external/python/cpython3/Lib/test/
Dtest_urllibnet.py198 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
Dtest_urllib.py716 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/cpython3/Doc/library/
Durllib.request.rst1331 .. function:: urlretrieve(url, filename=None, reporthook=None, data=None)
1424 .. method:: retrieve(url, filename=None, reporthook=None, data=None)
1434 URL. If *reporthook* is given, it must be a function accepting three numeric
1437 network. *reporthook* is ignored for local URLs.
/external/python/cpython2/Lib/test/
Dtest_urllib.py520 'http://example.com', reporthook=_reporthook)
/external/tensorflow/tensorflow/examples/udacity/
D1_notmnist.ipynb138 …" filename, _ = urlretrieve(url + filename, dest_filename, reporthook=download_progress_hook)\n…
/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