Lines Matching refs:read_req

107 static uv_fs_t read_req;
401 ASSERT_PTR_EQ(req, &read_req);
432 r = uv_fs_read(loop, &read_req, open_req1.result, &iov, 1, -1,
1013 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
1015 ASSERT_GE(read_req.result, 0);
1017 uv_fs_req_cleanup(&read_req);
1042 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
1044 ASSERT_GE(read_req.result, 0);
1046 uv_fs_req_cleanup(&read_req);
3089 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
3092 ASSERT_EQ(26, read_req.result);
3096 uv_fs_req_cleanup(&read_req);
3164 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
3166 ASSERT_GE(read_req.result, 0);
3168 uv_fs_req_cleanup(&read_req);
3194 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result,
3196 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result,
3198 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result,
3207 &read_req,
3213 ASSERT_EQ(446, read_req.result);
3214 uv_fs_req_cleanup(&read_req);
3217 &read_req,
3223 ASSERT_EQ(read_req.result, /* 446 - 256 */ 190);
3224 uv_fs_req_cleanup(&read_req);
3279 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
3281 ASSERT_GE(read_req.result, 0);
3283 uv_fs_req_cleanup(&read_req);
3286 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1,
3287 read_req.result, NULL);
3289 ASSERT_OK(read_req.result);
3290 uv_fs_req_cleanup(&read_req);
3349 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, -1, NULL);
3351 ASSERT_EQ(read_req.result, sizeof(test_buf) + sizeof(test_buf2));
3354 uv_fs_req_cleanup(&read_req);
3357 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
3359 ASSERT_OK(read_req.result);
3360 uv_fs_req_cleanup(&read_req);
3365 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, 0, NULL);
3367 if (read_req.result == sizeof(test_buf)) {
3369 uv_fs_req_cleanup(&read_req);
3370 r = uv_fs_read(NULL, &read_req, open_req1.result, &iovs[1], 1, read_req.result, NULL);
3372 ASSERT_EQ(read_req.result, sizeof(test_buf2));
3374 ASSERT_EQ(read_req.result, sizeof(test_buf) + sizeof(test_buf2));
3378 uv_fs_req_cleanup(&read_req);
3381 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1,
3384 ASSERT_OK(read_req.result);
3385 uv_fs_req_cleanup(&read_req);
3466 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, iovcount, -1, NULL);
3470 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount);
3477 uv_fs_req_cleanup(&read_req);
3484 &read_req,
3491 ASSERT_OK(read_req.result);
3492 uv_fs_req_cleanup(&read_req);
3575 r = uv_fs_read(NULL, &read_req, open_req1.result,
3582 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount);
3589 uv_fs_req_cleanup(&read_req);
3600 &read_req,
3607 ASSERT_OK(read_req.result);
3608 uv_fs_req_cleanup(&read_req);
3652 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, 0, NULL);
3669 uv_fs_req_cleanup(&read_req);
3796 result = uv_fs_read(loop, &read_req, pipe_fds[0], read_iovs, iovcount, -1, NULL);
3806 uv_fs_req_cleanup(&read_req);
3827 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL);
3829 uv_fs_req_cleanup(&read_req);
3855 r = uv_fs_read(NULL, &read_req, 0, NULL, 0, -1, NULL);
3857 uv_fs_req_cleanup(&read_req);
3876 r = uv_fs_read(NULL, &read_req, 0, &iov, 0, -1, NULL);
3878 uv_fs_req_cleanup(&read_req);
3888 r = uv_fs_read(loop, &read_req, 0, NULL, 0, -1, fail_cb);
3891 uv_fs_req_cleanup(&read_req);
3899 r = uv_fs_read(loop, &read_req, 0, &iov, 0, -1, fail_cb);
3902 uv_fs_req_cleanup(&read_req);
4018 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, 0, NULL);
4022 uv_fs_req_cleanup(&read_req);
4046 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, 1, NULL);
4049 uv_fs_req_cleanup(&read_req);
4052 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
4054 uv_fs_req_cleanup(&read_req);
4063 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
4065 uv_fs_req_cleanup(&read_req);
4083 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
4086 uv_fs_req_cleanup(&read_req);
4120 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
4122 uv_fs_req_cleanup(&read_req);
4159 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL);
4162 uv_fs_req_cleanup(&read_req);