Home
last modified time | relevance | path

Searched refs:connect_req (Results 1 – 25 of 51) sorted by relevance

123

/libuv/test/
H A Dtest-pipe-connect-error.c45 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 Dtest-tcp-connect-timeout.c31 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 Dtest-multiple-listen.c78 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 Dtest-shutdown-close.c32 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 Dtest-pipe-server-close.c31 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 Dtest-tcp-write-fail.c35 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 Dtest-tcp-rst.c26 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 Dtest-delayed-accept.c155 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 Dtest-shutdown-simultaneous.c28 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 Dtest-ref.c31 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 Dtest-not-writable-after-shutdown.c50 uv_connect_t connect_req; in TEST_IMPL() local
58 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-tcp-write-to-half-open-connection.c38 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 Dbenchmark-multi-accept.c60 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 Dtest-pipe-getsockname.c36 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 Dtest-tcp-read-stop.c62 uv_connect_t connect_req; in TEST_IMPL() local
68 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-tcp-writealot.c48 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 Dtest-shutdown-twice.c64 uv_connect_t connect_req; in TEST_IMPL() local
72 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-tcp-connect-error-after-write.c63 uv_connect_t connect_req; in TEST_IMPL()
79 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-shutdown-eof.c29 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 Dtest-tcp-close-while-connecting.c66 uv_connect_t connect_req; in TEST_IMPL() local
74 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-pipe-connect-multiple.c63 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 Dtest-tcp-open.c38 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 Dtest-not-readable-nor-writable-on-read-error.c27 static uv_connect_t connect_req; variable
90 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-emfile.c43 uv_connect_t connect_req; in TEST_IMPL() local
90 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
H A Dtest-readable-on-eof.c27 static uv_connect_t connect_req; variable
96 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()

Completed in 23 milliseconds

123