Lines Matching refs:write_req
46 static uv_fs_t write_req; variable
111 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in refresh()
113 ASSERT_EQ(1, write_req.result); in refresh()
114 uv_fs_req_cleanup(&write_req); in refresh()
164 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in writeExpect()
166 ASSERT_EQ(1, write_req.result); in writeExpect()
167 uv_fs_req_cleanup(&write_req); in writeExpect()
170 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in writeExpect()
172 ASSERT_EQ(1, write_req.result); in writeExpect()
173 uv_fs_req_cleanup(&write_req); in writeExpect()
207 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in writeFail()
209 ASSERT_EQ(write_req.result, error); in writeFail()
210 uv_fs_req_cleanup(&write_req); in writeFail()
213 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in writeFail()
215 ASSERT_EQ(write_req.result, error); in writeFail()
216 uv_fs_req_cleanup(&write_req); in writeFail()