Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 14 of 14) sorted by relevance

/libuv/test/
H A Dtest-getters-setters.c61 uv_fs_t* fs; in TEST_IMPL() local
94 fs = malloc(uv_req_size(UV_FS)); in TEST_IMPL()
95 uv_fs_stat(loop, fs, ".", NULL); in TEST_IMPL()
100 ASSERT_EQ(uv_fs_get_type(fs), UV_FS_STAT); in TEST_IMPL()
101 ASSERT_OK(uv_fs_get_result(fs)); in TEST_IMPL()
102 ASSERT_PTR_EQ(uv_fs_get_ptr(fs), uv_fs_get_statbuf(fs)); in TEST_IMPL()
103 ASSERT(uv_fs_get_statbuf(fs)->st_mode & S_IFDIR); in TEST_IMPL()
104 ASSERT_OK(strcmp(uv_fs_get_path(fs), ".")); in TEST_IMPL()
105 uv_fs_req_cleanup(fs); in TEST_IMPL()
111 free(fs); in TEST_IMPL()
H A Dtest-fs-event.c1185 uv_fs_event_t fs; in TEST_IMPL() local
1196 ASSERT_OK(uv_fs_event_init(uv_default_loop(), &fs)); in TEST_IMPL()
1197 ASSERT_OK(uv_fs_event_start(&fs, fs_event_cb_stop, path, 0)); in TEST_IMPL()
1212 uv_close((uv_handle_t*) &fs, NULL); in TEST_IMPL()
H A Dtest-fs.c3912 ASSERT_NULL(write_req.fs.info.new_pathw); in TEST_IMPL()
3913 ASSERT_NULL(write_req.fs.info.bufs); in TEST_IMPL()
/libuv/src/win/
H A Dfs.c409 memset(&req->fs, 0, sizeof(req->fs)); in uv__fs_req_init()
1540 req->fs.info.nbufs = 0; in fs__scandir()
2670 if (fs__utime_handle(handle, req->fs.time.atime, req->fs.time.mtime) != 0) { in fs__futime()
3196 if (req->fs.info.bufs != req->fs.info.bufsml) in uv_fs_req_cleanup()
3202 req->fs.info.bufs = NULL; in uv_fs_req_cleanup()
3221 req->fs.info.mode = mode; in uv_fs_open()
3250 req->fs.info.bufs = req->fs.info.bufsml; in uv_fs_read()
3283 req->fs.info.bufs = req->fs.info.bufsml; in uv_fs_write()
3325 req->fs.info.mode = mode; in uv_fs_mkdir()
3684 req->fs.info.mode = mode; in uv_fs_chmod()
[all …]
/libuv/
H A DMakefile.am32 libuv_la_SOURCES = src/fs-poll.c \
69 src/win/fs-event.c \
70 src/win/fs.c \
102 src/unix/fs.c \
178 test/test-fs-copyfile.c \
179 test/test-fs-event.c \
180 test/test-fs-poll.c \
181 test/test-fs.c \
182 test/test-fs-readdir.c \
183 test/test-fs-fd-hash.c \
[all …]
H A DChangeLog5 * win,fs: remove trailing slash in junctions (Hüseyin Açacak)
39 * win,fs: fix bug in fs__readdir (Hüseyin Açacak)
196 * win: fix fs.c ubsan failure (Matheus Izvekov)
355 * fs: fix WTF-8 decoding issue (Jameson Nash)
468 * fs: use WTF-8 on Windows (Stefan Karpinski)
1352 * unix,fs: on DVS fs, statx returns EOPNOTSUPP (Mark Klein)
1663 * fs: add uv_fs_lutime() (Sk Sajidul Kadir)
2079 * win: misc fs cleanup (cjihrig)
2752 * doc,fs: improve documentation (Bob Burger)
4062 * fs: add uv_fs_realpath() (Yuval Brik)
[all …]
H A DCMakeLists.txt175 src/fs-poll.c
206 src/win/fs.c
207 src/win/fs-event.c
240 src/unix/fs.c
503 test/benchmark-fs-stat.c
553 test/test-fs-copyfile.c
554 test/test-fs-event.c
555 test/test-fs-poll.c
556 test/test-fs.c
557 test/test-fs-readdir.c
[all …]
H A DLINKS.md97 * [fs](https://fs.r-lib.org/): Cross-platform file system operations
/libuv/docs/src/
H A Dapi.rst29 fs
H A Dfs_poll.rst8 :c:type:`uv_fs_event_t`, fs poll handles use `stat` to detect when a file has
9 changed so they can work on file systems where fs event handles can't.
H A Dfs_event.rst75 * By default, if the fs event watcher is given a directory name, we will
/libuv/include/uv/
H A Dwin.h636 } fs;
/libuv/src/
H A Duv-common.c693 return &req->fs.info.nbufs; in uv__get_nbufs()
/libuv/include/
H A Duv.h186 XX(FS, fs) \

Completed in 57 milliseconds