Home
last modified time | relevance | path

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

123

/netbsd/external/mit/libuv/dist/src/win/
H A Dinternal.h125 int uv__pipe_accept(uv_pipe_t* server, uv_stream_t* client);
126 int uv__pipe_read_start(uv_pipe_t* handle, uv_alloc_cb alloc_cb,
128 void uv__pipe_read_stop(uv_pipe_t* handle);
131 uv_pipe_t* handle,
138 void uv__process_pipe_read_req(uv_loop_t* loop, uv_pipe_t* handle,
140 void uv__process_pipe_write_req(uv_loop_t* loop, uv_pipe_t* handle,
142 void uv__process_pipe_accept_req(uv_loop_t* loop, uv_pipe_t* handle,
144 void uv__process_pipe_connect_req(uv_loop_t* loop, uv_pipe_t* handle,
146 void uv__process_pipe_shutdown_req(uv_loop_t* loop, uv_pipe_t* handle,
149 void uv__pipe_close(uv_loop_t* loop, uv_pipe_t* handle);
[all …]
H A Dpipe.c562 uv_pipe_t* handle; in pipe_shutdown_thread_proc()
567 handle = (uv_pipe_t*) req->handle; in pipe_shutdown_thread_proc()
781 uv_pipe_t* handle; in pipe_connect_thread_proc()
788 handle = (uv_pipe_t*) req->handle; in pipe_connect_thread_proc()
1051 uv_pipe_t* pipe_client; in uv__pipe_accept()
1076 pipe_client = (uv_pipe_t*) client; in uv__pipe_accept()
1149 uv_pipe_t* handle = (uv_pipe_t*) req->data; in uv_pipe_zero_readfile_thread_proc()
1224 uv_pipe_t* handle = (uv_pipe_t*) req->handle; in uv_pipe_writefile_thread_proc()
1752 uv_pipe_t* handle, in uv__pipe_write()
1803 uv_pipe_t* handle, in uv__pipe_queue_ipc_xfer_info()
[all …]
H A Dstream.c41 err = uv__pipe_listen((uv_pipe_t*)stream, backlog, cb); in uv_listen()
60 err = uv__pipe_accept((uv_pipe_t*)server, client); in uv_accept()
81 err = uv__pipe_read_start((uv_pipe_t*)handle, alloc_cb, read_cb); in uv__read_start()
104 uv__pipe_read_stop((uv_pipe_t*) handle); in uv_read_stop()
133 loop, req, (uv_pipe_t*) handle, bufs, nbufs, NULL, cb); in uv_write()
159 if (handle->type != UV_NAMED_PIPE || !((uv_pipe_t*) handle)->ipc) { in uv_write2()
166 loop, req, (uv_pipe_t*) handle, bufs, nbufs, send_handle, cb); in uv_write2()
224 uv__pipe_shutdown(loop, (uv_pipe_t*) handle, req); in uv_shutdown()
H A Dprocess-stdio.c234 uv_pipe_t* parent_pipe = (uv_pipe_t*) fdopt.data.stream; in uv__stdio_create()
317 stream_handle = ((uv_pipe_t*) stream)->handle; in uv__stdio_create()
/netbsd/external/mit/libuv/dist/src/unix/
H A Dpipe.c33 int uv_pipe_init(uv_loop_t* loop, uv_pipe_t* handle, int ipc) { in uv_pipe_init()
43 int uv_pipe_bind(uv_pipe_t* handle, const char* name) { in uv_pipe_bind()
96 int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { in uv__pipe_listen()
122 void uv__pipe_close(uv_pipe_t* handle) { in uv__pipe_close()
139 int uv_pipe_open(uv_pipe_t* handle, uv_file fd) { in uv_pipe_open()
176 uv_pipe_t* handle, in uv_pipe_connect()
242 static int uv__pipe_getsockpeername(const uv_pipe_t* handle, in uv__pipe_getsockpeername()
296 void uv_pipe_pending_instances(uv_pipe_t* handle, int count) { in uv_pipe_pending_instances()
300 int uv_pipe_pending_count(uv_pipe_t* handle) { in uv_pipe_pending_count()
317 uv_handle_type uv_pipe_pending_type(uv_pipe_t* handle) { in uv_pipe_pending_type()
[all …]
/netbsd/external/mit/libuv/dist/docs/src/
H A Dpipe.rst4 :c:type:`uv_pipe_t` --- Pipe handle
10 :c:type:`uv_pipe_t` is a 'subclass' of :c:type:`uv_stream_t`.
16 .. c:type:: uv_pipe_t
24 .. c:member:: int uv_pipe_t.ipc
36 .. c:function:: int uv_pipe_init(uv_loop_t* loop, uv_pipe_t* handle, int ipc)
44 .. c:function:: int uv_pipe_open(uv_pipe_t* handle, uv_file file)
54 .. c:function:: int uv_pipe_bind(uv_pipe_t* handle, const char* name)
94 .. c:function:: void uv_pipe_pending_instances(uv_pipe_t* handle, int count)
102 .. c:function:: int uv_pipe_pending_count(uv_pipe_t* handle)
103 .. c:function:: uv_handle_type uv_pipe_pending_type(uv_pipe_t* handle)
[all …]
/netbsd/external/mit/libuv/dist/test/
H A Dtest-pipe-bind-error.c45 uv_pipe_t server1, server2; in TEST_IMPL()
76 uv_pipe_t server; in TEST_IMPL()
97 uv_pipe_t server; in TEST_IMPL()
122 uv_pipe_t server; in TEST_IMPL()
142 uv_pipe_t server; in TEST_IMPL()
H A Dtest-ipc-send-recv.c29 void spawn_helper(uv_pipe_t* channel,
38 uv_pipe_t pipe;
44 uv_pipe_t channel;
56 uv_pipe_t listen;
57 uv_pipe_t channel;
90 uv_pipe_t* pipe; in recv_cb()
94 pipe = (uv_pipe_t*) handle; in recv_cb()
301 uv_pipe_t* pipe; in read_cb()
313 pipe = (uv_pipe_t*) handle; in read_cb()
H A Dtest-pipe-connect-multiple.c35 uv_pipe_t pipe_handle;
39 static uv_pipe_t server_handle;
41 static uv_pipe_t connections[NUM_CLIENTS];
46 uv_pipe_t* conn; in connection_cb()
H A Dtest-pipe-sendmsg.c38 static uv_pipe_t incoming[4];
76 uv_pipe_t* p; in read_cb()
77 uv_pipe_t* inc; in read_cb()
81 p = (uv_pipe_t*) handle; in read_cb()
108 uv_pipe_t p; in TEST_IMPL()
H A Dtest-stdio-over-pipes.c37 static uv_pipe_t in;
38 static uv_pipe_t out;
176 static uv_pipe_t stdin_pipe1;
177 static uv_pipe_t stdout_pipe1;
178 static uv_pipe_t stdin_pipe2;
179 static uv_pipe_t stdout_pipe2;
H A Dbenchmark-multi-accept.c29 uv_pipe_t pipe;
51 uv_pipe_t ipc_pipe;
62 uv_pipe_t ipc_pipe;
122 ASSERT(0 == uv_pipe_init(loop, (uv_pipe_t*) &pc->peer_handle, 1)); in ipc_connection_cb()
179 uv_pipe_t* ipc_pipe; in ipc_read_cb()
181 ipc_pipe = (uv_pipe_t*) handle; in ipc_read_cb()
190 ASSERT(0 == uv_pipe_init(loop, (uv_pipe_t*) ctx->server_handle, 0)); in ipc_read_cb()
303 ASSERT(0 == uv_pipe_init(server_handle->loop, (uv_pipe_t*) storage, 0)); in sv_connection_cb()
H A Dtest-pipe-close-stdout-read-stdin.c57 uv_pipe_t stdin_pipe; in TEST_IMPL()
76 r = uv_pipe_init(uv_default_loop(), (uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
79 r = uv_pipe_open((uv_pipe_t *)&stdin_pipe, 0); in TEST_IMPL()
H A Dtest-ipc-heavy-traffic-deadlock-bug.c28 void spawn_helper(uv_pipe_t* channel,
134 uv_pipe_t pipe; in TEST_IMPL()
145 uv_pipe_t pipe; in ipc_helper_heavy_traffic_deadlock_bug()
H A Dbenchmark-pump.c50 static uv_pipe_t pipeServer;
77 static uv_pipe_t pipe_write_handles[MAX_WRITE_HANDLES];
247 uv_pipe_t* pipe; in maybe_connect_some()
289 stream = (uv_stream_t*)malloc(sizeof(uv_pipe_t)); in connection_cb()
290 r = uv_pipe_init(loop, (uv_pipe_t*)stream, 0); in connection_cb()
H A Dtest-pipe-connect-error.c60 uv_pipe_t client; in TEST_IMPL()
80 uv_pipe_t client; in TEST_IMPL()
H A Dtest-pipe-server-close.c29 static uv_pipe_t pipe_client;
30 static uv_pipe_t pipe_server;
H A Dtest-ipc.c28 static uv_pipe_t channel;
147 uv_pipe_t* pipe; in on_read()
151 pipe = (uv_pipe_t*) handle; in on_read()
217 uv_pipe_t* pipe; in on_read_listen_after_bound_twice()
220 pipe = (uv_pipe_t*) handle; in on_read_listen_after_bound_twice()
280 void spawn_helper(uv_pipe_t* channel, in spawn_helper()
355 uv_pipe_t* pipe; in on_read_connection()
358 pipe = (uv_pipe_t*) handle; in on_read_connection()
H A Dtest-spawn.c282 uv_pipe_t out; in TEST_IMPL()
582 uv_pipe_t out; in TEST_IMPL()
583 uv_pipe_t in; in TEST_IMPL()
625 uv_pipe_t pipe; in TEST_IMPL()
785 uv_pipe_t out; in TEST_IMPL()
913 uv_pipe_t in, out; in TEST_IMPL()
960 uv_pipe_t in, out; in TEST_IMPL()
1006 uv_pipe_t in; in TEST_IMPL()
1094 uv_pipe_t out; in TEST_IMPL()
1583 uv_pipe_t in; in TEST_IMPL()
[all …]
H A Dtest-ref.c349 uv_pipe_t h; in TEST_IMPL()
360 uv_pipe_t h; in TEST_IMPL()
372 uv_pipe_t h; in TEST_IMPL()
386 uv_pipe_t h; in TEST_IMPL()
H A Dbenchmark-pound.c64 uv_pipe_t stream;
229 r = uv_pipe_init(loop, (uv_pipe_t*)&p->stream, 0); in pipe_make_connect()
233 (uv_pipe_t*) &p->stream, in pipe_make_connect()
/netbsd/external/mit/libuv/dist/docs/code/pipe-echo-server/
H A Dmain.c60 uv_pipe_t *client = (uv_pipe_t*) malloc(sizeof(uv_pipe_t)); in on_new_connection()
79 uv_pipe_t server; in main()
/netbsd/external/mit/libuv/dist/docs/code/multi-echo-server/
H A Dworker.c9 uv_pipe_t queue;
59 uv_pipe_t *pipe = (uv_pipe_t*) q; in on_new_connection()
/netbsd/external/mit/libuv/dist/docs/code/uvtee/
H A Dmain.c14 uv_pipe_t stdin_pipe;
15 uv_pipe_t stdout_pipe;
16 uv_pipe_t file_pipe;
/netbsd/external/mit/libuv/dist/include/
H A Duv.h219 typedef struct uv_pipe_s uv_pipe_t; typedef
795 UV_EXTERN int uv_pipe_init(uv_loop_t*, uv_pipe_t* handle, int ipc);
796 UV_EXTERN int uv_pipe_open(uv_pipe_t*, uv_file file);
797 UV_EXTERN int uv_pipe_bind(uv_pipe_t* handle, const char* name);
799 uv_pipe_t* handle,
802 UV_EXTERN int uv_pipe_getsockname(const uv_pipe_t* handle,
805 UV_EXTERN int uv_pipe_getpeername(const uv_pipe_t* handle,
808 UV_EXTERN void uv_pipe_pending_instances(uv_pipe_t* handle, int count);
809 UV_EXTERN int uv_pipe_pending_count(uv_pipe_t* handle);
810 UV_EXTERN uv_handle_type uv_pipe_pending_type(uv_pipe_t* handle);
[all …]

123