/libuv/test/ |
H A D | benchmark-udp-pummel.c | 182 bufs[0] = uv_buf_init(&EXPECTED[0], 10); in pummel() 183 bufs[1] = uv_buf_init(&EXPECTED[10], 10); in pummel() 184 bufs[2] = uv_buf_init(&EXPECTED[20], 10); in pummel() 185 bufs[3] = uv_buf_init(&EXPECTED[30], 10); in pummel() 186 bufs[4] = uv_buf_init(&EXPECTED[40], 5); in pummel()
|
H A D | test-fs-open-flags.c | 110 iov = uv_buf_init("a", 1); in refresh() 163 iov = uv_buf_init("b", 1); in writeExpect() 169 iov = uv_buf_init("c", 1); in writeExpect() 186 iov = uv_buf_init(buf, sizeof(buf)); in writeExpect() 206 iov = uv_buf_init("z", 1); in writeFail() 212 iov = uv_buf_init("z", 1); in writeFail() 231 iov = uv_buf_init(buf, sizeof(buf)); in readExpect() 251 iov = uv_buf_init(buf, sizeof(buf)); in readFail() 257 iov = uv_buf_init(buf, sizeof(buf)); in readFail()
|
H A D | test-udp-send-unreachable.c | 138 buf = uv_buf_init("PING", 4); in TEST_IMPL() 148 buf = uv_buf_init("PANG", 4); in TEST_IMPL() 171 buf = uv_buf_init("PING", 4); in TEST_IMPL() 181 buf = uv_buf_init("PANG", 4); in TEST_IMPL()
|
H A D | test-fs.c | 432 iov = uv_buf_init(buf, sizeof(buf)); in open_cb() 1131 iov = uv_buf_init(NULL, 0); in fs_file_write_null_buffer() 3920 iov = uv_buf_init(NULL, 0); in TEST_IMPL() 3925 iov = uv_buf_init(NULL, 0); in TEST_IMPL() 3943 iov = uv_buf_init(NULL, 0); in TEST_IMPL() 3949 iov = uv_buf_init(NULL, 0); in TEST_IMPL() 4084 iov = uv_buf_init("abc", 3); in fs_file_pos_common() 4090 iov = uv_buf_init(buf, 1); in fs_file_pos_common() 4102 iov = uv_buf_init("d", 1); in fs_file_pos_common() 4159 iov = uv_buf_init("e", 1); in fs_file_pos_write() [all …]
|
H A D | test-udp-recv-in-a-row.c | 101 buf = uv_buf_init(send_data, sizeof(send_data)); in TEST_IMPL() 111 buf = uv_buf_init(NULL, 0); in TEST_IMPL()
|
H A D | test-tcp-try-write.c | 53 buf = uv_buf_init("PING", 4); in connect_cb() 63 buf = uv_buf_init("", 0); in connect_cb()
|
H A D | test-udp-try-send.c | 103 buf = uv_buf_init(buffer, sizeof(buffer)); in TEST_IMPL() 107 buf = uv_buf_init("EXIT", 4); in TEST_IMPL()
|
H A D | test-udp-send-immediate.c | 120 buf = uv_buf_init("PING", 4); in TEST_IMPL() 130 buf = uv_buf_init("PANG", 4); in TEST_IMPL()
|
H A D | test-tcp-open.c | 167 buf = uv_buf_init("P", 1); in write1_cb() 186 uv_buf_t buf = uv_buf_init("PING", 4); in connect_cb() 226 buf = uv_buf_init("P", 1); in connect1_cb() 339 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL()
|
H A D | test-tcp-write-in-a-row.c | 69 buf = uv_buf_init(data, sizeof(data)); in connect_cb() 78 buf = uv_buf_init("A", 1); in connect_cb()
|
H A D | test-ipc.c | 195 outbuf = uv_buf_init("foobar\n", 7); in on_read() 397 outbuf = uv_buf_init("world\n", 6); in on_read_connection() 592 outbuf = uv_buf_init("hello again\n", 12); in on_tcp_child_process_read() 629 buf = uv_buf_init("accepted_connection\n", 20); in ipc_on_connection() 662 buf = uv_buf_init("hello\n", 6); in ipc_on_connection_tcp_conn() 707 buf = uv_buf_init("hello\n", 6); in ipc_helper() 801 buf = uv_buf_init("hello\n", 6); in ipc_helper_bind_twice() 831 zero_buf = uv_buf_init(0, 0); in ipc_helper_send_zero()
|
H A D | test-udp-alloc-cb-fail.c | 141 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb() 171 buf = uv_buf_init("PING", 4); in TEST_IMPL()
|
H A D | test-udp-send-and-recv.c | 152 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb() 183 buf = uv_buf_init("PING", 4); in TEST_IMPL()
|
H A D | test-udp-open.c | 140 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() 254 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL() 310 uv_buf_t buf = uv_buf_init("PING", 4); in TEST_IMPL()
|
H A D | test-udp-sendmmsg-error.c | 62 buf = uv_buf_init("TEST", 4); in TEST_IMPL()
|
H A D | test-ping-pong.c | 103 bufs[0] = uv_buf_init(PING, sizeof PING - 1); in pinger_write_ping() 108 bufs[i] = uv_buf_init(&PING[i], 1); in pinger_write_ping() 187 writebuf = uv_buf_init(buf->base, nread); in ponger_read_cb()
|
H A D | test-ipc-send-recv.c | 149 buf = uv_buf_init(".", 1); in connect_cb() 160 buf = uv_buf_init(".", 1); in connect_cb() 345 wrbuf = uv_buf_init(".", 1); in read_cb()
|
H A D | test-tcp-read-stop.c | 42 uv_buf_t buf = uv_buf_init("PING", 4); in timer_cb()
|
H A D | test-udp-dgram-too-big.c | 70 buf = uv_buf_init(dgram, sizeof dgram); in TEST_IMPL()
|
H A D | test-tcp-connect-error-after-write.c | 71 buf = uv_buf_init("TEST", 4); in TEST_IMPL()
|
H A D | test-udp-multicast-ttl.c | 73 buf = uv_buf_init("PING", 4); in TEST_IMPL()
|
H A D | test-eintr-handling.c | 70 iov = uv_buf_init(buf, sizeof(buf)); in TEST_IMPL()
|
/libuv/docs/code/idle-compute/ |
H A D | main.c | 25 uv_buf_t buf = uv_buf_init(buffer, 1024); in on_type() 39 uv_buf_t buf = uv_buf_init(buffer, 1024); in main()
|
/libuv/docs/code/uvtee/ |
H A D | main.c | 19 *buf = uv_buf_init((char*) malloc(suggested_size), suggested_size); in alloc_buffer() 38 req->buf = uv_buf_init((char*) malloc(size), size); in write_data()
|
/libuv/docs/code/uvcat/ |
H A D | main.c | 45 iov = uv_buf_init(buffer, sizeof(buffer)); in on_open()
|