Home
last modified time | relevance | path

Searched refs:bind_port (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_timeout.py245 support.bind_port(self.sock, self.localhost)
252 support.bind_port(serv, self.localhost)
261 support.bind_port(serv, self.localhost)
271 support.bind_port(serv, self.localhost)
290 support.bind_port(self.sock, self.localhost)
Dtest_asynchat.py35 self.port = support.bind_port(self.sock)
Dtest_support.py100 support.bind_port(s)
Dtest_telnetlib.py29 self.port = support.bind_port(self.sock)
Dtest_ssl.py843 port = support.bind_port(server) # Reserve port but don't listen
2014 self.port = support.bind_port(self.sock)
2122 self.port = support.bind_port(sock, '')
2503 port = support.bind_port(s, HOST)
2977 port = support.bind_port(server)
3031 port = support.bind_port(server)
Dtest_poplib.py456 self.port = test_support.bind_port(self.sock)
Dtest_asyncore.py335 port = support.bind_port(sock)
Dtest_httplib.py1383 self.port = support.bind_port(self.serv)
1416 TimeoutTest.PORT = support.bind_port(self.serv)
/external/python/cpython2/Lib/test/
Dtest_timeout.py152 test_support.bind_port(self.sock, self.localhost)
170 test_support.bind_port(self.sock, self.localhost)
Dtest_nntplib.py40 self.port = test_support.bind_port(self.sock)
Dtest_smtplib.py51 self.port = test_support.bind_port(self.sock)
277 self.port = test_support.bind_port(self.sock)
307 self.port = test_support.bind_port(self.sock)
Dtest_telnetlib.py49 self.port = test_support.bind_port(self.sock)
108 self.port = test_support.bind_port(self.sock)
397 self.port = test_support.bind_port(self.sock)
Dtest_asynchat.py29 self.port = test_support.bind_port(self.sock)
Dtest_poplib.py292 self.port = test_support.bind_port(self.sock)
Dtest_httplib.py717 self.port = test_support.bind_port(self.serv)
769 TimeoutTest.PORT = test_support.bind_port(self.serv)
Dtest_support.py487 port = bind_port(tempsock)
492 def bind_port(sock, host=HOST): function
Dtest_ssl.py1814 self.port = support.bind_port(self.sock)
1919 self.port = support.bind_port(sock, '')
2255 port = support.bind_port(s, HOST)
2686 port = support.bind_port(server)
2740 port = support.bind_port(server)
Dtest_asyncore.py358 port = test_support.bind_port(sock)
Dtest_socket.py54 self.port = test_support.bind_port(self.serv)
65 self.port = test_support.bind_port(self.serv)
Dtest_ftplib.py766 self.port = test_support.bind_port(self.sock)
/external/libevent/
Dhttp-internal.h65 ev_uint16_t bind_port; /* local port for binding the src */ member
Dhttp.c1278 evcon->bind_port = port; in evhttp_connection_set_local_port()
2538 if (evcon->bind_address || evcon->bind_port) { in evhttp_connection_connect_()
2540 evcon->bind_address, evcon->bind_port, 0 /*reuse*/); in evhttp_connection_connect_()
/external/syslinux/gpxe/src/net/
Dtcp.c219 unsigned int bind_port; in tcp_open() local
237 bind_port = ( st_local ? st_local->st_port : 0 ); in tcp_open()
238 if ( ( rc = tcp_bind ( tcp, bind_port ) ) != 0 ) in tcp_open()
/external/python/cpython3/Doc/library/
Dtest.rst517 .. function:: bind_port(sock, host=HOST)
547 Either this method or :func:`bind_port` should be used for any tests
553 openssl's s_server mode). Always prefer :func:`bind_port` over
/external/python/cpython3/Lib/test/support/
D__init__.py670 port = bind_port(tempsock)
675 def bind_port(sock, host=HOST): function

12