| /src/external/mit/libuv/dist/test/ |
| 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_OK(uv_tcp_init(loop, &server_handle)); 65 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); 66 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); 110 static void connection_cb(uv_stream_t* server_handle, int status) { 121 uv_close((uv_handle_t*) &server_handle, NULL);
|
| test-pipe-connect-multiple.c | 39 static uv_pipe_t server_handle; variable 82 r = uv_pipe_init(loop, &server_handle, 0); 85 r = uv_pipe_bind(&server_handle, TEST_PIPENAME); 88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); 125 uv_close((uv_handle_t*)&server_handle, NULL); 133 uv_close((uv_handle_t*)&server_handle, NULL); 148 r = uv_pipe_init(loop, &server_handle, 0); 151 r = uv_pipe_bind(&server_handle, TEST_PIPENAME); 154 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb2);
|
| test-tcp-oob.c | 31 static uv_tcp_t server_handle; variable 51 uv_close((uv_handle_t*) &server_handle, NULL); 120 ASSERT_OK(uv_tcp_init(loop, &server_handle)); 124 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); 125 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb));
|
| test-tcp-unexpected-read.c | 27 static uv_tcp_t server_handle; variable 44 uv_close((uv_handle_t*) &server_handle, NULL); 98 ASSERT_OK(uv_tcp_init(loop, &server_handle)); 101 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); 102 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb));
|
| test-poll-oob.c | 33 static uv_tcp_t server_handle; variable 62 uv_close((uv_handle_t*) &server_handle, NULL); 175 ASSERT_OK(uv_tcp_init(loop, &server_handle)); 179 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); 180 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb));
|
| benchmark-multi-accept.c | 49 handle_storage_t server_handle; member in struct:ipc_server_ctx 61 uv_stream_t* server_handle; member in struct:ipc_client_ctx 68 handle_storage_t server_handle; member in struct:server_ctx 94 static void sv_connection_cb(uv_stream_t* server_handle, int status); 131 (uv_stream_t*) &sc->server_handle, 188 ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) ctx->server_handle)); 190 ASSERT(0 == uv_pipe_init(loop, (uv_pipe_t*) ctx->server_handle, 0)); 194 ASSERT(0 == uv_accept(handle, ctx->server_handle)); 214 ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) &ctx.server_handle)); 215 ASSERT(0 == uv_tcp_bind((uv_tcp_t*) &ctx.server_handle, [all...] |
| /src/usr.sbin/btpand/ |
| server.c | 47 static uint32_t server_handle; variable 287 if (server_handle == 0) 289 &server_handle, &server_record); 291 rv = sdp_record_update(server_ss, server_handle,
|
| /src/crypto/external/bsd/heimdal/dist/kadmin/ |
| rpc.c | 755 void *server_handle = NULL; local 923 INSIST(server_handle != NULL); 924 (*procs[chdr.proc].func)(server_handle, sp, dreply); 990 &server_handle);
|