Lines Matching refs:path
32 #define sync_stat(req, path) \ argument
34 uv_fs_stat(NULL, (req), (path), NULL); \
40 const char* path; member
46 static void warmup(const char* path) { in warmup() argument
52 uv_fs_stat(uv_default_loop(), reqs + i, path, uv_fs_req_cleanup); in warmup()
58 sync_stat(reqs + 0, path); in warmup()
62 static void sync_bench(const char* path) { in sync_bench() argument
73 sync_stat(&req, path); in sync_bench()
89 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb); in stat_cb()
94 static void async_bench(const char* path) { in async_bench() argument
107 req->path = path; in async_bench()
109 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb); in async_bench()
132 const char path[] = "."; in BENCHMARK_IMPL() local
133 warmup(path); in BENCHMARK_IMPL()
134 sync_bench(path); in BENCHMARK_IMPL()
135 async_bench(path); in BENCHMARK_IMPL()