Home
last modified time | relevance | path

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

12

/third_party/libuv/test/
Dtest-tcp-connect-timeout.c31 static uv_connect_t connect_req; variable
41 ASSERT(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()
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
54 uv_close((uv_handle_t*)connect_req->handle, close_cb); in connect_cb_file()
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()
Dtest-shutdown-close.c32 static uv_connect_t connect_req; variable
54 ASSERT(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()
Dtest-pipe-server-close.c31 static uv_connect_t connect_req; variable
45 ASSERT(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()
Dtest-ref.c31 static uv_connect_t connect_req; variable
86 ASSERT(req == &connect_req); in connect_and_write()
95 ASSERT(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()
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()
Dtest-tcp-write-fail.c35 static uv_connect_t connect_req; variable
76 ASSERT(req == &connect_req); in connect_cb()
101 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
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(0 == uv_tcp_connect(&ctx->connect_req, in cl_close_cb()
396 ASSERT(0 == uv_tcp_connect(&ctx->connect_req, in test_tcp()
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()
Dtest-tcp-write-to-half-open-connection.c38 static uv_connect_t connect_req; variable
91 ASSERT(req == &connect_req); in connect_cb()
127 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-tcp-open.c38 static uv_connect_t connect_req; variable
190 ASSERT(req == &connect_req); in connect_cb()
214 ASSERT(req == &connect_req); in connect1_cb()
253 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
385 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-tcp-writealot.c48 static uv_connect_t connect_req; variable
118 ASSERT(req == &connect_req); in connect_cb()
160 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-shutdown-eof.c29 static uv_connect_t connect_req; variable
89 ASSERT(req == &connect_req); in connect_cb()
169 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
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()
Dtest-tcp-read-stop.c62 uv_connect_t connect_req; in TEST_IMPL() local
68 ASSERT(0 == uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-shutdown-twice.c64 uv_connect_t connect_req; in TEST_IMPL() local
72 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-tcp-connect-error-after-write.c58 uv_connect_t connect_req; in TEST_IMPL() local
80 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
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()
Dtest-not-readable-nor-writable-on-read-error.c27 static uv_connect_t connect_req; variable
90 ASSERT(0 == uv_tcp_connect(&connect_req, in TEST_IMPL()
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()
Dtest-emfile.c43 uv_connect_t connect_req; in TEST_IMPL() local
82 ASSERT(0 == uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-tcp-try-write-error.c86 uv_connect_t connect_req; in TEST_IMPL() local
94 ASSERT(0 == uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-readable-on-eof.c27 static uv_connect_t connect_req; variable
96 ASSERT_EQ(uv_tcp_connect(&connect_req, in TEST_IMPL()
Dtest-tcp-close.c31 static uv_connect_t connect_req; variable
117 r = uv_tcp_connect(&connect_req, in TEST_IMPL()

12