/libuv/test/ |
H A D | test-pipe-connect-error.c | 45 static void connect_cb(uv_connect_t* connect_req, int status) { in connect_cb() argument 47 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_cb() 52 static void connect_cb_file(uv_connect_t* connect_req, int status) { in connect_cb_file() argument 56 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_cb_file()
|
H A D | test-tcp-connect-timeout.c | 31 static uv_connect_t connect_req; variable 41 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 78 r = uv_tcp_connect(&connect_req, in TEST_IMPL() 98 ASSERT_PTR_EQ(req, &connect_req); in connect_local_cb() 145 r = uv_tcp_connect(&connect_req, in TEST_IMPL() 183 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-multiple-listen.c | 78 uv_connect_t* connect_req = malloc(sizeof *connect_req); in client_connect() local 82 ASSERT_NOT_NULL(connect_req); in client_connect() 87 r = uv_tcp_connect(connect_req, in client_connect()
|
H A D | test-shutdown-close.c | 32 static uv_connect_t connect_req; variable 54 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 75 r = uv_tcp_connect(&connect_req, in TEST_IMPL() 98 uv_pipe_connect(&connect_req, &h, TEST_PIPENAME, connect_cb); in TEST_IMPL()
|
H A D | test-pipe-server-close.c | 31 static uv_connect_t connect_req; variable 45 ASSERT_PTR_EQ(req, &connect_req); in pipe_client_connect_cb() 85 uv_pipe_connect(&connect_req, &pipe_client, TEST_PIPENAME, pipe_client_connect_cb); in TEST_IMPL()
|
H A D | test-tcp-write-fail.c | 35 static uv_connect_t connect_req; variable 76 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 101 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-tcp-rst.c | 26 static uv_connect_t connect_req; variable 62 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 93 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-delayed-accept.c | 155 uv_connect_t* connect_req = malloc(sizeof *connect_req); in client_connect() local 160 ASSERT_NOT_NULL(connect_req); in client_connect() 165 r = uv_tcp_connect(connect_req, in client_connect()
|
H A D | test-shutdown-simultaneous.c | 28 static uv_connect_t connect_req; variable 83 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 120 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-ref.c | 31 static uv_connect_t connect_req; variable 86 ASSERT_PTR_EQ(req, &connect_req); in connect_and_write() 95 ASSERT_PTR_EQ(req, &connect_req); in connect_and_shutdown() 264 uv_tcp_connect(&connect_req, in TEST_IMPL() 283 uv_tcp_connect(&connect_req, in TEST_IMPL() 374 uv_pipe_connect(&connect_req, &h, TEST_PIPENAME, connect_and_shutdown); in TEST_IMPL() 388 uv_pipe_connect(&connect_req, &h, TEST_PIPENAME, connect_and_write); in TEST_IMPL()
|
H A D | test-not-writable-after-shutdown.c | 50 uv_connect_t connect_req; in TEST_IMPL() local 58 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-tcp-write-to-half-open-connection.c | 38 static uv_connect_t connect_req; variable 91 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 127 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | benchmark-multi-accept.c | 60 uv_connect_t connect_req; member 78 uv_connect_t connect_req; member 155 ctx = container_of(req, struct ipc_client_ctx, connect_req); in ipc_connect_cb() 249 uv_pipe_connect(&ctx.connect_req, in get_listen_handle() 331 struct client_ctx* ctx = container_of(req, struct client_ctx, connect_req); in cl_connect_cb() 355 ASSERT_OK(uv_tcp_connect(&ctx->connect_req, in cl_close_cb() 396 ASSERT_OK(uv_tcp_connect(&ctx->connect_req, in test_tcp()
|
H A D | test-pipe-getsockname.c | 36 static uv_connect_t connect_req; variable 54 ASSERT_PTR_EQ(req, &connect_req); in pipe_client_connect_cb() 185 r = uv_pipe_connect2(&connect_req, in TEST_IMPL() 233 ASSERT_OK(uv_pipe_connect2(&connect_req, in TEST_IMPL() 250 ASSERT_EQ(UV_EINVAL, uv_pipe_connect2(&connect_req, in TEST_IMPL() 279 ASSERT_OK(uv_pipe_connect2(&connect_req, &pipe_client, in TEST_IMPL()
|
H A D | test-tcp-read-stop.c | 62 uv_connect_t connect_req; in TEST_IMPL() local 68 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-tcp-writealot.c | 48 static uv_connect_t connect_req; variable 118 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 165 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-shutdown-twice.c | 64 uv_connect_t connect_req; in TEST_IMPL() local 72 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-tcp-connect-error-after-write.c | 63 uv_connect_t connect_req; in TEST_IMPL() 79 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-shutdown-eof.c | 29 static uv_connect_t connect_req; variable 89 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 169 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-tcp-close-while-connecting.c | 66 uv_connect_t connect_req; in TEST_IMPL() local 74 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-pipe-connect-multiple.c | 63 static void connect_cb(uv_connect_t* connect_req, int status) { in connect_cb() argument 67 uv_stop(connect_req->handle->loop); in connect_cb() 129 static void connect_cb2(uv_connect_t* connect_req, int status) { in connect_cb2() argument
|
H A D | test-tcp-open.c | 38 static uv_connect_t connect_req; variable 190 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 214 ASSERT_PTR_EQ(req, &connect_req); in connect1_cb() 253 r = uv_tcp_connect(&connect_req, in TEST_IMPL() 391 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-not-readable-nor-writable-on-read-error.c | 27 static uv_connect_t connect_req; variable 90 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-emfile.c | 43 uv_connect_t connect_req; in TEST_IMPL() local 90 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
|
H A D | test-readable-on-eof.c | 27 static uv_connect_t connect_req; variable 96 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
|