/libuv/test/ |
H A D | test-shutdown-simultaneous.c | 86 ASSERT_OK(uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb() 89 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb() 90 ASSERT_EQ(UV_EINVAL, uv_read_start(NULL, alloc_cb, read_cb)); in connect_cb() 91 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb)); in connect_cb() 92 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, alloc_cb, NULL)); in connect_cb()
|
H A D | test-shutdown-eof.c | 92 ASSERT_OK(uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb() 95 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb() 96 ASSERT_EQ(UV_EINVAL, uv_read_start(NULL, alloc_cb, read_cb)); in connect_cb() 97 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb)); in connect_cb() 98 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, alloc_cb, NULL)); in connect_cb()
|
H A D | test-close-fd.c | 73 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL() 77 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
|
H A D | test-iouring-pollhup.c | 70 ASSERT_OK(uv_read_start((uv_stream_t*) &p2, alloc_buffer, read_data2)); in idle_cb() 101 ASSERT_OK(uv_read_start((uv_stream_t*) &p1, alloc_buffer, read_data)); in TEST_IMPL()
|
H A D | test-tcp-read-stop-start.c | 74 ASSERT_OK(uv_read_start(stream, on_alloc, on_read2)); in on_read1() 95 ASSERT_OK(uv_read_start((uv_stream_t*)&connection, on_alloc, on_read1)); in on_connection()
|
H A D | test-osx-select.c | 67 uv_read_start((uv_stream_t*) &tty, alloc_cb, read_cb); in TEST_IMPL() 120 r = uv_read_start((uv_stream_t*) &tty, alloc_cb, read_cb); in TEST_IMPL()
|
H A D | test-ping-pong.c | 208 ASSERT_OK(uv_read_start((uv_stream_t*) req->handle, in pinger_on_connect() 337 ASSERT_OK(uv_read_start((uv_stream_t*) &pinger->stream.tcp, in socketpair_pinger_new() 340 ASSERT_OK(uv_read_start((uv_stream_t*) ponger, in socketpair_pinger_new() 374 ASSERT_OK(uv_read_start((uv_stream_t*) ponger, alloc_cb, pinger_read_cb)); in pipe2_pinger_new()
|
H A D | test-tcp-close-after-read-timeout.c | 50 r = uv_read_start((uv_stream_t*) &client, on_client_alloc, on_client_read); in on_client_connect() 107 r = uv_read_start((uv_stream_t*) &connection, in on_connection()
|
H A D | test-tcp-close-accept.c | 114 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp_check, alloc_cb, read_cb)); in read_cb() 138 ASSERT_OK(uv_read_start((uv_stream_t*) incoming, alloc_cb, read_cb)); in connection_cb()
|
H A D | test-tcp-open.c | 204 r = uv_read_start(stream, alloc_cb, read_cb); in connect_cb() 231 r = uv_read_start(stream, alloc_cb, read1_cb); in connect1_cb() 362 ASSERT_OK(uv_read_start((uv_stream_t*) &client, alloc_cb, read_cb)); in TEST_IMPL()
|
H A D | test-tty-duplicate-key.c | 163 r = uv_read_start((uv_stream_t*)&tty_in, tty_alloc, tty_read); in TEST_IMPL() 217 r = uv_read_start((uv_stream_t*)&tty_in, tty_alloc, tty_read); in TEST_IMPL() 283 r = uv_read_start((uv_stream_t*)&tty_in, tty_alloc, tty_read); in TEST_IMPL()
|
H A D | test-tcp-read-stop.c | 55 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp_handle, in connect_cb()
|
H A D | test-pipe-close-stdout-read-stdin.c | 92 r = uv_read_start((uv_stream_t *)&stdin_pipe, alloc_buffer, read_stdin); in TEST_IMPL()
|
H A D | test-not-readable-nor-writable-on-read-error.c | 70 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in connect_cb()
|
H A D | test-tcp-rst.c | 65 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp, alloc_cb, read_cb)); in connect_cb()
|
H A D | test-stdio-over-pipes.c | 145 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in test_stdio_over_pipes() 274 r = uv_read_start((uv_stream_t*) (j == 0 ? &stdin_pipe1 : &stdin_pipe2), in stdio_over_pipes_helper()
|
H A D | test-readable-on-eof.c | 65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in read_cb()
|
H A D | test-spawn.c | 300 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 611 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 645 r = uv_read_start((uv_stream_t*) &pipe, on_alloc, on_read); in TEST_IMPL() 809 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 891 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 894 r = uv_read_start((uv_stream_t*) &err, on_alloc, on_read); in TEST_IMPL() 945 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 992 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 1130 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL() 1768 ASSERT_OK(uv_read_start((uv_stream_t*) &pipe_handle, in TEST_IMPL() [all …]
|
H A D | test-tcp-close-reset.c | 114 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2); in connect_cb() 166 uv_read_start((uv_stream_t*) &tcp_accepted, alloc_cb, read_cb); in connection_cb()
|
H A D | test-tcp-try-write.c | 96 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb)); in connection_cb()
|
/libuv/docs/code/multi-echo-server/ |
H A D | worker.c | 74 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection() 86 uv_read_start((uv_stream_t*)&queue, alloc_buffer, on_new_connection); in main()
|
/libuv/docs/code/pipe-echo-server/ |
H A D | main.c | 63 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
|
/libuv/docs/code/tcp-echo-server/ |
H A D | main.c | 65 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
|
/libuv/docs/code/dns/ |
H A D | main.c | 39 uv_read_start((uv_stream_t*) req->handle, alloc_buffer, on_read); in on_connect()
|
/libuv/docs/code/uvtee/ |
H A D | main.c | 75 uv_read_start((uv_stream_t*)&stdin_pipe, alloc_buffer, read_stdin); in main()
|