Home
last modified time | relevance | path

Searched refs:uv_fs_t (Results 1 – 25 of 36) sorted by relevance

12

/libuv/docs/code/uvcat/
H A Dmain.c6 void on_read(uv_fs_t *req);
8 uv_fs_t open_req;
9 uv_fs_t read_req;
10 uv_fs_t write_req;
16 void on_write(uv_fs_t *req) { in on_write()
25 void on_read(uv_fs_t *req) { in on_read()
30 uv_fs_t close_req; in on_read()
40 void on_open(uv_fs_t *req) { in on_open()
/libuv/test/
H A Dtest-fs-readdir.c27 static uv_fs_t opendir_req;
28 static uv_fs_t readdir_req;
29 static uv_fs_t closedir_req;
37 uv_fs_t req; in cleanup_test_files()
57 static void empty_readdir_cb(uv_fs_t* req) { in empty_readdir_cb()
100 uv_fs_t mkdir_req; in TEST_IMPL()
101 uv_fs_t rmdir_req; in TEST_IMPL()
346 uv_fs_t mkdir_req; in TEST_IMPL()
347 uv_fs_t rmdir_req; in TEST_IMPL()
348 uv_fs_t create_req; in TEST_IMPL()
[all …]
H A Dtest-metrics.c29 uv_fs_t open_req;
30 uv_fs_t write_req;
31 uv_fs_t close_req;
156 static void close_cb(uv_fs_t* req) { in close_cb()
168 static void write_cb(uv_fs_t* req) { in write_cb()
226 uv_fs_t unlink_req; in TEST_IMPL()
310 uv_fs_t open_req; in TEST_IMPL()
311 uv_fs_t stat1_req; in TEST_IMPL()
312 uv_fs_t stat2_req; in TEST_IMPL()
313 uv_fs_t unlink_req; in TEST_IMPL()
[all …]
H A Dtest-fs.c173 uv_fs_t req; in check_permission()
720 uv_fs_t req; in TEST_IMPL()
745 uv_fs_t req; in TEST_IMPL()
771 uv_fs_t req; in TEST_IMPL()
817 uv_fs_t req; in check_utime()
1248 uv_fs_t req; in test_sendfile()
1377 uv_fs_t req; in TEST_IMPL()
1443 uv_fs_t req; in TEST_IMPL()
1608 uv_fs_t req; in TEST_IMPL()
1646 uv_fs_t req; in TEST_IMPL()
[all …]
H A Dbenchmark-fs-stat.c41 uv_fs_t fs_req;
47 uv_fs_t reqs[MAX_CONCURRENT_REQS]; in warmup()
66 uv_fs_t req; in sync_bench()
85 static void stat_cb(uv_fs_t* fs_req) { in stat_cb()
H A Dtest-fs-copyfile.c41 static void fail_cb(uv_fs_t* req) { in fail_cb()
45 static void handle_result(uv_fs_t* req) { in handle_result()
46 uv_fs_t stat_req; in handle_result()
78 uv_fs_t req; in touch_file()
108 uv_fs_t req; in TEST_IMPL()
H A Dtest-fs-open-flags.c40 static uv_fs_t close_req;
41 static uv_fs_t mkdir_req;
42 static uv_fs_t open_req;
43 static uv_fs_t read_req;
44 static uv_fs_t rmdir_req;
45 static uv_fs_t unlink_req;
46 static uv_fs_t write_req;
H A Dtest-thread.c45 uv_fs_t handle;
59 static void fs_cb(uv_fs_t* handle);
101 static void fs_cb(uv_fs_t* handle) { in fs_cb()
H A Dtest-eintr-handling.c37 static uv_fs_t read_req;
H A Dtest-close-fd.c53 uv_fs_t req; in TEST_IMPL()
H A Dtest-fs-event.c62 uv_fs_t req; in create_dir()
71 uv_fs_t req; in create_file()
86 uv_fs_t req; in delete_dir()
94 uv_fs_t req; in delete_file()
103 uv_fs_t req; in touch_file()
585 uv_fs_t req; in TEST_IMPL()
H A Dtest-threadpool-cancel.c100 switch (((uv_fs_t*) req)->fs_type) { in known_broken()
125 static void fs_cb(uv_fs_t* req) { in fs_cb()
318 uv_fs_t reqs[26]; in TEST_IMPL()
/libuv/docs/src/guide/
H A Dfilesystem.rst5 ``uv_fs_t`` struct.
43 int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
50 void callback(uv_fs_t* req);
62 The ``result`` field of a ``uv_fs_t`` is the file descriptor in case of the
122 ``uv_fs_t.result`` field. The full list:
127 int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
138 int uv_fs_scandir_next(uv_fs_t* req, uv_dirent_t* ent);
140 int uv_fs_readdir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb);
142 int uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb);
143 int uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
[all …]
/libuv/src/unix/
H A Dfs.c1237 uv_fs_t fs_req; in uv__fs_copyfile()
1692 uv_fs_t* req; in uv__fs_work()
1763 uv_fs_t* req; in uv__fs_done()
1788 uv_fs_t* req, in uv_fs_access()
1800 uv_fs_t* req, in uv_fs_chmod()
1812 uv_fs_t* req, in uv_fs_chown()
1955 uv_fs_t* req, in uv_fs_link()
1969 uv_fs_t* req, in uv_fs_mkdir()
2008 uv_fs_t* req, in uv_fs_open()
2200 uv_fs_t* req, in uv_fs_utime()
[all …]
H A Dinternal.h346 int uv__iou_fs_close(uv_loop_t* loop, uv_fs_t* req);
348 uv_fs_t* req,
350 int uv__iou_fs_link(uv_loop_t* loop, uv_fs_t* req);
351 int uv__iou_fs_mkdir(uv_loop_t* loop, uv_fs_t* req);
352 int uv__iou_fs_open(uv_loop_t* loop, uv_fs_t* req);
354 uv_fs_t* req,
356 int uv__iou_fs_rename(uv_loop_t* loop, uv_fs_t* req);
358 uv_fs_t* req,
361 int uv__iou_fs_symlink(uv_loop_t* loop, uv_fs_t* req);
362 int uv__iou_fs_unlink(uv_loop_t* loop, uv_fs_t* req);
[all …]
H A Dlinux.c824 int uv__iou_fs_close(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_close()
864 uv_fs_t* req, in uv__iou_fs_fsync_or_fdatasync()
888 int uv__iou_fs_link(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_link()
913 int uv__iou_fs_mkdir(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_mkdir()
937 int uv__iou_fs_open(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_open()
959 int uv__iou_fs_rename(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_rename()
1026 uv_fs_t* req, in uv__iou_fs_read_or_write()
1059 uv_fs_t* req, in uv__iou_fs_statx()
1125 static void uv__iou_fs_statx_post(uv_fs_t* req) { in uv__iou_fs_statx_post()
1146 uv_fs_t* req; in uv__poll_io_uring()
[all …]
/libuv/src/win/
H A Dfs.c400 void fs__open(uv_fs_t* req) { in fs__open()
655 void fs__close(uv_fs_t* req) { in fs__close()
802 void fs__read(uv_fs_t* req) { in fs__read()
1008 void fs__write(uv_fs_t* req) { in fs__write()
1217 void fs__mkdir(uv_fs_t* req) { in fs__mkdir()
2922 uv_fs_t* req; in uv__fs_work()
2972 uv_fs_t* req; in uv__fs_done()
3043 uv_fs_t* req, in uv_fs_read()
3076 uv_fs_t* req, in uv_fs_write()
3464 uv_fs_t* req, in uv_fs_access()
[all …]
/libuv/src/
H A Duv-data-getter-setters.c93 uv_fs_type uv_fs_get_type(const uv_fs_t* req) { in uv_fs_get_type()
97 ssize_t uv_fs_get_result(const uv_fs_t* req) { in uv_fs_get_result()
101 void* uv_fs_get_ptr(const uv_fs_t* req) { in uv_fs_get_ptr()
105 const char* uv_fs_get_path(const uv_fs_t* req) { in uv_fs_get_path()
109 uv_stat_t* uv_fs_get_statbuf(uv_fs_t* req) { in uv_fs_get_statbuf()
H A Dfs-poll.c45 uv_fs_t fs_req; /* TODO(bnoordhuis) mark fs_req internal */
52 static void poll_cb(uv_fs_t* req);
185 static void poll_cb(uv_fs_t* req) { in poll_cb()
/libuv/docs/src/
H A Dfs.rst30 .. c:type:: uv_fs_t
180 .. c:type:: void (*uv_fs_cb)(uv_fs_t* req)
188 .. c:member:: uv_loop_t* uv_fs_t.loop
193 .. c:member:: uv_fs_type uv_fs_t.fs_type
197 .. c:member:: const char* uv_fs_t.path
201 .. c:member:: ssize_t uv_fs_t.result
207 .. c:member:: uv_stat_t uv_fs_t.statbuf
211 .. c:member:: void* uv_fs_t.ptr
222 .. c:function:: void uv_fs_req_cleanup(uv_fs_t* req)
521 .. c:function:: void* uv_fs_get_ptr(const uv_fs_t* req)
[all …]
H A Drequest.rst75 Only cancellation of :c:type:`uv_fs_t`, :c:type:`uv_getaddrinfo_t`,
85 * A :c:type:`uv_fs_t` request has its req->result field set to `UV_ECANCELED`.
/libuv/include/
H A Duv.h245 typedef struct uv_fs_s uv_fs_t; typedef
342 typedef void (*uv_fs_cb)(uv_fs_t* req);
1450 uv_fs_t* req,
1454 uv_fs_t* req,
1460 uv_fs_t* req,
1471 uv_fs_t* req,
1502 uv_fs_t* req,
1515 uv_fs_t* req,
1538 uv_fs_t* req,
1542 uv_fs_t* req,
[all …]
/libuv/docs/code/idle-compute/
H A Dmain.c6 uv_fs_t stdin_watcher;
20 void on_type(uv_fs_t *req) { in on_type()
/libuv/docs/code/pipe-echo-server/
H A Dmain.c71 uv_fs_t req; in remove_sock()
/libuv/docs/code/uvtee/
H A Dmain.c70 uv_fs_t file_req; in main()

Completed in 139 milliseconds

12