Home
last modified time | relevance | path

Searched refs:uv_pipe_init (Results 1 – 25 of 40) sorted by relevance

12

/libuv/test/
H A Dtest-pipe-bind-error.c49 r = uv_pipe_init(uv_default_loop(), &server1, 0); in TEST_IMPL()
54 r = uv_pipe_init(uv_default_loop(), &server2, 0); in TEST_IMPL()
80 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
101 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
126 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
145 ASSERT_OK(uv_pipe_init(uv_default_loop(), &server, 0)); in TEST_IMPL()
170 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe, 0)); in TEST_IMPL()
H A Dtest-pipe-connect-multiple.c50 r = uv_pipe_init(server->loop, conn, 0); in connection_cb()
82 r = uv_pipe_init(loop, &server_handle, 0); in TEST_IMPL()
92 r = uv_pipe_init(loop, &clients[i].pipe_handle, 0); in TEST_IMPL()
116 r = uv_pipe_init(server->loop, conn, 0); in connection_cb2()
148 r = uv_pipe_init(loop, &server_handle, 0); in TEST_IMPL()
158 r = uv_pipe_init(loop, &clients[i].pipe_handle, 0); in TEST_IMPL()
H A Dtest-pipe-getsockname.c136 r = uv_pipe_init(loop, &pipe_server, 0); in TEST_IMPL()
174 r = uv_pipe_init(loop, &pipe_client, 0); in TEST_IMPL()
224 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
232 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
246 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
248 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
272 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
278 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
291 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
313 r = uv_pipe_init(uv_default_loop(), &pipe_client, 0); in TEST_IMPL()
H A Dtest-stdio-over-pipes.c128 uv_pipe_init(loop, &out, 0); in test_stdio_over_pipes()
129 uv_pipe_init(loop, &in, 0); in test_stdio_over_pipes()
228 r = uv_pipe_init(loop, &stdin_pipe1, 0); in stdio_over_pipes_helper()
230 r = uv_pipe_init(loop, &stdout_pipe1, 0); in stdio_over_pipes_helper()
232 r = uv_pipe_init(loop, &stdin_pipe2, 0); in stdio_over_pipes_helper()
234 r = uv_pipe_init(loop, &stdout_pipe2, 0); in stdio_over_pipes_helper()
H A Dtest-ipc-send-recv.c124 r = uv_pipe_init(ctx.channel.loop, &recv->pipe, 0); in recv_cb()
183 r = uv_pipe_init(uv_default_loop(), &ctx.channel, 1); in run_test()
211 r = uv_pipe_init(uv_default_loop(), &ctx.send.pipe, 1); in run_ipc_send_recv_pipe()
217 r = uv_pipe_init(uv_default_loop(), &ctx.send2.pipe, 1); in run_ipc_send_recv_pipe()
335 r = uv_pipe_init(ctx2.channel.loop, &recv->pipe, 0); in read_cb()
384 r = uv_pipe_init(loop, &ctx2.listen, 0); in run_ipc_send_recv_helper()
387 r = uv_pipe_init(loop, &ctx2.channel, 1); in run_ipc_send_recv_helper()
H A Dtest-pipe-connect-error.c66 r = uv_pipe_init(uv_default_loop(), &client, 0); in TEST_IMPL()
86 r = uv_pipe_init(uv_default_loop(), &client, 0); in TEST_IMPL()
H A Dtest-pipe-server-close.c73 r = uv_pipe_init(loop, &pipe_server, 0); in TEST_IMPL()
82 r = uv_pipe_init(loop, &pipe_client, 0); in TEST_IMPL()
H A Dtest-iouring-pollhup.c91 ASSERT_OK(uv_pipe_init(loop, &p1, 0)); in TEST_IMPL()
92 ASSERT_OK(uv_pipe_init(loop, &p2, 0)); in TEST_IMPL()
H A Dtest-spawn.c290 uv_pipe_init(uv_default_loop(), &out, 0); in TEST_IMPL()
594 uv_pipe_init(uv_default_loop(), &out, 0); in TEST_IMPL()
595 uv_pipe_init(uv_default_loop(), &in, 0); in TEST_IMPL()
633 uv_pipe_init(uv_default_loop(), &pipe, 0); in TEST_IMPL()
793 uv_pipe_init(uv_default_loop(), &out, 0); in TEST_IMPL()
924 uv_pipe_init(uv_default_loop(), &out, 0); in TEST_IMPL()
925 uv_pipe_init(uv_default_loop(), &in, 0); in TEST_IMPL()
971 uv_pipe_init(uv_default_loop(), &out, 0); in TEST_IMPL()
972 uv_pipe_init(uv_default_loop(), &in, 0); in TEST_IMPL()
1017 uv_pipe_init(uv_default_loop(), &in, 0); in TEST_IMPL()
[all …]
H A Dbenchmark-multi-accept.c122 ASSERT_OK(uv_pipe_init(loop, (uv_pipe_t*) &pc->peer_handle, 1)); in ipc_connection_cb()
190 ASSERT_OK(uv_pipe_init(loop, (uv_pipe_t*) ctx->server_handle, 0)); in ipc_read_cb()
226 ASSERT_OK(uv_pipe_init(loop, &ctx.ipc_pipe, 0)); in send_listen_handles()
248 ASSERT_OK(uv_pipe_init(loop, &ctx.ipc_pipe, 1)); in get_listen_handle()
303 ASSERT_OK(uv_pipe_init(server_handle->loop, (uv_pipe_t*) storage, 0)); in sv_connection_cb()
H A Dtest-ref.c350 uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
361 uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
373 uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
387 uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
H A Dtest-pipe-sendmsg.c90 ASSERT_OK(uv_pipe_init(p->loop, inc, 0)); in read_cb()
122 ASSERT_OK(uv_pipe_init(uv_default_loop(), &p, 1)); in TEST_IMPL()
H A Dtest-pipe-pending-instances.c39 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
H A Dtest-pipe-connect-prepare.c67 r = uv_pipe_init(uv_default_loop(), &pipe_handle, 0); in TEST_IMPL()
H A Dtest-ping-pong.c290 r = uv_pipe_init(uv_default_loop(), &pinger->stream.pipe, 0); in pipe_pinger_new()
358 ASSERT_OK(uv_pipe_init(uv_default_loop(), ponger, 0)); in pipe2_pinger_new()
367 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pinger->stream.pipe, 0)); in pipe2_pinger_new()
H A Dbenchmark-pump.c267 r = uv_pipe_init(loop, pipe, 0); in maybe_connect_some()
290 r = uv_pipe_init(loop, (uv_pipe_t*)stream, 0); in connection_cb()
408 r = uv_pipe_init(loop, &pipeServer, 0); in HELPER_IMPL()
H A Dtest-pipe-close-stdout-read-stdin.c86 r = uv_pipe_init(uv_default_loop(), (uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
H A Dtest-close-fd.c59 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
H A Dtest-shutdown-close.c96 r = uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
H A Dtest-ipc.c290 r = uv_pipe_init(uv_default_loop(), channel, 1); in spawn_helper()
687 r = uv_pipe_init(uv_default_loop(), &channel, 1); in ipc_helper()
738 r = uv_pipe_init(uv_default_loop(), &channel, 1); in ipc_helper_tcp_connection()
792 r = uv_pipe_init(uv_default_loop(), &channel, 1); in ipc_helper_bind_twice()
833 r = uv_pipe_init(uv_default_loop(), &channel, 0); in ipc_helper_send_zero()
H A Dtest-pipe-set-fchmod.c37 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
H A Dtest-signal-pending-on-close.c73 ASSERT_OK(uv_pipe_init(&loop, &pipe_hdl, 0)); in TEST_IMPL()
/libuv/docs/code/uvtee/
H A Dmain.c64 uv_pipe_init(loop, &stdin_pipe, 0); in main()
67 uv_pipe_init(loop, &stdout_pipe, 0); in main()
72 uv_pipe_init(loop, &file_pipe, 0); in main()
/libuv/docs/code/pipe-echo-server/
H A Dmain.c61 uv_pipe_init(loop, client, 0); in on_new_connection()
80 uv_pipe_init(loop, &server, 0); in main()
/libuv/docs/code/multi-echo-server/
H A Dworker.c84 uv_pipe_init(loop, &queue, 1 /* ipc */); in main()

Completed in 40 milliseconds

12