Searched refs:bind_port (Results 1 – 25 of 31) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_timeout.py | 245 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)
|
D | test_asynchat.py | 35 self.port = support.bind_port(self.sock)
|
D | test_support.py | 100 support.bind_port(s)
|
D | test_telnetlib.py | 29 self.port = support.bind_port(self.sock)
|
D | test_ssl.py | 843 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)
|
D | test_poplib.py | 456 self.port = test_support.bind_port(self.sock)
|
D | test_asyncore.py | 335 port = support.bind_port(sock)
|
D | test_httplib.py | 1383 self.port = support.bind_port(self.serv) 1416 TimeoutTest.PORT = support.bind_port(self.serv)
|
/external/python/cpython2/Lib/test/ |
D | test_timeout.py | 152 test_support.bind_port(self.sock, self.localhost) 170 test_support.bind_port(self.sock, self.localhost)
|
D | test_nntplib.py | 40 self.port = test_support.bind_port(self.sock)
|
D | test_smtplib.py | 51 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)
|
D | test_telnetlib.py | 49 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)
|
D | test_asynchat.py | 29 self.port = test_support.bind_port(self.sock)
|
D | test_poplib.py | 292 self.port = test_support.bind_port(self.sock)
|
D | test_httplib.py | 717 self.port = test_support.bind_port(self.serv) 769 TimeoutTest.PORT = test_support.bind_port(self.serv)
|
D | test_support.py | 487 port = bind_port(tempsock) 492 def bind_port(sock, host=HOST): function
|
D | test_ssl.py | 1814 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)
|
D | test_asyncore.py | 358 port = test_support.bind_port(sock)
|
D | test_socket.py | 54 self.port = test_support.bind_port(self.serv) 65 self.port = test_support.bind_port(self.serv)
|
D | test_ftplib.py | 766 self.port = test_support.bind_port(self.sock)
|
/external/libevent/ |
D | http-internal.h | 65 ev_uint16_t bind_port; /* local port for binding the src */ member
|
D | http.c | 1278 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/ |
D | tcp.c | 219 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/ |
D | test.rst | 517 .. 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__.py | 670 port = bind_port(tempsock) 675 def bind_port(sock, host=HOST): function
|
12