/libuv/test/ |
H A D | test-pipe-close-stdout-read-stdin.c | 36 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 D | test-pipe-getsockname.c | 50 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 219 char buf[256]; in TEST_IMPL() local 267 char buf[256]; in TEST_IMPL() local
|
H A D | test-tcp-read-stop-start.c | 50 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 D | test-iouring-pollhup.c | 44 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 D | test-tcp-open.c | 90 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 D | test-watcher-cross-stop.c | 42 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 D | test-tcp-close-after-read-timeout.c | 60 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 D | test-udp-alloc-cb-fail.c | 46 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 D | test-tcp-write-to-half-open-connection.c | 46 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 D | test-random.c | 31 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 D | test-close-fd.c | 30 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 D | test-ipc.c | 102 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 D | test-udp-open.c | 85 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 D | test-tcp-unexpected-read.c | 52 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 D | benchmark-ping-udp.c | 52 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 D | test-tcp-try-write.c | 48 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 D | test-tcp-alloc-cb-fail.c | 48 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 D | test-udp-multicast-join.c | 46 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 D | worker.c | 13 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 D | main.c | 10 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 D | main.c | 25 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 D | random-devurandom.c | 32 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 D | main.c | 16 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 D | main.c | 14 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 D | random.c | 31 static int uv__random(void* buf, size_t buflen) { in uv__random() 96 void *buf, in uv_random()
|