Lines Matching refs:file
1449 uv_file file; in TEST_IMPL() local
1471 file = req.result; in TEST_IMPL()
1476 ASSERT_OK(fstat(file, &t)); in TEST_IMPL()
1477 ASSERT_OK(uv_fs_fstat(NULL, &req, file, NULL)); in TEST_IMPL()
1495 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
1501 r = uv_fs_fstat(NULL, &req, file, NULL); in TEST_IMPL()
1508 r = fstat(file, &t); in TEST_IMPL()
1585 r = uv_fs_fstat(loop, &req, file, fstat_cb); in TEST_IMPL()
1591 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
1652 uv_file file; in TEST_IMPL() local
1678 file = req.result; in TEST_IMPL()
1695 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
1728 uv_file file; in TEST_IMPL() local
1739 file = req.result; in TEST_IMPL()
1743 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
1767 r = uv_fs_fchmod(NULL, &req, file, 0600, NULL); in TEST_IMPL()
1802 r = uv_fs_fchmod(loop, &req, file, 0600, fchmod_cb); in TEST_IMPL()
1807 uv_fs_close(loop, &req, file, NULL); in TEST_IMPL()
1826 uv_file file; in TEST_IMPL() local
1839 file = req.result; in TEST_IMPL()
1843 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
1848 uv_fs_close(loop, &req, file, NULL); in TEST_IMPL()
1883 uv_file file; in TEST_IMPL() local
1896 file = req.result; in TEST_IMPL()
1900 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
1905 uv_fs_close(loop, &req, file, NULL); in TEST_IMPL()
1939 uv_file file; in TEST_IMPL() local
1951 file = req.result; in TEST_IMPL()
1961 r = uv_fs_fchown(NULL, &req, file, -1, -1, NULL); in TEST_IMPL()
1982 r = uv_fs_fchown(loop, &req, file, -1, -1, fchown_cb); in TEST_IMPL()
2009 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
2032 uv_file file; in TEST_IMPL() local
2046 file = req.result; in TEST_IMPL()
2050 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
2055 uv_fs_close(loop, &req, file, NULL); in TEST_IMPL()
2138 uv_file file; in TEST_IMPL() local
2147 file = req.result; in TEST_IMPL()
2150 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
2193 uv_file file; in TEST_IMPL() local
2219 file = req.result; in TEST_IMPL()
2223 r = uv_fs_write(NULL, &req, file, &iov, 1, -1, NULL); in TEST_IMPL()
2228 uv_fs_close(loop, &req, file, NULL); in TEST_IMPL()
2792 uv_file file; in TEST_IMPL() local
2815 file = req.result; /* FIXME probably not how it's supposed to be used */ in TEST_IMPL()
2818 r = uv_fs_futime(NULL, &req, file, atime, mtime, NULL); in TEST_IMPL()
2838 r = uv_fs_futime(loop, &futime_req, file, atime, mtime, futime_cb); in TEST_IMPL()
3057 int r, file; in TEST_IMPL() local
3066 file = r; in TEST_IMPL()
3069 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
3911 ASSERT_NULL(write_req.file.pathw); in TEST_IMPL()
4515 uv_file file; in TEST_IMPL() local
4527 file = req.result; in TEST_IMPL()
4529 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()
4540 file = req.result; in TEST_IMPL()
4542 r = uv_fs_fchmod(NULL, &req, file, S_IWUSR, NULL); in TEST_IMPL()
4546 r = uv_fs_close(NULL, &req, file, NULL); in TEST_IMPL()