Lines Matching refs:iovs

3355   uv_buf_t iovs[2];  in fs_write_multiple_bufs()  local
3370 iovs[0] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3371 iovs[1] = uv_buf_init(test_buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3372 r = uv_fs_write(NULL, &write_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3391 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3392 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3394 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, -1, NULL); in fs_write_multiple_bufs()
3408 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3409 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3410 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3415 r = uv_fs_read(NULL, &read_req, open_req1.result, &iovs[1], 1, read_req.result, NULL); in fs_write_multiple_bufs()
3452 uv_buf_t* iovs; in fs_write_alotof_bufs() local
3464 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs()
3465 ASSERT_NOT_NULL(iovs); in fs_write_alotof_bufs()
3479 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_alotof_bufs()
3484 iovs, in fs_write_alotof_bufs()
3497 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), in fs_write_alotof_bufs()
3511 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, iovcount, -1, NULL); in fs_write_alotof_bufs()
3546 free(iovs); in fs_write_alotof_bufs()
3560 uv_buf_t* iovs; in fs_write_alotof_bufs_with_offset() local
3577 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs_with_offset()
3578 ASSERT_NOT_NULL(iovs); in fs_write_alotof_bufs_with_offset()
3599 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_alotof_bufs_with_offset()
3604 iovs, in fs_write_alotof_bufs_with_offset()
3617 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), in fs_write_alotof_bufs_with_offset()
3621 iovs, iovcount, offset, NULL); in fs_write_alotof_bufs_with_offset()
3662 free(iovs); in fs_write_alotof_bufs_with_offset()
3803 uv_buf_t* iovs; in test_fs_partial() local
3809 iovs = malloc(sizeof(*iovs) * iovcount); in test_fs_partial()
3810 ASSERT_NOT_NULL(iovs); in test_fs_partial()
3822 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), sizeof(test_buf)); in test_fs_partial()
3837 read_iovs = iovs; in test_fs_partial()
3855 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); in test_fs_partial()
3872 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL); in test_fs_partial()
3878 free(iovs); in test_fs_partial()