Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 11 of 11) sorted by relevance

/libuv/src/
H A Dfs-poll.c46 uv_stat_t statbuf; member
186 uv_stat_t* statbuf; in poll_cb() local
201 &ctx->statbuf, in poll_cb()
208 statbuf = &req->statbuf; in poll_cb()
211 if (ctx->busy_polling < 0 || !statbuf_eq(&ctx->statbuf, statbuf)) in poll_cb()
212 ctx->poll_cb(ctx->parent_handle, 0, &ctx->statbuf, statbuf); in poll_cb()
214 ctx->statbuf = *statbuf; in poll_cb()
H A Duv-data-getter-setters.c110 return &req->statbuf; in uv_fs_get_statbuf()
/libuv/test/
H A Dtest-fs-copyfile.c59 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()
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()
138 ASSERT_EQ(12, req.statbuf.st_size); in TEST_IMPL()
H A Dtest-fs.c179 s = &req.statbuf; in check_permission()
559 ASSERT(stat_req.statbuf.st_mode & S_IFREG); in check_mkstemp_result()
827 s = &req.statbuf; in check_utime()
1455 memset(&req.statbuf, 0xaa, sizeof(req.statbuf)); in TEST_IMPL()
/libuv/src/win/
H A Dfs.c1657 statbuf->st_nlink = 1; in fs__stat_handle()
1683 statbuf->st_dev = 0; in fs__stat_handle()
1710 statbuf->st_mode = 0; in fs__stat_handle()
1762 statbuf->st_blocks = in fs__stat_handle()
1788 statbuf->st_flags = 0; in fs__stat_handle()
1793 statbuf->st_gid = 0; in fs__stat_handle()
1794 statbuf->st_uid = 0; in fs__stat_handle()
1795 statbuf->st_rdev = 0; in fs__stat_handle()
1796 statbuf->st_gen = 0; in fs__stat_handle()
1885 statbuf->st_nlink = 1; in fs__fstat_handle()
[all …]
/libuv/src/unix/
H A Dkqueue.c491 struct stat statbuf; in uv__fs_event() local
495 (!uv__fstat(handle->event_watcher.fd, &statbuf) && !(statbuf.st_mode & S_IFDIR))) { in uv__fs_event()
535 struct stat statbuf; in uv_fs_event_start() local
561 if (uv__fstat(fd, &statbuf)) in uv_fs_event_start()
564 if (!(statbuf.st_mode & S_IFDIR)) in uv_fs_event_start()
H A Daix.c442 struct stat statbuf; in uv__path_is_a_directory() local
444 if (uv__stat(filename, &statbuf) < 0) in uv__path_is_a_directory()
447 if (statbuf.st_type == VDIR) in uv__path_is_a_directory()
H A Dfs.c1705 X(FSTAT, uv__fs_fstat(req->file, &req->statbuf)); in uv__fs_work()
1710 X(LSTAT, uv__fs_lstat(req->path, &req->statbuf)); in uv__fs_work()
1726 X(STAT, uv__fs_stat(req->path, &req->statbuf)); in uv__fs_work()
1745 req->ptr = &req->statbuf; in uv__fs_work()
2262 if (req->fs_type != UV_FS_OPENDIR && req->ptr != &req->statbuf) in uv_fs_req_cleanup()
H A Dlinux.c1121 buf = &req->statbuf; in uv__iou_fs_statx_post()
/libuv/docs/src/
H A Dfs.rst197 .. c:member:: uv_stat_t uv_fs_t.statbuf
204 :c:func:`uv_fs_realpath` and serves as an alias to `statbuf`.
525 Returns `&req->statbuf`.
/libuv/include/
H A Duv.h1409 uv_stat_t statbuf; /* Stores the result of uv_fs_stat() and uv_fs_fstat(). */ member

Completed in 97 milliseconds