Lines Matching refs:close_req
111 static uv_fs_t close_req; variable
373 ASSERT_PTR_EQ(req, &close_req); in close_cb()
392 r = uv_fs_close(loop, &close_req, open_req1.result, close_cb); in ftruncate_cb()
413 r = uv_fs_close(loop, &close_req, open_req1.result, close_cb); in read_cb()
458 r = uv_fs_close(loop, &close_req, open_req1.result, close_cb); in fsync_cb()
1002 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_sync()
1004 ASSERT_OK(close_req.result); in fs_file_sync()
1005 uv_fs_req_cleanup(&close_req); in fs_file_sync()
1025 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_sync()
1027 ASSERT_OK(close_req.result); in fs_file_sync()
1028 uv_fs_req_cleanup(&close_req); in fs_file_sync()
1049 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_sync()
1051 ASSERT_OK(close_req.result); in fs_file_sync()
1052 uv_fs_req_cleanup(&close_req); in fs_file_sync()
1108 r = uv_fs_close(NULL, &close_req, open_req_noclose.result, NULL); in TEST_IMPL()
1110 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
1137 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_write_null_buffer()
1139 ASSERT_OK(close_req.result); in fs_file_write_null_buffer()
1140 uv_fs_req_cleanup(&close_req); in fs_file_write_null_buffer()
1176 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
1178 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
1185 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
1187 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
1290 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in test_sendfile()
1292 uv_fs_req_cleanup(&close_req); in test_sendfile()
1293 r = uv_fs_close(NULL, &close_req, open_req2.result, NULL); in test_sendfile()
1295 uv_fs_req_cleanup(&close_req); in test_sendfile()
2450 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in test_symlink_dir_impl()
2452 uv_fs_req_cleanup(&close_req); in test_symlink_dir_impl()
2459 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in test_symlink_dir_impl()
2461 uv_fs_req_cleanup(&close_req); in test_symlink_dir_impl()
3105 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_open_append()
3107 ASSERT_OK(close_req.result); in fs_file_open_append()
3108 uv_fs_req_cleanup(&close_req); in fs_file_open_append()
3122 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_open_append()
3124 ASSERT_OK(close_req.result); in fs_file_open_append()
3125 uv_fs_req_cleanup(&close_req); in fs_file_open_append()
3143 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_open_append()
3145 ASSERT_OK(close_req.result); in fs_file_open_append()
3146 uv_fs_req_cleanup(&close_req); in fs_file_open_append()
3181 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
3183 ASSERT_OK(close_req.result); in TEST_IMPL()
3184 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
3192 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
3194 ASSERT_OK(close_req.result); in TEST_IMPL()
3195 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
3215 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
3217 ASSERT_OK(close_req.result); in TEST_IMPL()
3218 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
3274 ASSERT_OK(uv_fs_close(NULL, &close_req, open_req1.result, NULL)); in fs_read_bufs()
3275 ASSERT_OK(close_req.result); in fs_read_bufs()
3276 uv_fs_req_cleanup(&close_req); in fs_read_bufs()
3311 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_read_file_eof()
3313 ASSERT_OK(close_req.result); in fs_read_file_eof()
3314 uv_fs_req_cleanup(&close_req); in fs_read_file_eof()
3337 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_read_file_eof()
3339 ASSERT_OK(close_req.result); in fs_read_file_eof()
3340 uv_fs_req_cleanup(&close_req); in fs_read_file_eof()
3377 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_write_multiple_bufs()
3379 ASSERT_OK(close_req.result); in fs_write_multiple_bufs()
3380 uv_fs_req_cleanup(&close_req); in fs_write_multiple_bufs()
3432 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_write_multiple_bufs()
3434 ASSERT_OK(close_req.result); in fs_write_multiple_bufs()
3435 uv_fs_req_cleanup(&close_req); in fs_write_multiple_bufs()
3500 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_write_alotof_bufs()
3502 ASSERT_OK(close_req.result); in fs_write_alotof_bufs()
3503 uv_fs_req_cleanup(&close_req); in fs_write_alotof_bufs()
3539 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_write_alotof_bufs()
3541 ASSERT_OK(close_req.result); in fs_write_alotof_bufs()
3542 uv_fs_req_cleanup(&close_req); in fs_write_alotof_bufs()
3655 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_write_alotof_bufs_with_offset()
3657 ASSERT_OK(close_req.result); in fs_write_alotof_bufs_with_offset()
3658 uv_fs_req_cleanup(&close_req); in fs_write_alotof_bufs_with_offset()
3716 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
3718 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
3984 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
3986 ASSERT_OK(close_req.result); in TEST_IMPL()
3987 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4030 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4032 ASSERT_OK(close_req.result); in TEST_IMPL()
4033 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4069 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4071 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4117 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_pos_close_check()
4119 uv_fs_req_cleanup(&close_req); in fs_file_pos_close_check()
4133 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in fs_file_pos_close_check()
4135 uv_fs_req_cleanup(&close_req); in fs_file_pos_close_check()
4351 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4353 ASSERT_OK(close_req.result); in TEST_IMPL()
4354 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4365 r = uv_fs_close(NULL, &close_req, open_req2.result, NULL); in TEST_IMPL()
4367 ASSERT_OK(close_req.result); in TEST_IMPL()
4368 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4401 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4403 ASSERT_OK(close_req.result); in TEST_IMPL()
4404 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4471 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4473 ASSERT_OK(close_req.result); in TEST_IMPL()
4474 uv_fs_req_cleanup(&close_req); in TEST_IMPL()
4494 r = uv_fs_close(NULL, &close_req, open_req1.result, NULL); in TEST_IMPL()
4498 uv_fs_req_cleanup(&close_req); in TEST_IMPL()