Lines Matching defs:iovs
3310 uv_buf_t iovs[2];
3325 iovs[0] = uv_buf_init(test_buf, sizeof(test_buf));
3326 iovs[1] = uv_buf_init(test_buf2, sizeof(test_buf2));
3327 r = uv_fs_write(NULL, &write_req, open_req1.result, iovs, 2, 0, NULL);
3346 iovs[0] = uv_buf_init(buf, sizeof(test_buf));
3347 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2));
3349 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, -1, NULL);
3363 iovs[0] = uv_buf_init(buf, sizeof(test_buf));
3364 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2));
3365 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, 0, NULL);
3370 r = uv_fs_read(NULL, &read_req, open_req1.result, &iovs[1], 1, read_req.result, NULL);
3407 uv_buf_t* iovs;
3419 iovs = malloc(sizeof(*iovs) * iovcount);
3420 ASSERT_NOT_NULL(iovs);
3434 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf));
3439 iovs,
3452 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf),
3466 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, iovcount, -1, NULL);
3501 free(iovs);
3515 uv_buf_t* iovs;
3532 iovs = malloc(sizeof(*iovs) * iovcount);
3533 ASSERT_NOT_NULL(iovs);
3554 iovs[index] = uv_buf_init(test_buf, sizeof(test_buf));
3559 iovs,
3572 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf),
3576 iovs, iovcount, offset, NULL);
3617 free(iovs);
3758 uv_buf_t* iovs;
3764 iovs = malloc(sizeof(*iovs) * iovcount);
3765 ASSERT_NOT_NULL(iovs);
3777 iovs[index] = uv_buf_init(buffer + index * sizeof(test_buf), sizeof(test_buf));
3792 read_iovs = iovs;
3810 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL);
3827 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL);
3833 free(iovs);