Lines Matching refs:fs_req
316 uv_fs_t fs_req; in TEST_IMPL() local
325 r = uv_fs_open(NULL, &fs_req, "stdout_file", O_CREAT | O_RDWR, in TEST_IMPL()
328 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
348 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
350 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
352 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
354 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
370 uv_fs_t fs_req; in TEST_IMPL() local
379 r = uv_fs_open(NULL, &fs_req, "stdout_file", O_CREAT | O_RDWR, in TEST_IMPL()
382 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
404 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
406 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
408 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
410 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
427 uv_fs_t fs_req; in TEST_IMPL() local
438 &fs_req, in TEST_IMPL()
444 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
466 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); in TEST_IMPL()
468 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
470 r = uv_fs_close(NULL, &fs_req, file, NULL); in TEST_IMPL()
472 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
493 uv_fs_t fs_req; in TEST_IMPL() local
505 &fs_req, in TEST_IMPL()
511 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
516 r = uv_fs_open(NULL, &fs_req, "stderr_file", O_CREAT | O_RDWR, in TEST_IMPL()
519 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
545 r = uv_fs_read(NULL, &fs_req, stdout_file, &buf, 1, 0, NULL); in TEST_IMPL()
547 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
549 r = uv_fs_close(NULL, &fs_req, stdout_file, NULL); in TEST_IMPL()
551 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
557 r = uv_fs_read(NULL, &fs_req, stderr_file, &buf, 1, 0, NULL); in TEST_IMPL()
559 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
561 r = uv_fs_close(NULL, &fs_req, stderr_file, NULL); in TEST_IMPL()
563 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
1507 uv_fs_t fs_req; in TEST_IMPL() local
1521 r = uv_fs_open(NULL, &fs_req, dev_null, O_RDWR, 0, NULL); in TEST_IMPL()
1523 fd = uv_get_osfhandle((uv_file) fs_req.result); in TEST_IMPL()
1524 uv_fs_req_cleanup(&fs_req); in TEST_IMPL()
1556 ASSERT(0 == uv_fs_close(NULL, &fs_req, r, NULL)); in TEST_IMPL()