Home
last modified time | relevance | path

Searched refs:connection_cb (Results 1 – 25 of 26) sorted by relevance

12

/libuv/test/
H A Dtest-multiple-listen.c40 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
59 r = uv_listen((uv_stream_t*)&server, 128, connection_cb); in start_server()
62 r = uv_listen((uv_stream_t*)&server, 128, connection_cb); in start_server()
H A Dtest-emfile.c31 static void connection_cb(uv_stream_t* server_handle, int status);
66 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL()
110 static void connection_cb(uv_stream_t* server_handle, int status) { in connection_cb() function
H A Dtest-pipe-pending-instances.c27 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
H A Dblackhole-server.c35 static void connection_cb(uv_stream_t* stream, int status);
42 static void connection_cb(uv_stream_t* stream, int status) { in connection_cb() function
114 r = uv_listen((uv_stream_t*)&tcp_server, 128, connection_cb); in HELPER_IMPL()
H A Dtest-tcp-write-to-half-open-connection.c29 static void connection_cb(uv_stream_t* server, int status);
44 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
121 r = uv_listen((uv_stream_t*)&tcp_server, 1, connection_cb); in TEST_IMPL()
H A Dtest-tcp-try-write-error.c62 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
81 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-try-write.c89 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
107 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-alloc-cb-fail.c77 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
97 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-close.c74 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
H A Dtest-tcp-unexpected-read.c74 static void connection_cb(uv_stream_t* handle, int status) { in connection_cb() function
102 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
H A Dtest-tcp-write-queue-order.c86 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
106 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-oob.c83 static void connection_cb(uv_stream_t* handle, int status) { in connection_cb() function
125 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
H A Dtest-tcp-write-in-a-row.c95 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
111 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-delayed-accept.c78 static void connection_cb(uv_stream_t* tcp, int status) { in connection_cb() function
113 r = uv_listen((uv_stream_t*)server, 128, connection_cb); in start_server()
H A Dtest-pipe-connect-multiple.c44 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL()
H A Dtest-tcp-close-accept.c117 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
171 connection_cb)); in TEST_IMPL()
H A Dtest-poll-oob.c135 static void connection_cb(uv_stream_t* handle, int status) { in connection_cb() function
180 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
H A Dbenchmark-pump.c277 static void connection_cb(uv_stream_t* s, int status) { in connection_cb() function
390 r = uv_listen((uv_stream_t*)&tcpServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()
412 r = uv_listen((uv_stream_t*)&pipeServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()
H A Dtest-tcp-close-reset.c160 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function
182 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
/libuv/src/win/
H A Dtcp.c557 handle->stream.serv.connection_cb = cb; in uv__tcp_listen()
592 handle->stream.serv.connection_cb = cb; in uv__tcp_listen()
1172 if (handle->stream.serv.connection_cb) { in uv__process_tcp_accept_req()
1174 handle->stream.serv.connection_cb((uv_stream_t*)handle, in uv__process_tcp_accept_req()
1188 if (handle->stream.serv.connection_cb) { in uv__process_tcp_accept_req()
1189 handle->stream.serv.connection_cb((uv_stream_t*)handle, 0); in uv__process_tcp_accept_req()
H A Dpipe.c1208 handle->stream.serv.connection_cb = cb; in uv__pipe_listen()
1229 handle->stream.serv.connection_cb = cb; in uv__pipe_listen()
2244 if (handle->stream.serv.connection_cb) { in uv__process_pipe_accept_req()
2245 handle->stream.serv.connection_cb((uv_stream_t*)handle, 0); in uv__process_pipe_accept_req()
/libuv/include/uv/
H A Dunix.h291 uv_connection_cb connection_cb; \
H A Dwin.h434 uv_connection_cb connection_cb;
/libuv/src/unix/
H A Dpipe.c170 handle->connection_cb = cb; in uv__pipe_listen()
H A Dtcp.c443 tcp->connection_cb = cb; in uv__tcp_listen()

Completed in 73 milliseconds

12