Home
last modified time | relevance | path

Searched refs:urlretrieve (Results 1 – 25 of 57) sorted by relevance

123

/external/python/cpython3/PCbuild/
Durlretrieve.py11 from urllib.request import urlretrieve
15 from urllib import urlretrieve
24 def urlretrieve(url, filename): function
39 urlretrieve(URL, FILENAME)
Dget_external.py7 from urllib.request import urlretrieve
17 filename, headers = urlretrieve(
/external/python/cpython3/Lib/test/
Dtest_urllibnet.py148 def urlretrieve(self, *args, **kwargs): member in urlretrieveNetworkTests
151 file_location, info = urllib.request.urlretrieve(*args, **kwargs)
159 with self.urlretrieve(self.logo) as (file_location, info):
168 with self.urlretrieve(self.logo,
177 with self.urlretrieve(self.logo) as (file_location, info):
184 with self.urlretrieve(self.logo) as (file_location, fileheaders):
198 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
Dtest_urllib.py616 result = urllib.request.urlretrieve("file:%s" % support.TESTFN)
626 result = urllib.request.urlretrieve(self.constructLocalFileUrl(
650 urllib.request.urlretrieve(
660 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
673 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
687 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
715 urllib.request.urlretrieve(support.TEST_HTTP_URL,
732 urllib.request.urlretrieve(support.TEST_HTTP_URL)
/external/python/cpython2/Lib/test/
Dtest_urllibnet.py159 def urlretrieve(self, *args): member in urlretrieveNetworkTests
160 return _open_with_retry(urllib.urlretrieve, *args)
164 file_location,info = self.urlretrieve("http://www.example.com/")
177 file_location,info = self.urlretrieve("http://www.example.com/",
190 file_location, header = self.urlretrieve("http://www.example.com/")
197 file_location, fileheaders = self.urlretrieve(logo)
Dtest_urllib.py423 result = urllib.urlretrieve("file:%s" % test_support.TESTFN)
433 result = urllib.urlretrieve(self.constructLocalFileUrl(
457 urllib.urlretrieve(self.constructLocalFileUrl(test_support.TESTFN),
466 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
480 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
494 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
519 self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve,
535 … self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve, 'http://example.com/')
/external/autotest/server/cros/ap_configurators/
Dfetch_prebuilt_pyauto.py138 chrome_zip = urllib.urlretrieve(self._chrome_zip_url)[0]
142 remoting_zip = urllib.urlretrieve(self._remoting_zip_url)[0]
147 pyautolib_py = urllib.urlretrieve(self._pyautolib_py_url)[0]
150 pyautolib_so = urllib.urlretrieve(self._pyautolib_so_url)[0]
154 ffmpegsumo_so = urllib.urlretrieve(self._ffmpegsumo_so_url)[0]
157 chromedriver = urllib.urlretrieve(self._chromedriver_url)[0]
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase_test.py34 mock_urllib.request.urlretrieve.side_effect = [
49 mock_urllib.request.urlretrieve.side_effect = [
70 mock_urllib.request.urlretrieve.side_effect = [
Dbase.py233 return urllib.request.urlretrieve(url, filename)
/external/python/cpython2/PCbuild/
Dget_external.py7 from urllib.request import urlretrieve
17 filename, headers = urlretrieve(
Dfind_python.bat53 @%_Py_HOST_PYTHON% "%~dp0\urlretrieve.py" "%_Py_NUGET_URL%" "%_Py_NUGET%"
/external/tensorflow/tensorflow/python/debug/examples/
Ddebug_tflearn_iris.py54 urllib.request.urlretrieve(IRIS_TRAINING_DATA_URL, train_file.name)
62 urllib.request.urlretrieve(IRIS_TEST_DATA_URL, test_file.name)
/external/skqp/tools/skqp/
Dget_gold_results.py37 urllib.urlretrieve(url, filename)
/external/skia/tools/skqp/
Dget_gold_results.py37 urllib.urlretrieve(url, filename)
/external/skqp/tools/svg/
Dsvg_downloader.py24 urllib.urlretrieve(svg_url, dest_file)
/external/skia/tools/svg/
Dsvg_downloader.py24 urllib.urlretrieve(svg_url, dest_file)
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py54 def urlretrieve(url, filename, reporthook=None, data=None): function
93 from six.moves.urllib.request import urlretrieve
248 urlretrieve(origin, fpath, dl_progress)
/external/python/dateutil/
Dupdatezinfo.py29 request.urlretrieve(os.path.join(releases_url,
/external/python/cpython2/Doc/library/
Durllib.rst157 .. function:: urlretrieve(url[, filename[, reporthook[, data]]])
183 :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that
189 :func:`urlretrieve` reads more data, but if less data is available, it raises
195 If no *Content-Length* header was supplied, :func:`urlretrieve` can not check
202 The public functions :func:`urlopen` and :func:`urlretrieve` create an instance
222 :func:`urlretrieve`.
438 This exception is raised when the :func:`urlretrieve` function detects that the
456 * The caching feature of :func:`urlretrieve` has been disabled until I find the
465 * The :func:`urlopen` and :func:`urlretrieve` functions can cause arbitrarily
475 * The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data
/external/perfetto/tools/
Dtraceconv58 urllib.urlretrieve(url, local_file)
/external/tensorflow/tensorflow/lite/tutorials/
Ddataset.py78 urllib.request.urlretrieve(url, zipped_filepath)
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dcifar_tfrecords.py50 urllib.request.urlretrieve(url, filepath)
/external/autotest/client/bin/
Dtest_config.py43 utils.urlretrieve(cfg, self.cfg)
/external/python/cpython3/Doc/library/
Durllib.error.rst61 This exception is raised when the :func:`~urllib.request.urlretrieve`
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_from_file_agent.py64 return urllib.urlretrieve(url, t2t_path)

123