/libuv/test/ |
H A D | test-pipe-bind-error.c | 59 r = uv_listen((uv_stream_t*)&server1, SOMAXCONN, NULL); in TEST_IMPL() 61 r = uv_listen((uv_stream_t*)&server2, SOMAXCONN, NULL); in TEST_IMPL() 129 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL() 150 ASSERT_EQ(uv_listen((uv_stream_t*) &server, SOMAXCONN, NULL), UV_EINVAL); in TEST_IMPL()
|
H A D | test-tcp-bind-error.c | 96 r = uv_listen((uv_stream_t*)&server1, 128, NULL); in TEST_IMPL() 98 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL() 254 r = uv_listen((uv_stream_t*)&server, 128, NULL); in TEST_IMPL() 275 r = uv_listen((uv_stream_t*)&server, 128, NULL); in TEST_IMPL() 313 ASSERT_EQ(uv_listen((uv_stream_t*) &tcp, 5, NULL), UV_EINVAL); in TEST_IMPL()
|
H A D | test-multiple-listen.c | 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-ipc.c | 187 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read() 256 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read_listen_after_bound_twice() 267 r = uv_listen((uv_stream_t*)&tcp_server2, BACKLOG, on_connection); in on_read_listen_after_bound_twice() 488 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL() 513 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL() 703 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper() 713 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper() 755 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection_tcp_conn); in ipc_helper_tcp_connection()
|
H A D | test-tcp-bind6-error.c | 57 r = uv_listen((uv_stream_t*)&server1, 128, NULL); in TEST_IMPL() 59 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL()
|
H A D | test-pipe-connect-multiple.c | 88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL() 154 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb2); in TEST_IMPL()
|
H A D | test-pipe-pending-instances.c | 49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
|
H A D | echo-server.c | 274 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp4_echo_start() 309 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp6_echo_start() 376 r = uv_listen((uv_stream_t*)&pipeServer, SOMAXCONN, on_connection); in pipe_echo_start()
|
H A D | test-pipe-getsockname.c | 180 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL() 238 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, in TEST_IMPL() 285 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, 0, in TEST_IMPL()
|
H A D | test-pipe-server-close.c | 79 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL()
|
H A D | test-ref.c | 237 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL() 249 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL() 362 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL()
|
H A D | test-emfile.c | 66 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL()
|
H A D | test-tcp-try-write-error.c | 81 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
H A D | test-tcp-try-write.c | 107 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
H A D | test-tcp-alloc-cb-fail.c | 97 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
H A D | test-tcp-close.c | 91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
|
H A D | test-tcp-unexpected-read.c | 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 | 106 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
H A D | blackhole-server.c | 114 r = uv_listen((uv_stream_t*)&tcp_server, 128, connection_cb); in HELPER_IMPL()
|
H A D | test-tcp-oob.c | 125 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|
H A D | test-tcp-read-stop-start.c | 116 ASSERT_OK(uv_listen((uv_stream_t*)&server, 10, on_connection)); in TEST_IMPL()
|
H A D | test-tcp-write-in-a-row.c | 111 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
/libuv/docs/code/cgi/ |
H A D | main.c | 75 int r = uv_listen((uv_stream_t*) &server, 128, on_new_connection); in main()
|
/libuv/docs/code/pipe-echo-server/ |
H A D | main.c | 89 if ((r = uv_listen((uv_stream_t*) &server, 128, on_new_connection))) { in main()
|
/libuv/docs/code/tcp-echo-server/ |
H A D | main.c | 81 int r = uv_listen((uv_stream_t*) &server, DEFAULT_BACKLOG, on_new_connection); in main()
|