Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_timeout.py244 socket_helper.bind_port(self.sock, self.localhost)
251 socket_helper.bind_port(serv, self.localhost)
260 socket_helper.bind_port(serv, self.localhost)
270 socket_helper.bind_port(serv, self.localhost)
289 socket_helper.bind_port(self.sock, self.localhost)
Dtest_asynchat.py34 self.port = socket_helper.bind_port(self.sock)
Dtest_telnetlib.py30 self.port = socket_helper.bind_port(self.sock)
Dtest_poplib.py491 self.port = socket_helper.bind_port(self.sock)
Dtest_support.py137 socket_helper.bind_port(s)
Dtest_ssl.py1113 port = socket_helper.bind_port(server) # Reserve port but don't listen
2624 self.port = socket_helper.bind_port(self.sock)
2742 self.port = socket_helper.bind_port(sock, '')
3287 port = socket_helper.bind_port(s, HOST)
3773 port = socket_helper.bind_port(server)
3824 port = socket_helper.bind_port(server)
Dtest_asyncore.py338 port = socket_helper.bind_port(sock)
Dtest_socket.py179 self.port = socket_helper.bind_port(self.serv)
190 self.port = socket_helper.bind_port(self.serv)
200 self.port = socket_helper.bind_port(self.serv)
283 self.port = socket_helper.bind_port(self.serv)
716 socket_helper.bind_port(sock, host=self.host)
2321 socket_helper.bind_port(s, host=s.getsockname()[0])
2326 self.assertRaises(OSError, socket_helper.bind_port, s, host=-2)
Dtest_httplib.py1537 self.port = socket_helper.bind_port(self.serv)
1570 TimeoutTest.PORT = socket_helper.bind_port(self.serv)
Dtest_ftplib.py1044 self.port = socket_helper.bind_port(self.sock)
Dtest_nntplib.py1589 port = socket_helper.bind_port(sock)
Dtest_smtplib.py785 self.port = socket_helper.bind_port(self.sock)
/third_party/python/Lib/test/support/
Dsocket_helper.py72 port = bind_port(tempsock)
76 def bind_port(sock, host=HOST): function
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstdynudpsink.c162 sink->bind_port = UDP_DEFAULT_BIND_PORT; in gst_dynudpsink_init()
333 udpsink->bind_port = g_value_get_int (value); in gst_dynudpsink_set_property()
363 g_value_set_int (value, udpsink->bind_port); in gst_dynudpsink_get_property()
454 bind_addr = g_inet_socket_address_new (bind_iaddr, udpsink->bind_port); in gst_dynudpsink_start()
Dgstdynudpsink.h50 gint bind_port; member
Dgstmultiudpsink.h104 gint bind_port; member
Dgstmultiudpsink.c1095 udpsink->bind_port = g_value_get_int (value); in gst_multiudpsink_set_property()
1168 g_value_set_int (value, udpsink->bind_port); in gst_multiudpsink_get_property()
1298 bind_addr = g_inet_socket_address_new (bind_iaddr, sink->bind_port); in gst_multiudpsink_start()
1320 bind_addr = g_inet_socket_address_new (bind_iaddr, sink->bind_port); in gst_multiudpsink_start()
1335 bind_addr = g_inet_socket_address_new (bind_iaddr, sink->bind_port); in gst_multiudpsink_start()
/third_party/python/Doc/library/
Dtest.rst1019 Either this method or :func:`bind_port` should be used for any tests
1025 openssl's s_server mode). Always prefer :func:`bind_port` over
1031 .. function:: bind_port(sock, host=HOST)
/third_party/python/Misc/
DHISTORY3380 - Fix test.support.bind_port() to not cause an error when Python was compiled
14496 - Issue #7728: test_timeout was changed to use support.bind_port instead of a