Home
last modified time | relevance | path

Searched refs:_GLOBAL_DEFAULT_TIMEOUT (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Lib/test/
Dmock_socket.py114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT,
121 if timeout is socket_module._GLOBAL_DEFAULT_TIMEOUT:
Dtest_urllib2.py255 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/
Dftplib.py41 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):
Dsocket.py689 _GLOBAL_DEFAULT_TIMEOUT = object() variable
691 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
712 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
Dpoplib.py98 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
430 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None):
Dnntplib.py80 from socket import _GLOBAL_DEFAULT_TIMEOUT
313 readermode=None, timeout=_GLOBAL_DEFAULT_TIMEOUT):
1023 timeout=_GLOBAL_DEFAULT_TIMEOUT):
1070 timeout=_GLOBAL_DEFAULT_TIMEOUT):
Dtelnetlib.py197 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
220 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dsmtplib.py227 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
1012 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
/external/python/cpython2/Lib/test/
Dtest_urllib2.py243 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/
Dsocket.py539 _GLOBAL_DEFAULT_TIMEOUT = object() variable
541 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
562 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
Dftplib.py48 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):
Dsmtplib.py240 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
799 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dtelnetlib.py189 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dpoplib.py86 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dhttplib.py722 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None):
1240 strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
Durllib2.py131 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
411 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Durllib.py866 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
/external/python/cpython3/Lib/http/
Dclient.py827 def __init__(self, host, port=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
1353 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
/external/python/cpython3/Lib/urllib/
Drequest.py139 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__.py57 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
/external/python/httplib2/python2/httplib2/
D__init__.py134 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT