Lines Matching refs:iovs
3079 uv_buf_t iovs[2]; in fs_write_multiple_bufs() local
3093 iovs[0] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3094 iovs[1] = uv_buf_init(test_buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3095 r = uv_fs_write(NULL, &write_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3114 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3115 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3117 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, -1, NULL); in fs_write_multiple_bufs()
3131 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3132 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3133 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3138 r = uv_fs_read(NULL, &read_req, open_req1.result, &iovs[1], 1, read_req.result, NULL); in fs_write_multiple_bufs()
3175 uv_buf_t* iovs; in fs_write_alotof_bufs() local
3187 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs()
3188 ASSERT_NOT_NULL(iovs); in fs_write_alotof_bufs()
3202 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_alotof_bufs()
3207 iovs, in fs_write_alotof_bufs()
3220 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), in fs_write_alotof_bufs()
3234 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, iovcount, -1, NULL); in fs_write_alotof_bufs()
3268 free(iovs); in fs_write_alotof_bufs()
3282 uv_buf_t* iovs; in fs_write_alotof_bufs_with_offset() local
3299 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs_with_offset()
3300 ASSERT_NOT_NULL(iovs); in fs_write_alotof_bufs_with_offset()
3321 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_alotof_bufs_with_offset()
3326 iovs, in fs_write_alotof_bufs_with_offset()
3339 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), in fs_write_alotof_bufs_with_offset()
3343 iovs, iovcount, offset, NULL); in fs_write_alotof_bufs_with_offset()
3384 free(iovs); in fs_write_alotof_bufs_with_offset()
3525 uv_buf_t* iovs; in test_fs_partial() local
3531 iovs = malloc(sizeof(*iovs) * iovcount); in test_fs_partial()
3532 ASSERT_NOT_NULL(iovs); in test_fs_partial()
3544 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), sizeof(test_buf)); in test_fs_partial()
3559 read_iovs = iovs; in test_fs_partial()
3577 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); in test_fs_partial()
3593 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL); in test_fs_partial()
3599 free(iovs); in test_fs_partial()