/libuv/test/ |
H A D | test-multiple-listen.c | 40 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 D | test-emfile.c | 31 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 D | test-pipe-pending-instances.c | 27 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 D | blackhole-server.c | 35 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 D | test-tcp-write-to-half-open-connection.c | 29 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 D | test-tcp-try-write-error.c | 62 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 D | test-tcp-try-write.c | 89 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 D | test-tcp-alloc-cb-fail.c | 77 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 D | test-tcp-close.c | 74 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 D | test-tcp-unexpected-read.c | 74 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 D | test-tcp-write-queue-order.c | 86 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 D | test-tcp-oob.c | 83 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 D | test-tcp-write-in-a-row.c | 95 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 D | test-delayed-accept.c | 78 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 D | test-pipe-connect-multiple.c | 44 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 D | test-tcp-close-accept.c | 117 static void connection_cb(uv_stream_t* server, int status) { in connection_cb() function 171 connection_cb)); in TEST_IMPL()
|
H A D | test-poll-oob.c | 135 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 D | benchmark-pump.c | 277 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 D | test-tcp-close-reset.c | 160 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 D | tcp.c | 557 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 D | pipe.c | 1208 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 D | unix.h | 291 uv_connection_cb connection_cb; \
|
H A D | win.h | 434 uv_connection_cb connection_cb;
|
/libuv/src/unix/ |
H A D | pipe.c | 170 handle->connection_cb = cb; in uv__pipe_listen()
|
H A D | tcp.c | 443 tcp->connection_cb = cb; in uv__tcp_listen()
|