Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 138) sorted by relevance

123456

/libuv/test/
H A Dtest-pipe-close-stdout-read-stdin.c36 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t* buf) in alloc_buffer()
44 void read_stdin(uv_stream_t *stream, ssize_t nread, const uv_buf_t* buf) in read_stdin()
60 char buf; in TEST_IMPL() local
H A Dtest-pipe-getsockname.c50 char buf[1024]; in pipe_client_connect_cb() local
95 char buf[16]; in pipe_client_autobind_connect_cb() local
125 char buf[1024]; in TEST_IMPL() local
228 char buf[256]; in TEST_IMPL() local
276 char buf[256]; in TEST_IMPL() local
H A Dtest-tcp-read-stop-start.c50 uv_buf_t buf; in do_write() local
58 uv_buf_t* buf) { in on_alloc()
64 static void on_read1(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { in on_read1()
79 static void on_read2(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { in on_read2()
H A Dtest-iouring-pollhup.c44 uv_buf_t* buf) { in alloc_buffer()
51 const uv_buf_t* buf) { in read_data2()
80 const uv_buf_t* buf) { in read_data()
H A Dtest-tcp-open.c90 uv_buf_t* buf) { in alloc_cb()
113 static void read_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { in read_cb()
127 static void read1_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { in read1_cb()
155 uv_buf_t buf; in write1_cb() local
186 uv_buf_t buf = uv_buf_init("PING", 4); in connect_cb() local
210 uv_buf_t buf; in connect1_cb() local
339 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() local
H A Dtest-watcher-cross-stop.c42 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb()
50 const uv_buf_t* buf, in recv_cb()
74 uv_buf_t buf; in TEST_IMPL() local
H A Dtest-tcp-close-after-read-timeout.c60 uv_buf_t* buf) { in on_client_alloc()
68 const uv_buf_t* buf) { in on_client_read()
85 uv_buf_t* buf) { in on_connection_alloc()
94 const uv_buf_t* buf) { in on_connection_read()
H A Dtest-udp-alloc-cb-fail.c46 uv_buf_t* buf) { in sv_alloc_cb()
56 uv_buf_t* buf) { in cl_alloc_cb()
70 const uv_buf_t* buf, in cl_recv_cb()
152 uv_buf_t buf; in TEST_IMPL() local
H A Dtest-tcp-write-to-half-open-connection.c46 uv_buf_t buf; in connection_cb() local
70 uv_buf_t* buf) { in alloc_cb()
77 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { in read_cb()
H A Dtest-random.c31 static void random_cb(uv_random_t* req, int status, void* buf, size_t buflen) { in random_cb()
80 char buf[256]; in TEST_IMPL() local
H A Dtest-close-fd.c30 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb()
36 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { in read_cb()
H A Dtest-ipc.c102 uv_buf_t* buf) { in on_alloc()
145 const uv_buf_t* buf) { in on_read()
215 const uv_buf_t* buf) { in on_read_listen_after_bound_twice()
331 uv_buf_t* buf) { in on_read_alloc()
352 const uv_buf_t* buf) { in on_read_connection()
411 const uv_buf_t* buf) { in on_read_send_zero()
572 const uv_buf_t* buf) { in on_tcp_child_process_read()
611 uv_buf_t buf; in ipc_on_connection() local
646 uv_buf_t buf; in ipc_on_connection_tcp_conn() local
683 uv_buf_t buf; in ipc_helper() local
[all …]
H A Dtest-udp-open.c85 uv_buf_t* buf) { in alloc_cb()
101 const uv_buf_t* buf, in recv_cb()
140 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() local
254 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() local
310 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() local
H A Dtest-tcp-unexpected-read.c52 uv_buf_t* buf) { in alloc_cb()
57 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { in read_cb()
75 uv_buf_t buf; in connection_cb() local
H A Dbenchmark-ping-udp.c52 static void buf_alloc(uv_handle_t* tcp, size_t size, uv_buf_t* buf) { in buf_alloc()
59 static void buf_free(const uv_buf_t* buf) { in buf_free()
78 uv_buf_t buf; in pinger_write_ping() local
90 const uv_buf_t* buf, in pinger_read_cb()
H A Dtest-tcp-try-write.c48 uv_buf_t buf; in connect_cb() local
70 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb()
78 static void read_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { in read_cb()
H A Dtest-tcp-alloc-cb-fail.c48 static void conn_alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in conn_alloc_cb()
54 const uv_buf_t* buf) { in conn_read_cb()
66 uv_buf_t buf; in connect_cb() local
H A Dtest-udp-multicast-join.c46 uv_buf_t* buf) { in alloc_cb()
74 uv_buf_t buf; in do_send() local
93 const uv_buf_t* buf, in cl_recv_cb()
/libuv/docs/code/multi-echo-server/
H A Dworker.c13 uv_buf_t buf; member
22 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer()
34 void echo_read(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf) { in echo_read()
51 void on_new_connection(uv_stream_t *q, ssize_t nread, const uv_buf_t *buf) { in on_new_connection()
/libuv/docs/code/uvtee/
H A Dmain.c10 uv_buf_t buf; member
18 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer()
36 void write_data(uv_stream_t *dest, size_t size, uv_buf_t buf, uv_write_cb cb) { in write_data()
43 void read_stdin(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) { in read_stdin()
/libuv/docs/code/idle-compute/
H A Dmain.c25 uv_buf_t buf = uv_buf_init(buffer, 1024); in on_type() local
39 uv_buf_t buf = uv_buf_init(buffer, 1024); in main() local
/libuv/src/unix/
H A Drandom-devurandom.c32 int uv__random_readpath(const char* path, void* buf, size_t buflen) { in uv__random_readpath()
86 int uv__random_devurandom(void* buf, size_t buflen) { in uv__random_devurandom()
/libuv/docs/code/pipe-echo-server/
H A Dmain.c16 uv_buf_t buf; member
25 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer()
37 void echo_read(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf) { in echo_read()
/libuv/docs/code/tcp-echo-server/
H A Dmain.c14 uv_buf_t buf; member
23 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer()
39 void echo_read(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf) { in echo_read()
/libuv/src/
H A Drandom.c31 static int uv__random(void* buf, size_t buflen) { in uv__random()
96 void *buf, in uv_random()

Completed in 59 milliseconds

123456