Lines Matching refs:read_req
43 static uv_fs_t read_req; variable
187 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in writeExpect()
189 ASSERT_EQ(read_req.result, size); in writeExpect()
191 uv_fs_req_cleanup(&read_req); in writeExpect()
232 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in readExpect()
234 ASSERT_EQ(read_req.result, size); in readExpect()
236 uv_fs_req_cleanup(&read_req); in readExpect()
252 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in readFail()
254 ASSERT_EQ(read_req.result, error); in readFail()
255 uv_fs_req_cleanup(&read_req); in readFail()
258 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in readFail()
260 ASSERT_EQ(read_req.result, error); in readFail()
261 uv_fs_req_cleanup(&read_req); in readFail()