Home
last modified time | relevance | path

Searched refs:uv_read_start (Results 1 – 25 of 56) sorted by relevance

123

/libuv/test/
H A Dtest-shutdown-simultaneous.c86 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 Dtest-shutdown-eof.c92 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 Dtest-close-fd.c73 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 Dtest-iouring-pollhup.c70 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 Dtest-tcp-read-stop-start.c74 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 Dtest-osx-select.c67 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 Dtest-ping-pong.c208 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 Dtest-tcp-close-after-read-timeout.c50 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 Dtest-tcp-close-accept.c114 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 Dtest-tcp-open.c204 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 Dtest-tty-duplicate-key.c163 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 Dtest-tcp-read-stop.c55 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp_handle, in connect_cb()
H A Dtest-pipe-close-stdout-read-stdin.c92 r = uv_read_start((uv_stream_t *)&stdin_pipe, alloc_buffer, read_stdin); in TEST_IMPL()
H A Dtest-not-readable-nor-writable-on-read-error.c70 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in connect_cb()
H A Dtest-tcp-rst.c65 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp, alloc_cb, read_cb)); in connect_cb()
H A Dtest-stdio-over-pipes.c145 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 Dtest-readable-on-eof.c65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in read_cb()
H A Dtest-spawn.c300 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 Dtest-tcp-close-reset.c114 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 Dtest-tcp-try-write.c96 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb)); in connection_cb()
/libuv/docs/code/multi-echo-server/
H A Dworker.c74 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 Dmain.c63 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
/libuv/docs/code/tcp-echo-server/
H A Dmain.c65 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
/libuv/docs/code/dns/
H A Dmain.c39 uv_read_start((uv_stream_t*) req->handle, alloc_buffer, on_read); in on_connect()
/libuv/docs/code/uvtee/
H A Dmain.c75 uv_read_start((uv_stream_t*)&stdin_pipe, alloc_buffer, read_stdin); in main()

Completed in 57 milliseconds

123