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;
38 uv_fs_t req; in cleanup_test_files()
101 uv_fs_t mkdir_req; in TEST_IMPL()
102 uv_fs_t rmdir_req; in TEST_IMPL()
347 uv_fs_t mkdir_req; in TEST_IMPL()
348 uv_fs_t rmdir_req; in TEST_IMPL()
349 uv_fs_t create_req; in TEST_IMPL()
350 uv_fs_t close_req; in TEST_IMPL()
511 uv_fs_t req; in cleanup_symlink_test_files()
523 uv_fs_t mkdir_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()
1253 uv_fs_t req; in test_sendfile()
1382 uv_fs_t req; in TEST_IMPL()
1448 uv_fs_t req; in TEST_IMPL()
1613 uv_fs_t req; in TEST_IMPL()
1651 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.c1242 uv_fs_t fs_req; in uv__fs_copyfile()
1697 uv_fs_t* req; in uv__fs_work()
1768 uv_fs_t* req; in uv__fs_done()
1793 uv_fs_t* req, in uv_fs_access()
1805 uv_fs_t* req, in uv_fs_chmod()
1817 uv_fs_t* req, in uv_fs_chown()
1963 uv_fs_t* req, in uv_fs_link()
1977 uv_fs_t* req, in uv_fs_mkdir()
2016 uv_fs_t* req, in uv_fs_open()
2208 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);
349 uv_fs_t* req,
351 int uv__iou_fs_link(uv_loop_t* loop, uv_fs_t* req);
352 int uv__iou_fs_mkdir(uv_loop_t* loop, uv_fs_t* req);
353 int uv__iou_fs_open(uv_loop_t* loop, uv_fs_t* req);
355 uv_fs_t* req,
357 int uv__iou_fs_rename(uv_loop_t* loop, uv_fs_t* req);
359 uv_fs_t* req,
362 int uv__iou_fs_symlink(uv_loop_t* loop, uv_fs_t* req);
363 int uv__iou_fs_unlink(uv_loop_t* loop, uv_fs_t* req);
[all …]
H A Dlinux.c828 int uv__iou_fs_close(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_close()
888 uv_fs_t* req, in uv__iou_fs_fsync_or_fdatasync()
912 int uv__iou_fs_link(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_link()
936 int uv__iou_fs_mkdir(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_mkdir()
959 int uv__iou_fs_open(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_open()
981 int uv__iou_fs_rename(uv_loop_t* loop, uv_fs_t* req) { in uv__iou_fs_rename()
1047 uv_fs_t* req, in uv__iou_fs_read_or_write()
1080 uv_fs_t* req, in uv__iou_fs_statx()
1146 static void uv__iou_fs_statx_post(uv_fs_t* req) { in uv__iou_fs_statx_post()
1167 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()
1218 void fs__mkdir(uv_fs_t* req) { in fs__mkdir()
2924 uv_fs_t* req; in uv__fs_work()
2974 uv_fs_t* req; in uv__fs_done()
3045 uv_fs_t* req, in uv_fs_read()
3078 uv_fs_t* req, in uv_fs_write()
3466 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.h246 typedef struct uv_fs_s uv_fs_t; typedef
343 typedef void (*uv_fs_cb)(uv_fs_t* req);
1451 uv_fs_t* req,
1455 uv_fs_t* req,
1461 uv_fs_t* req,
1472 uv_fs_t* req,
1503 uv_fs_t* req,
1516 uv_fs_t* req,
1539 uv_fs_t* req,
1543 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 72 milliseconds

12