Lines Matching defs:host
68 """Check whether CAN sockets are supported on this host."""
78 """Check whether CAN ISOTP sockets are supported on this host."""
88 """Check whether CAN J1939 sockets are supported on this host."""
98 """Check whether RDS sockets are supported on this host."""
108 """Check whether AF_ALG sockets are supported on this host."""
118 """Check whether AF_QIPCRTR sockets are supported on this host."""
128 """Check whether AF_VSOCK sockets are supported on this host."""
134 """Check whether AF_BLUETOOTH sockets are supported on this host."""
709 host = HOST
716 socket_helper.bind_port(sock, host=self.host)
747 host = socket_helper.HOSTv6
1011 self.assertTrue(ip.find('.') >= 0, "Error resolving host to ip.")
1020 self.fail("Error testing host resolution mechanisms. (fqdn: %s, all: %s)" % (fqhn, repr(all_host_names)))
1028 for host in [socket_helper.HOSTv4]:
1029 self.assertIn(host, socket.gethostbyaddr(host)[2])
1409 # it reasonable to get the host's addr in addition to 0.0.0.0.
1525 # host can be a domain name, a string representation of an
1561 b = socket.getaddrinfo(host=HOST, port=None)
1577 b = socket.getaddrinfo(host=None, port=0, family=socket.AF_UNSPEC,
2390 socket_helper.bind_port(s, host=s.getsockname()[0])
2395 self.assertRaises(OSError, socket_helper.bind_port, s, host=-2)