/third_party/libuv/test/ |
D | test-pipe-bind-error.c | 58 r = uv_listen((uv_stream_t*)&server1, SOMAXCONN, NULL); in TEST_IMPL() 60 r = uv_listen((uv_stream_t*)&server2, SOMAXCONN, NULL); in TEST_IMPL() 128 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
|
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()
|
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()
|
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()
|
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()
|
D | echo-server.c | 272 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp4_echo_start() 307 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp6_echo_start() 374 r = uv_listen((uv_stream_t*)&pipeServer, SOMAXCONN, on_connection); in pipe_echo_start()
|
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()
|
D | test-pipe-pending-instances.c | 49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
|
D | test-pipe-server-close.c | 79 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL()
|
D | test-emfile.c | 66 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL()
|
D | test-pipe-connect-multiple.c | 88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL()
|
D | test-tcp-try-write-error.c | 81 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
D | benchmark-pump.c | 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()
|
D | test-tcp-alloc-cb-fail.c | 97 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
D | test-tcp-try-write.c | 107 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
D | test-tcp-close.c | 91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
|
D | test-tcp-unexpected-read.c | 102 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|
D | blackhole-server.c | 114 r = uv_listen((uv_stream_t*)&tcp_server, 128, connection_cb); in HELPER_IMPL()
|
D | test-tcp-write-queue-order.c | 106 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
|
D | test-tcp-oob.c | 125 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
|
D | test-tcp-read-stop-start.c | 116 ASSERT(0 == uv_listen((uv_stream_t*)&server, 10, on_connection)); in TEST_IMPL()
|
/third_party/libuv/docs/src/guide/ |
D | networking.rst | 31 3. Call ``uv_listen`` on the handle to have a callback invoked whenever a new 55 ``uv_listen`` is where we return to libuv's callback style. The second 71 required. This can be done even in the ``uv_listen`` callback if you are not 79 callback of ``uv_listen`` is used by ``uv_tcp_connect``. Try::
|
/third_party/libuv/docs/code/cgi/ |
D | main.c | 75 int r = uv_listen((uv_stream_t*) &server, 128, on_new_connection); in main()
|
/third_party/libuv/docs/code/tcp-echo-server/ |
D | main.c | 81 int r = uv_listen((uv_stream_t*) &server, DEFAULT_BACKLOG, on_new_connection); in main()
|
/third_party/libuv/docs/code/pipe-echo-server/ |
D | main.c | 89 if ((r = uv_listen((uv_stream_t*) &server, 128, on_new_connection))) { in main()
|