Lines Matching refs:stat_req

120 static uv_fs_t stat_req;  variable
532 r = uv_fs_stat(NULL, &stat_req, req->path, NULL); in check_mkdtemp_result()
534 ASSERT(((uv_stat_t*)stat_req.ptr)->st_mode & S_IFDIR); in check_mkdtemp_result()
535 uv_fs_req_cleanup(&stat_req); in check_mkdtemp_result()
558 r = uv_fs_stat(NULL, &stat_req, req->path, NULL); in check_mkstemp_result()
560 ASSERT(stat_req.statbuf.st_mode & S_IFREG); in check_mkstemp_result()
561 uv_fs_req_cleanup(&stat_req); in check_mkstemp_result()
660 ASSERT_PTR_EQ(req, &stat_req); in stat_cb()
1207 r = uv_fs_stat(loop, &stat_req, "test_dir", stat_cb); in TEST_IMPL()
1211 r = uv_fs_stat(loop, &stat_req, "test_dir/", stat_cb); in TEST_IMPL()
1215 r = uv_fs_lstat(loop, &stat_req, "test_dir", stat_cb); in TEST_IMPL()
1219 r = uv_fs_lstat(loop, &stat_req, "test_dir/", stat_cb); in TEST_IMPL()
2621 uv_fs_t stat_req; in TEST_IMPL() local
2658 ASSERT_OK(uv_fs_lstat(loop, &stat_req, file_path, NULL)); in TEST_IMPL()
2759 r = uv_fs_stat(NULL, &stat_req, "\\", NULL); in TEST_IMPL()
2762 r = uv_fs_stat(NULL, &stat_req, "..\\..\\..\\..\\..\\..\\..", NULL); in TEST_IMPL()
2765 r = uv_fs_stat(NULL, &stat_req, "..", NULL); in TEST_IMPL()
2768 r = uv_fs_stat(NULL, &stat_req, "..\\", NULL); in TEST_IMPL()
2772 r = uv_fs_stat(NULL, &stat_req, "c:", NULL); in TEST_IMPL()
2775 r = uv_fs_stat(NULL, &stat_req, "c:\\", NULL); in TEST_IMPL()
2778 r = uv_fs_stat(NULL, &stat_req, "\\\\?\\C:\\", NULL); in TEST_IMPL()
3637 r = uv_fs_stat(NULL, &stat_req, "test_file", NULL); in fs_write_alotof_bufs_with_offset()
3639 ASSERT_EQ((int64_t)((uv_stat_t*)stat_req.ptr)->st_size, in fs_write_alotof_bufs_with_offset()
3641 uv_fs_req_cleanup(&stat_req); in fs_write_alotof_bufs_with_offset()
4674 r = uv_fs_stat(NULL, &stat_req, test_file_buf, NULL); in TEST_IMPL()