Searched refs:HOST (Results 1 - 25 of 58) sorted by relevance

123

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_telnetlib.py11 HOST = test_support.HOST variable
60 telnet = telnetlib.Telnet(HOST, self.port)
67 telnet = telnetlib.Telnet(HOST, self.port)
78 telnet = telnetlib.Telnet(HOST, self.port, timeout=None)
85 telnet = telnetlib.Telnet(HOST, self.port, timeout=30)
91 telnet.open(HOST, self.port, timeout=30)
124 telnet = telnetlib.Telnet(HOST, self.port)
133 telnet = telnetlib.Telnet(HOST, self.port)
143 telnet = telnetlib.Telnet(HOST, sel
[all...]
H A Dtest_smtplib.py19 HOST = test_support.HOST variable
65 smtp = smtplib.SMTP(HOST, self.port)
70 smtp = smtplib.SMTP("%s:%s" % (HOST, self.port))
75 smtp = smtplib.SMTP(HOST, self.port, local_hostname="testhost")
83 smtp = smtplib.SMTP(HOST, self.port)
93 smtp = smtplib.SMTP(HOST, self.port, timeout=None)
100 smtp = smtplib.SMTP(HOST, self.port, timeout=30)
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
182 smtp = smtplib.SMTP(HOST, sel
[all...]
H A Dtest_socket.py33 HOST = test_support.HOST variable
44 HOST = test_support.HOST variable
214 self.cli.connect((HOST, self.port))
638 for info in socket.getaddrinfo(HOST, None):
649 socket.getaddrinfo(HOST, "http")
650 socket.getaddrinfo(HOST, 80)
651 socket.getaddrinfo(HOST, 80L)
652 socket.getaddrinfo(HOST, Non
[all...]
H A Dtest_poplib.py16 from test.test_support import HOST namespace
163 self.server = DummyPOP3Server((HOST, 0))
270 self.server = DummyPOP3Server((HOST, 0))
311 pop = poplib.POP3(HOST, self.port)
321 pop = poplib.POP3(HOST, self.port, timeout=None)
328 pop = poplib.POP3(HOST, self.port, timeout=30)
H A Dtest_httplib.py13 HOST = test_support.HOST variable
435 self.conn = httplib.HTTPConnection(HOST, self.port,
443 self.conn = httplib.HTTPSConnection(HOST, self.port,
470 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT)
481 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT,
490 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT, timeout=30)
502 h = httplib.HTTPSConnection(HOST, TimeoutTest.PORT, timeout=30)
H A Dtest_socketserver.py27 HOST = test.test_support.HOST variable
91 return (HOST, 0)
297 s = MyServer((HOST, 0), MyHandler)
H A Dtest_ftplib.py20 from test.test_support import HOST namespace
404 self.server = DummyFTPServer((HOST, 0))
557 self.server = DummyFTPServer((HOST, 0), af=socket.AF_INET6)
596 self.server = DummyTLS_FTPServer((HOST, 0))
609 self.server = DummyTLS_FTPServer((HOST, 0))
729 ftp = ftplib.FTP(HOST, timeout=30)
736 ftp.connect(HOST, timeout=30)
743 ftp.connect(HOST)
751 ftp.connect(HOST)
761 DummyFTPServer((HOST,
[all...]
H A Dtest_asynchat.py12 HOST = test_support.HOST variable
68 self.connect((HOST, server_port))
H A Dtest_asyncore.py21 HOST = test_support.HOST variable
373 d.connect((HOST, port))
474 def __init__(self, handler=BaseTestHandler, host=HOST, port=0):
541 self.bind((HOST, 0))
680 s1.bind((HOST, 0))
687 self.assertRaises(socket.error, s2.bind, (HOST, port))
H A Dtest_ssl.py25 HOST = test_support.HOST variable
777 (HOST, 0), self.RootedHTTPRequestHandler, certfile)
811 s.connect((HOST, server.port))
847 s.connect((HOST, server.port))
919 port = test_support.bind_port(s, HOST)
935 c.connect((HOST, port))
975 s.connect((HOST, server.port))
1077 s.connect((HOST, server.port))
1206 s.connect((HOST, serve
[all...]
H A Dtest_imaplib.py143 server, thread = self.make_server((support.HOST, 0), hdlr)
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
293 HOST = 'localhost' variable
355 def bind_port(sock, host=HOST):
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_telnetlib.py11 HOST = test_support.HOST variable
60 telnet = telnetlib.Telnet(HOST, self.port)
67 telnet = telnetlib.Telnet(HOST, self.port)
78 telnet = telnetlib.Telnet(HOST, self.port, timeout=None)
85 telnet = telnetlib.Telnet(HOST, self.port, timeout=30)
91 telnet.open(HOST, self.port, timeout=30)
124 telnet = telnetlib.Telnet(HOST, self.port)
133 telnet = telnetlib.Telnet(HOST, self.port)
143 telnet = telnetlib.Telnet(HOST, sel
[all...]
H A Dtest_smtplib.py19 HOST = test_support.HOST variable
65 smtp = smtplib.SMTP(HOST, self.port)
70 smtp = smtplib.SMTP("%s:%s" % (HOST, self.port))
75 smtp = smtplib.SMTP(HOST, self.port, local_hostname="testhost")
83 smtp = smtplib.SMTP(HOST, self.port)
93 smtp = smtplib.SMTP(HOST, self.port, timeout=None)
100 smtp = smtplib.SMTP(HOST, self.port, timeout=30)
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
182 smtp = smtplib.SMTP(HOST, sel
[all...]
H A Dtest_socket.py33 HOST = test_support.HOST variable
44 HOST = test_support.HOST variable
214 self.cli.connect((HOST, self.port))
638 for info in socket.getaddrinfo(HOST, None):
649 socket.getaddrinfo(HOST, "http")
650 socket.getaddrinfo(HOST, 80)
651 socket.getaddrinfo(HOST, 80L)
652 socket.getaddrinfo(HOST, Non
[all...]
H A Dtest_poplib.py16 from test.test_support import HOST namespace
163 self.server = DummyPOP3Server((HOST, 0))
270 self.server = DummyPOP3Server((HOST, 0))
311 pop = poplib.POP3(HOST, self.port)
321 pop = poplib.POP3(HOST, self.port, timeout=None)
328 pop = poplib.POP3(HOST, self.port, timeout=30)
H A Dtest_httplib.py13 HOST = test_support.HOST variable
435 self.conn = httplib.HTTPConnection(HOST, self.port,
443 self.conn = httplib.HTTPSConnection(HOST, self.port,
470 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT)
481 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT,
490 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT, timeout=30)
502 h = httplib.HTTPSConnection(HOST, TimeoutTest.PORT, timeout=30)
H A Dtest_socketserver.py27 HOST = test.test_support.HOST variable
91 return (HOST, 0)
297 s = MyServer((HOST, 0), MyHandler)
H A Dtest_ftplib.py20 from test.test_support import HOST namespace
404 self.server = DummyFTPServer((HOST, 0))
557 self.server = DummyFTPServer((HOST, 0), af=socket.AF_INET6)
596 self.server = DummyTLS_FTPServer((HOST, 0))
609 self.server = DummyTLS_FTPServer((HOST, 0))
729 ftp = ftplib.FTP(HOST, timeout=30)
736 ftp.connect(HOST, timeout=30)
743 ftp.connect(HOST)
751 ftp.connect(HOST)
761 DummyFTPServer((HOST,
[all...]
H A Dtest_asynchat.py12 HOST = test_support.HOST variable
68 self.connect((HOST, server_port))
H A Dtest_asyncore.py21 HOST = test_support.HOST variable
373 d.connect((HOST, port))
474 def __init__(self, handler=BaseTestHandler, host=HOST, port=0):
541 self.bind((HOST, 0))
680 s1.bind((HOST, 0))
687 self.assertRaises(socket.error, s2.bind, (HOST, port))
H A Dtest_ssl.py25 HOST = test_support.HOST variable
777 (HOST, 0), self.RootedHTTPRequestHandler, certfile)
811 s.connect((HOST, server.port))
847 s.connect((HOST, server.port))
919 port = test_support.bind_port(s, HOST)
935 c.connect((HOST, port))
975 s.connect((HOST, server.port))
1077 s.connect((HOST, server.port))
1206 s.connect((HOST, serve
[all...]
H A Dtest_imaplib.py143 server, thread = self.make_server((support.HOST, 0), hdlr)
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
293 HOST = 'localhost' variable
355 def bind_port(sock, host=HOST):
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
H A DPyShell.py41 HOST = '127.0.0.1' # python execution server on localhost loopback variable
405 addr = (HOST, self.port)

Completed in 358 milliseconds

123