/libuv/test/ |
H A D | test-ip4-addr.c | 38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 39 ASSERT_OK(uv_ip4_addr("255.255.255.255", TEST_PORT, &addr)); in TEST_IMPL() 40 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255.255.255*000", TEST_PORT, &addr)); in TEST_IMPL() 41 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255.255.255.256", TEST_PORT, &addr)); in TEST_IMPL() 42 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("2555.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 43 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-bind-error.c | 57 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 60 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT + 1, &addr)); in TEST_IMPL() 85 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 118 ASSERT_OK(uv_ip4_addr("127.255.255.255", TEST_PORT, &addr)); in TEST_IMPL() 143 ASSERT_OK(uv_ip4_addr("4.4.4.4", TEST_PORT, &addr)); in TEST_IMPL() 193 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr1)); in TEST_IMPL() 219 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 236 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 270 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-bind6-error.c | 45 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr)); in TEST_IMPL() 82 ASSERT_OK(uv_ip6_addr("4:4:4:4:4:4:4:4", TEST_PORT, &addr)); in TEST_IMPL() 138 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr1)); in TEST_IMPL() 167 ASSERT_OK(uv_ip6_addr("::1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-connect-unspecified.c | 45 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr4)); in TEST_IMPL() 53 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr6)); in TEST_IMPL()
|
H A D | test-udp-connect.c | 110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &lo_addr)); in TEST_IMPL() 127 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL() 137 ASSERT_OK(uv_ip4_addr("8.8.8.8", TEST_PORT, &ext_addr)); in TEST_IMPL() 138 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &lo_addr)); in TEST_IMPL()
|
H A D | test-udp-connect6.c | 113 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &lo_addr)); in TEST_IMPL() 130 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &tmp_addr)); in TEST_IMPL() 140 ASSERT_OK(uv_ip6_addr("2001:4860:4860::8888", TEST_PORT, &ext_addr)); in TEST_IMPL() 141 ASSERT_OK(uv_ip6_addr("::1", TEST_PORT, &lo_addr)); in TEST_IMPL()
|
H A D | test-tcp-create-socket-early.c | 64 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in tcp_listener() 81 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in tcp_connector() 101 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 147 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-ip-name.c | 43 ASSERT_OK(uv_ip4_addr("192.168.0.1", TEST_PORT, addr4)); in TEST_IMPL() 51 ASSERT_OK(uv_ip6_addr("fe80::2acf:daff:fedd:342a", TEST_PORT, addr6)); in TEST_IMPL()
|
H A D | test-udp-bind.c | 36 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 69 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-multiple-listen.c | 51 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 81 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in client_connect()
|
H A D | test-tcp-try-write-error.c | 77 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 91 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-try-write.c | 103 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-alloc-cb-fail.c | 93 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 107 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-try-send.c | 87 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 98 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-close.c | 83 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in start_server() 107 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-write-queue-order.c | 102 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-send-immediate.c | 103 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 114 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-reuseport.c | 38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 137 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in create_listener() 208 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-open.c | 242 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 320 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 341 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 380 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-read-stop-start.c | 110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 122 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-mmsg.c | 113 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 122 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-create-socket-early.c | 41 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL() 87 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-tcp-write-in-a-row.c | 107 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server() 125 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-options.c | 98 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL() 109 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr)); in TEST_IMPL()
|
H A D | test-udp-reuseport.c | 38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr1)); in TEST_IMPL() 168 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in bind_socket_and_prepare_recv() 246 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
|