/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllibnet.py | 145 """Tests urllib.urlretrieve using the network."""
147 def urlretrieve(self, *args):
member in class:urlretrieveNetworkTests 148 return _open_with_retry(urllib.urlretrieve, *args)
152 file_location,info = self.urlretrieve("http://www.python.org/")
154 " urlretrieve is not a valid path")
158 " by urlretrieve failed")
165 file_location,info = self.urlretrieve("http://www.python.org/",
177 # Make sure header returned as 2nd value from urlretrieve is good.
178 file_location, header = self.urlretrieve("http://www.python.org/")
185 file_location, fileheaders = self.urlretrieve(logo) [all...] |
/external/python/cpython2/Lib/test/ |
test_urllibnet.py | 157 """Tests urllib.urlretrieve using the network.""" 159 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 160 return _open_with_retry(urllib.urlretrieve, *args) 164 file_location,info = self.urlretrieve("http://www.example.com/") 166 " urlretrieve is not a valid path") 170 " by urlretrieve failed") 177 file_location,info = self.urlretrieve("http://www.example.com/", 189 # Make sure header returned as 2nd value from urlretrieve is good. 190 file_location, header = self.urlretrieve("http://www.example.com/") 197 file_location, fileheaders = self.urlretrieve(logo [all...] |
/external/python/cpython3/Lib/test/ |
test_urllibnet.py | 142 """Tests urllib.request.urlretrieve using the network.""" 145 def urlretrieve(self, *args, **kwargs): member in class:urlretrieveNetworkTests 148 file_location, info = urllib.request.urlretrieve(*args, **kwargs) 156 with self.urlretrieve(self.logo) as (file_location, info): 158 " urlretrieve is not a valid path") 161 " by urlretrieve failed") 165 with self.urlretrieve(self.logo, 173 # Make sure header returned as 2nd value from urlretrieve is good. 174 with self.urlretrieve(self.logo) as (file_location, info): 181 with self.urlretrieve(self.logo) as (file_location, fileheaders) [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
data_utils.py | 54 def urlretrieve(url, filename, reporthook=None, data=None): function 57 Under Python 2, `urlretrieve` relies on `FancyURLopener` from legacy 93 from six.moves.urllib.request import urlretrieve 243 urlretrieve(origin, fpath, dl_progress)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 153 """Tests urllib.urlretrieve using the network.""" 155 def urlretrieve(self, *args): member in class:urlretrieveNetworkTests 156 return _open_with_retry(urllib.urlretrieve, *args) 160 file_location,info = self.urlretrieve("http://www.python.org/") 162 " urlretrieve is not a valid path") 166 " by urlretrieve failed") 173 file_location,info = self.urlretrieve("http://www.python.org/", 185 # Make sure header returned as 2nd value from urlretrieve is good. 186 file_location, header = self.urlretrieve("http://www.python.org/") 193 file_location, fileheaders = self.urlretrieve(logo [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urllib.py | 32 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve",
87 def urlretrieve(url, filename=None, reporthook=None, data=None):
function [all...] |
/external/python/cpython2/Lib/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None, context=None): function [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 35 __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", 90 def urlretrieve(url, filename=None, reporthook=None, data=None): function [all...] |
/external/autotest/client/common_lib/ |
utils.py | 559 def urlretrieve(url, filename, data=None, timeout=300): function 610 urlretrieve(src, dest) [all...] |
/external/python/cpython3/Lib/urllib/ |
request.py | 133 'urlretrieve', 'urlcleanup', 'URLopener', 'FancyURLopener', 230 def urlretrieve(url, filename=None, reporthook=None, data=None): function 294 """Clean up temporary files from urlretrieve calls.""" [all...] |