Lines Matching refs:open_req2
106 static uv_fs_t open_req2; variable
1277 r = uv_fs_open(NULL, &open_req2, "test_file2", UV_FS_O_WRONLY | UV_FS_O_CREAT, in test_sendfile()
1280 ASSERT_GE(open_req2.result, 0); in test_sendfile()
1281 uv_fs_req_cleanup(&open_req2); in test_sendfile()
1283 r = uv_fs_sendfile(loop, &sendfile_req, open_req2.result, open_req1.result, in test_sendfile()
1293 r = uv_fs_close(NULL, &close_req, open_req2.result, NULL); in test_sendfile()
4343 &open_req2, in TEST_IMPL()
4348 ASSERT_LT(open_req2.result, 0); in TEST_IMPL()
4349 uv_fs_req_cleanup(&open_req2); in TEST_IMPL()
4357 &open_req2, in TEST_IMPL()
4362 ASSERT_GE(open_req2.result, 0); in TEST_IMPL()
4363 uv_fs_req_cleanup(&open_req2); in TEST_IMPL()
4365 r = uv_fs_close(NULL, &close_req, open_req2.result, NULL); in TEST_IMPL()
4408 &open_req2, in TEST_IMPL()
4414 ASSERT_EQ(open_req2.result, UV_EINVAL); in TEST_IMPL()
4415 uv_fs_req_cleanup(&open_req2); in TEST_IMPL()