/third_party/libuv/test/ |
D | test-ip4-addr.c | 38 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()
|
D | test-tcp-bind-error.c | 57 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()
|
D | test-tcp-bind6-error.c | 45 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()
|
D | test-tcp-create-socket-early.c | 64 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()
|
D | test-udp-connect.c | 107 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()
|
D | test-udp-connect6.c | 110 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()
|
D | test-connect-unspecified.c | 45 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()
|
D | test-ip-name.c | 43 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()
|
D | test-multiple-listen.c | 51 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()
|
D | test-udp-bind.c | 36 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()
|
D | test-tcp-open.c | 242 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()
|
D | test-tcp-try-write-error.c | 77 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()
|
D | test-tcp-try-write.c | 103 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()
|
D | test-tcp-alloc-cb-fail.c | 93 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()
|
D | test-udp-try-send.c | 87 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()
|
D | test-tcp-close.c | 83 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()
|
D | test-ref.c | 262 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()
|
D | test-tcp-write-queue-order.c | 102 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()
|
D | test-udp-send-immediate.c | 103 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()
|
D | test-udp-create-socket-early.c | 41 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()
|
D | test-ipc.c | 130 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()
|
D | test-tcp-read-stop-start.c | 110 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()
|
D | test-udp-mmsg.c | 113 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()
|
D | test-udp-options.c | 98 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()
|
D | test-udp-multicast-join.c | 80 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()
|