Searched refs:statbuf (Results 1 – 11 of 11) sorted by relevance
/libuv/src/ |
H A D | fs-poll.c | 46 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 D | uv-data-getter-setters.c | 110 return &req->statbuf; in uv_fs_get_statbuf()
|
/libuv/test/ |
H A D | test-fs-copyfile.c | 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() 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 D | test-fs.c | 180 s = &req.statbuf; in check_permission() 560 ASSERT(stat_req.statbuf.st_mode & S_IFREG); in check_mkstemp_result() 828 s = &req.statbuf; in check_utime() 1500 memset(&req.statbuf, 0xaa, sizeof(req.statbuf)); in TEST_IMPL()
|
/libuv/src/win/ |
H A D | fs.c | 1823 statbuf->st_nlink = 1; in fs__stat_assign_statbuf_null() 1851 statbuf->st_mode = 0; in fs__stat_assign_statbuf() 1871 statbuf->st_size = 0; in fs__stat_assign_statbuf() 1896 statbuf->st_blocks = in fs__stat_assign_statbuf() 1922 statbuf->st_flags = 0; in fs__stat_assign_statbuf() 1927 statbuf->st_gid = 0; in fs__stat_assign_statbuf() 1928 statbuf->st_uid = 0; in fs__stat_assign_statbuf() 1929 statbuf->st_rdev = 0; in fs__stat_assign_statbuf() 1930 statbuf->st_gen = 0; in fs__stat_assign_statbuf() 2028 statbuf->st_nlink = 1; in fs__fstat_handle() [all …]
|
/libuv/src/unix/ |
H A D | kqueue.c | 529 struct stat statbuf; in uv__fs_event() local 533 (!uv__fstat(handle->event_watcher.fd, &statbuf) && !(statbuf.st_mode & S_IFDIR))) { in uv__fs_event() 573 struct stat statbuf; in uv_fs_event_start() local 599 if (uv__fstat(fd, &statbuf)) in uv_fs_event_start() 602 if (!(statbuf.st_mode & S_IFDIR)) in uv_fs_event_start()
|
H A D | aix.c | 442 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 D | fs.c | 1722 X(FSTAT, uv__fs_fstat(req->file, &req->statbuf)); in uv__fs_work() 1727 X(LSTAT, uv__fs_lstat(req->path, &req->statbuf)); in uv__fs_work() 1743 X(STAT, uv__fs_stat(req->path, &req->statbuf)); in uv__fs_work() 1762 req->ptr = &req->statbuf; in uv__fs_work() 2282 if (req->fs_type != UV_FS_OPENDIR && req->ptr != &req->statbuf) in uv_fs_req_cleanup()
|
H A D | linux.c | 1150 buf = &req->statbuf; in uv__iou_fs_statx_post()
|
/libuv/docs/src/ |
H A D | fs.rst | 207 .. c:member:: uv_stat_t uv_fs_t.statbuf 214 :c:func:`uv_fs_realpath` and serves as an alias to `statbuf`. 535 Returns `&req->statbuf`.
|
/libuv/include/ |
H A D | uv.h | 1438 uv_stat_t statbuf; /* Stores the result of uv_fs_stat() and uv_fs_fstat(). */ member
|
Completed in 73 milliseconds