Searched refs:server_handle (Results 1 – 6 of 6) sorted by relevance
/third_party/libuv/test/ |
D | benchmark-multi-accept.c | 49 handle_storage_t server_handle; member 61 uv_stream_t* server_handle; member 68 handle_storage_t server_handle; member 94 static void sv_connection_cb(uv_stream_t* server_handle, int status); 131 (uv_stream_t*) &sc->server_handle, in ipc_connection_cb() 188 ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) ctx->server_handle)); in ipc_read_cb() 190 ASSERT(0 == uv_pipe_init(loop, (uv_pipe_t*) ctx->server_handle, 0)); in ipc_read_cb() 194 ASSERT(0 == uv_accept(handle, ctx->server_handle)); in ipc_read_cb() 214 ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) &ctx.server_handle)); in send_listen_handles() 215 ASSERT(0 == uv_tcp_bind((uv_tcp_t*) &ctx.server_handle, in send_listen_handles() [all …]
|
D | test-emfile.c | 31 static void connection_cb(uv_stream_t* server_handle, int status); 36 static uv_tcp_t server_handle; variable 63 ASSERT(0 == uv_tcp_init(loop, &server_handle)); in TEST_IMPL() 65 ASSERT(0 == uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL() 66 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL() 102 static void connection_cb(uv_stream_t* server_handle, int status) { in connection_cb() argument 113 uv_close((uv_handle_t*) &server_handle, NULL); in connect_cb()
|
D | test-tcp-unexpected-read.c | 27 static uv_tcp_t server_handle; variable 44 uv_close((uv_handle_t*) &server_handle, NULL); in timer_cb() 98 ASSERT(0 == uv_tcp_init(loop, &server_handle)); in TEST_IMPL() 101 ASSERT(0 == uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL() 102 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|
D | test-tcp-oob.c | 31 static uv_tcp_t server_handle; variable 51 uv_close((uv_handle_t*) &server_handle, NULL); in idle_cb() 120 ASSERT(0 == uv_tcp_init(loop, &server_handle)); in TEST_IMPL() 124 ASSERT(0 == uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL() 125 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|
D | test-pipe-connect-multiple.c | 39 static uv_pipe_t server_handle; variable 82 r = uv_pipe_init(loop, &server_handle, 0); in TEST_IMPL() 85 r = uv_pipe_bind(&server_handle, TEST_PIPENAME); in TEST_IMPL() 88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL()
|
D | test-poll-oob.c | 33 static uv_tcp_t server_handle; variable 62 uv_close((uv_handle_t*) &server_handle, NULL); in idle_cb() 171 ASSERT(0 == uv_tcp_init(loop, &server_handle)); in TEST_IMPL() 175 ASSERT(0 == uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL() 176 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|