Home
last modified time | relevance | path

Searched refs:TEST_PORT (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/libuv/test/
Dtest-ip4-addr.c38 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
39 ASSERT(0 == uv_ip4_addr("255.255.255.255", TEST_PORT, &addr)); in TEST_IMPL()
40 ASSERT(UV_EINVAL == uv_ip4_addr("255.255.255*000", TEST_PORT, &addr)); in TEST_IMPL()
41 ASSERT(UV_EINVAL == uv_ip4_addr("255.255.255.256", TEST_PORT, &addr)); in TEST_IMPL()
42 ASSERT(UV_EINVAL == uv_ip4_addr("2555.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
43 ASSERT(UV_EINVAL == uv_ip4_addr("255", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-bind-error.c57 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
60 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT + 1, &addr)); in TEST_IMPL()
85 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
118 ASSERT(0 == uv_ip4_addr("127.255.255.255", TEST_PORT, &addr)); in TEST_IMPL()
143 ASSERT(0 == uv_ip4_addr("4.4.4.4", TEST_PORT, &addr)); in TEST_IMPL()
193 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr1)); in TEST_IMPL()
219 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
236 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
270 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-bind6-error.c45 ASSERT(0 == uv_ip6_addr("::", TEST_PORT, &addr)); in TEST_IMPL()
82 ASSERT(0 == uv_ip6_addr("4:4:4:4:4:4:4:4", TEST_PORT, &addr)); in TEST_IMPL()
138 ASSERT(0 == uv_ip6_addr("::", TEST_PORT, &addr1)); in TEST_IMPL()
167 ASSERT(0 == uv_ip6_addr("::1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-create-socket-early.c64 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in tcp_listener()
81 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in tcp_connector()
101 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
145 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-connect.c107 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &lo_addr)); in TEST_IMPL()
124 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL()
134 ASSERT(0 == uv_ip4_addr("8.8.8.8", TEST_PORT, &ext_addr)); in TEST_IMPL()
135 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &lo_addr)); in TEST_IMPL()
Dtest-udp-connect6.c110 ASSERT_EQ(0, uv_ip6_addr("::", TEST_PORT, &lo_addr)); in TEST_IMPL()
127 ASSERT_EQ(0, uv_ip6_addr("::", TEST_PORT, &tmp_addr)); in TEST_IMPL()
137 ASSERT_EQ(0, uv_ip6_addr("2001:4860:4860::8888", TEST_PORT, &ext_addr)); in TEST_IMPL()
138 ASSERT_EQ(0, uv_ip6_addr("::1", TEST_PORT, &lo_addr)); in TEST_IMPL()
Dtest-connect-unspecified.c45 ASSERT(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr4) == 0); in TEST_IMPL()
53 ASSERT(uv_ip6_addr("::", TEST_PORT, &addr6) == 0); in TEST_IMPL()
Dtest-ip-name.c43 ASSERT_EQ(0, uv_ip4_addr("192.168.0.1", TEST_PORT, addr4)); in TEST_IMPL()
51 ASSERT_EQ(0, uv_ip6_addr("fe80::2acf:daff:fedd:342a", TEST_PORT, addr6)); in TEST_IMPL()
Dtest-multiple-listen.c51 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
81 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in client_connect()
Dtest-udp-bind.c36 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
69 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-open.c242 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
320 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
341 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
374 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-try-write-error.c77 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
91 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-try-write.c103 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
117 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-alloc-cb-fail.c93 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
107 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-try-send.c87 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
98 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-close.c83 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in start_server()
107 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-ref.c262 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
281 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
312 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
330 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-tcp-write-queue-order.c102 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
117 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-send-immediate.c103 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
114 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-create-socket-early.c41 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
85 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-ipc.c130 ASSERT_EQ(0, uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in make_many_connections()
477 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
502 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
685 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in ipc_helper()
750 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in ipc_helper_tcp_connection()
762 ASSERT_EQ(0, uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in ipc_helper_tcp_connection()
790 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in ipc_helper_bind_twice()
Dtest-tcp-read-stop-start.c110 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
122 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-mmsg.c113 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
122 ASSERT_EQ(0, uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-options.c98 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
109 ASSERT(0 == uv_ip6_addr("::", TEST_PORT, &addr)); in TEST_IMPL()
Dtest-udp-multicast-join.c80 ASSERT(0 == uv_ip4_addr(MULTICAST_ADDR, TEST_PORT, &addr)); in do_send()
144 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()

1234