Home
last modified time | relevance | path

Searched refs:uv_buf_init (Results 1 – 25 of 85) sorted by relevance

1234

/libuv/test/
H A Dbenchmark-udp-pummel.c182 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 Dtest-fs-open-flags.c110 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 Dtest-udp-send-unreachable.c138 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 Dtest-udp-try-send.c107 buf = uv_buf_init(buffer, sizeof(buffer)); in TEST_IMPL()
124 buf = uv_buf_init("HELO", 4); in TEST_IMPL()
135 buf = uv_buf_init("EXIT", 4); in TEST_IMPL()
H A Dtest-fs.c432 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 Dtest-udp-recv-in-a-row.c101 buf = uv_buf_init(send_data, sizeof(send_data)); in TEST_IMPL()
111 buf = uv_buf_init(NULL, 0); in TEST_IMPL()
H A Dtest-tcp-try-write.c53 buf = uv_buf_init("PING", 4); in connect_cb()
63 buf = uv_buf_init("", 0); in connect_cb()
H A Dtest-udp-send-immediate.c120 buf = uv_buf_init("PING", 4); in TEST_IMPL()
130 buf = uv_buf_init("PANG", 4); in TEST_IMPL()
H A Dtest-tcp-open.c167 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 Dtest-tcp-write-in-a-row.c69 buf = uv_buf_init(data, sizeof(data)); in connect_cb()
78 buf = uv_buf_init("A", 1); in connect_cb()
H A Dtest-ipc.c195 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 Dtest-udp-alloc-cb-fail.c141 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb()
171 buf = uv_buf_init("PING", 4); in TEST_IMPL()
H A Dtest-udp-send-and-recv.c152 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb()
183 buf = uv_buf_init("PING", 4); in TEST_IMPL()
H A Dtest-udp-open.c140 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 Dtest-udp-sendmmsg-error.c62 buf = uv_buf_init("TEST", 4); in TEST_IMPL()
H A Dtest-ping-pong.c103 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 Dtest-ipc-send-recv.c149 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 Dtest-tcp-read-stop.c42 uv_buf_t buf = uv_buf_init("PING", 4); in timer_cb()
H A Dtest-udp-dgram-too-big.c70 buf = uv_buf_init(dgram, sizeof dgram); in TEST_IMPL()
H A Dtest-tcp-connect-error-after-write.c71 buf = uv_buf_init("TEST", 4); in TEST_IMPL()
H A Dtest-udp-multicast-ttl.c73 buf = uv_buf_init("PING", 4); in TEST_IMPL()
H A Dtest-eintr-handling.c70 iov = uv_buf_init(buf, sizeof(buf)); in TEST_IMPL()
/libuv/docs/code/idle-compute/
H A Dmain.c25 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 Dmain.c19 *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 Dmain.c45 iov = uv_buf_init(buffer, sizeof(buffer)); in on_open()

Completed in 121 milliseconds

1234