/libuv/test/ |
H A D | test-pipe-bind-error.c | 49 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 D | test-pipe-connect-multiple.c | 50 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 D | test-pipe-getsockname.c | 136 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 D | test-stdio-over-pipes.c | 128 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 D | test-ipc-send-recv.c | 124 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 D | test-pipe-connect-error.c | 66 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 D | test-pipe-server-close.c | 73 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 D | test-iouring-pollhup.c | 91 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 D | test-spawn.c | 290 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 D | benchmark-multi-accept.c | 122 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 D | test-ref.c | 350 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 D | test-pipe-sendmsg.c | 90 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 D | test-pipe-pending-instances.c | 39 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
|
H A D | test-pipe-connect-prepare.c | 67 r = uv_pipe_init(uv_default_loop(), &pipe_handle, 0); in TEST_IMPL()
|
H A D | test-ping-pong.c | 290 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 D | benchmark-pump.c | 267 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 D | test-pipe-close-stdout-read-stdin.c | 86 r = uv_pipe_init(uv_default_loop(), (uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
|
H A D | test-close-fd.c | 59 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
|
H A D | test-shutdown-close.c | 96 r = uv_pipe_init(uv_default_loop(), &h, 0); in TEST_IMPL()
|
H A D | test-ipc.c | 290 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 D | test-pipe-set-fchmod.c | 37 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
|
H A D | test-signal-pending-on-close.c | 73 ASSERT_OK(uv_pipe_init(&loop, &pipe_hdl, 0)); in TEST_IMPL()
|
/libuv/docs/code/uvtee/ |
H A D | main.c | 64 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 D | main.c | 61 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 D | worker.c | 84 uv_pipe_init(loop, &queue, 1 /* ipc */); in main()
|