Lines Matching refs:fs_req
319 uv_fs_t fs_req; in TEST_IMPL() local
328 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, in TEST_IMPL()
331 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
351 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
353 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
355 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
357 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
373 uv_fs_t fs_req; in TEST_IMPL() local
382 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, in TEST_IMPL()
385 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
407 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
409 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
411 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
413 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
430 uv_fs_t fs_req; in TEST_IMPL() local
441 &fs_req, in TEST_IMPL()
447 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
469 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
471 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
473 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
475 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
496 uv_fs_t fs_req; in TEST_IMPL() local
508 &fs_req, in TEST_IMPL()
514 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
519 r = uv_fs_open(NULL, &fs_req, "stderr_file", O_CREAT | O_RDWR, in TEST_IMPL()
522 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
548 r = uv_fs_read(NULL, &fs_req, stdout_file, &buf, 1, 0, NULL); in TEST_IMPL()
550 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
552 r = uv_fs_close(NULL, &fs_req, stdout_file, NULL); in TEST_IMPL()
554 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
560 r = uv_fs_read(NULL, &fs_req, stderr_file, &buf, 1, 0, NULL); in TEST_IMPL()
562 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
564 r = uv_fs_close(NULL, &fs_req, stderr_file, NULL); in TEST_IMPL()
566 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
1672 uv_fs_t fs_req; in TEST_IMPL() local
1686 r = uv_fs_open(NULL, &fs_req, dev_null, UV_FS_O_RDWR, 0, NULL); in TEST_IMPL()
1688 fd = uv_get_osfhandle((uv_file) fs_req.result); in TEST_IMPL()
1689 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
1727 ASSERT_OK(uv_fs_close(NULL, &fs_req, r, NULL)); in TEST_IMPL()