Home
last modified time | relevance | path

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

123

/third_party/libuv/test/
Dtest-shutdown-simultaneous.c86 ASSERT_EQ(0, 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()
Dtest-shutdown-eof.c92 ASSERT_EQ(0, 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()
Dtest-close-fd.c73 ASSERT(0 == uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
77 ASSERT(0 == uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
Dtest-ping-pong.c208 ASSERT_EQ(0, uv_read_start((uv_stream_t*) req->handle, in pinger_on_connect()
337 ASSERT_EQ(0, uv_read_start((uv_stream_t*) &pinger->stream.tcp, in socketpair_pinger_new()
340 ASSERT_EQ(0, uv_read_start((uv_stream_t*) ponger, in socketpair_pinger_new()
374 ASSERT_EQ(0, uv_read_start((uv_stream_t*) ponger, alloc_cb, pinger_read_cb)); in pipe2_pinger_new()
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()
Dtest-tcp-read-stop-start.c74 ASSERT(0 == uv_read_start(stream, on_alloc, on_read2)); in on_read1()
95 ASSERT(0 == uv_read_start((uv_stream_t*)&connection, on_alloc, on_read1)); in on_connection()
Dtest-tcp-close-accept.c114 ASSERT(0 == uv_read_start((uv_stream_t*) &tcp_check, alloc_cb, read_cb)); in read_cb()
138 ASSERT(0 == uv_read_start((uv_stream_t*) incoming, alloc_cb, read_cb)); in connection_cb()
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()
356 ASSERT(0 == uv_read_start((uv_stream_t*) &client, alloc_cb, read_cb)); in TEST_IMPL()
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()
Dtest-spawn.c297 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
608 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
642 r = uv_read_start((uv_stream_t*) &pipe, on_alloc, on_read); in TEST_IMPL()
806 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
888 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
891 r = uv_read_start((uv_stream_t*) &err, on_alloc, on_read); in TEST_IMPL()
942 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
989 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
1127 r = uv_read_start((uv_stream_t*) &out, on_alloc, on_read); in TEST_IMPL()
1597 ASSERT(0 == uv_read_start((uv_stream_t*) &pipe_handle, on_alloc, on_read_once)); in TEST_IMPL()
[all …]
Dtest-tcp-close-reset.c91 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2); in connect_cb()
143 uv_read_start((uv_stream_t*) &tcp_accepted, alloc_cb, read_cb); in connection_cb()
Dtest-pipe-getsockname.c228 r = uv_read_start((uv_stream_t*) &pipe_client, in TEST_IMPL()
241 r = uv_read_start((uv_stream_t*)&pipe_client, in TEST_IMPL()
Dtest-tcp-read-stop.c55 ASSERT(0 == uv_read_start((uv_stream_t*) &tcp_handle, in connect_cb()
Dtest-pipe-close-stdout-read-stdin.c82 r = uv_read_start((uv_stream_t *)&stdin_pipe, alloc_buffer, read_stdin); in TEST_IMPL()
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()
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()
Dtest-readable-on-eof.c65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in read_cb()
Dtest-ipc.c402 r = uv_read_start((uv_stream_t*)&tcp_connection, on_read_alloc, on_tcp_read); in on_read_connection()
422 uv_read_start((uv_stream_t*)&channel, on_alloc, read_cb); in run_ipc_test()
604 r = uv_read_start(req->handle, on_read_alloc, on_tcp_child_process_read); in connect_child_process_cb()
667 r = uv_read_start((uv_stream_t*) conn, in ipc_on_connection_tcp_conn()
Dtest-tcp-try-write.c96 ASSERT(0 == uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb)); in connection_cb()
Dtest-tcp-alloc-cb-fail.c82 ASSERT(0 == uv_read_start((uv_stream_t*) &incoming, in connection_cb()
/third_party/libuv/docs/code/multi-echo-server/
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()
/third_party/libuv/docs/code/dns/
Dmain.c39 uv_read_start((uv_stream_t*) req->handle, alloc_buffer, on_read); in on_connect()
/third_party/libuv/docs/code/tcp-echo-server/
Dmain.c65 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
/third_party/libuv/docs/code/pipe-echo-server/
Dmain.c63 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
/third_party/libuv/docs/code/uvtee/
Dmain.c76 uv_read_start((uv_stream_t*)&stdin_pipe, alloc_buffer, read_stdin); in main()

123