Searched refs:iov (Results 1 – 8 of 8) sorted by relevance
/libuv/docs/code/uvcat/ |
H A D | main.c | 14 static uv_buf_t iov; variable 21 uv_fs_read(uv_default_loop(), &read_req, open_req.result, &iov, 1, -1, on_read); in on_write() 35 iov.len = req->result; in on_read() 36 uv_fs_write(uv_default_loop(), &write_req, 1, &iov, 1, -1, on_write); in on_read() 45 iov = uv_buf_init(buffer, sizeof(buffer)); in on_open() 47 &iov, 1, -1, on_read); in on_open()
|
/libuv/test/ |
H A D | test-fs-open-flags.c | 49 static uv_buf_t iov; variable 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() 187 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); 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() [all …]
|
H A D | test-fs.c | 133 static uv_buf_t iov; variable 1131 iov = uv_buf_init(NULL, 0); in fs_file_write_null_buffer() 3531 &iov, in fs_write_alotof_bufs() 3647 &iov, in fs_write_alotof_bufs_with_offset() 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() 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-eintr-handling.c | 38 static uv_buf_t iov; variable 70 iov = uv_buf_init(buf, sizeof(buf)); in TEST_IMPL() 79 nread = uv_fs_read(loop, &read_req, pipe_fds[0], &iov, 1, -1, NULL); in TEST_IMPL()
|
H A D | test-metrics.c | 197 uv_buf_t iov = uv_buf_init(test_buf, sizeof(test_buf)); in create_cb() local 201 &iov, in create_cb() 309 uv_buf_t iov; in TEST_IMPL() local 338 iov = uv_buf_init(test_buf, sizeof(test_buf)); in TEST_IMPL() 342 &iov, in TEST_IMPL()
|
H A D | test-threadpool-cancel.c | 321 uv_buf_t iov; in TEST_IMPL() local 326 iov = uv_buf_init(NULL, 0); in TEST_IMPL() 344 ASSERT_OK(uv_fs_read(loop, reqs + n++, -1, &iov, 1, 0, fs_cb)); in TEST_IMPL() 355 ASSERT_OK(uv_fs_write(loop, reqs + n++, -1, &iov, 1, 0, fs_cb)); in TEST_IMPL()
|
/libuv/src/unix/ |
H A D | udp.c | 153 struct iovec iov[ARRAY_SIZE(peers)]; in uv__udp_recvmmsg() local 163 if (chunks > ARRAY_SIZE(iov)) in uv__udp_recvmmsg() 164 chunks = ARRAY_SIZE(iov); in uv__udp_recvmmsg() 166 iov[k].iov_base = buf->base + k * UV__UDP_DGRAM_MAXSIZE; in uv__udp_recvmmsg() 167 iov[k].iov_len = UV__UDP_DGRAM_MAXSIZE; in uv__udp_recvmmsg() 169 msgs[k].msg_hdr.msg_iov = iov + k; in uv__udp_recvmmsg() 201 chunk_buf = uv_buf_init(iov[k].iov_base, iov[k].iov_len); in uv__udp_recvmmsg()
|
H A D | stream.c | 758 struct iovec* iov; in uv__try_write() local 767 iov = (struct iovec*) bufs; in uv__try_write() 796 msg.msg_iov = iov; in uv__try_write() 813 n = uv__writev(uv__stream_fd(stream), iov, iovcnt); in uv__try_write()
|
Completed in 28 milliseconds