Searched refs:_GLOBAL_DEFAULT_TIMEOUT (Results 1 – 21 of 21) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | mock_socket.py | 114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, 121 if timeout is socket_module._GLOBAL_DEFAULT_TIMEOUT:
|
D | test_urllib2.py | 255 def open(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 335 def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 719 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 1171 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1202 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1213 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1225 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1242 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1262 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
/external/python/cpython3/Lib/ |
D | ftplib.py | 41 from socket import _GLOBAL_DEFAULT_TIMEOUT 113 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None): 331 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT: 390 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT: 726 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None):
|
D | socket.py | 689 _GLOBAL_DEFAULT_TIMEOUT = object() variable 691 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 712 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
|
D | poplib.py | 98 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 430 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None):
|
D | nntplib.py | 80 from socket import _GLOBAL_DEFAULT_TIMEOUT 313 readermode=None, timeout=_GLOBAL_DEFAULT_TIMEOUT): 1023 timeout=_GLOBAL_DEFAULT_TIMEOUT): 1070 timeout=_GLOBAL_DEFAULT_TIMEOUT):
|
D | telnetlib.py | 197 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 220 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | smtplib.py | 227 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 1012 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 243 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 296 def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 634 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 933 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 963 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 973 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 985 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT 1002 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
/external/python/cpython2/Lib/ |
D | socket.py | 539 _GLOBAL_DEFAULT_TIMEOUT = object() variable 541 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 562 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
|
D | ftplib.py | 48 from socket import _GLOBAL_DEFAULT_TIMEOUT 117 timeout=_GLOBAL_DEFAULT_TIMEOUT): 308 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT: 367 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT: 662 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None):
|
D | smtplib.py | 240 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 799 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | telnetlib.py | 189 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | poplib.py | 86 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | httplib.py | 722 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None): 1240 strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
D | urllib2.py | 131 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 411 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | urllib.py | 866 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
/external/python/cpython3/Lib/http/ |
D | client.py | 827 def __init__(self, host, port=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 1353 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 139 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 507 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 57 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 134 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
|