Home
last modified time | relevance | path

Searched refs:stat_req (Results 1 – 2 of 2) sorted by relevance

/libuv/test/
H A Dtest-fs-copyfile.c46 uv_fs_t stat_req; in handle_result() local
59 size = stat_req.statbuf.st_size; in handle_result()
60 mode = stat_req.statbuf.st_mode; in handle_result()
61 uid = stat_req.statbuf.st_uid; in handle_result()
62 gid = stat_req.statbuf.st_gid; in handle_result()
63 uv_fs_req_cleanup(&stat_req); in handle_result()
66 ASSERT_EQ(stat_req.statbuf.st_size, size); in handle_result()
67 ASSERT_EQ(stat_req.statbuf.st_mode, mode); in handle_result()
68 ASSERT_EQ(stat_req.statbuf.st_uid, uid); in handle_result()
69 ASSERT_EQ(stat_req.statbuf.st_gid, gid); in handle_result()
[all …]
H A Dtest-fs.c120 static uv_fs_t stat_req; variable
535 uv_fs_req_cleanup(&stat_req); in check_mkdtemp_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()
2621 uv_fs_t stat_req; in TEST_IMPL() local
2759 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()
[all …]

Completed in 18 milliseconds