/libuv/src/unix/ |
H A D | no-fsevents.c | 27 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 31 int uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, in uv_fs_event_start() 36 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 40 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close()
|
H A D | fsevents.c | 29 int uv__fsevents_init(uv_fs_event_t* handle) { in uv__fsevents_init() 34 int uv__fsevents_close(uv_fs_event_t* handle) { in uv__fsevents_close() 84 uv_fs_event_t* handle; 109 uv_fs_event_t* handle, 184 uv_fs_event_t* handle; in uv__fsevents_cb() 226 uv_fs_event_t* handle; in uv__fsevents_event_cb() 242 handle = uv__queue_data(q, uv_fs_event_t, cf_member); in uv__fsevents_event_cb() 403 uv_fs_event_t* curr; in uv__fsevents_reschedule() 764 uv_fs_event_t* handle, in uv__cf_loop_signal() 791 int uv__fsevents_init(uv_fs_event_t* handle) { in uv__fsevents_init() [all …]
|
H A D | sunos.c | 432 static int uv__fs_event_rearm(uv_fs_event_t *handle) { in uv__fs_event_rearm() 452 uv_fs_event_t *handle = NULL; in uv__fs_event_read() 481 handle = (uv_fs_event_t*) pe.portev_user; in uv__fs_event_read() 509 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 515 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 557 static int uv__fs_event_stop(uv_fs_event_t* handle) { in uv__fs_event_stop() 579 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 584 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close() 604 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 612 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() [all …]
|
H A D | kqueue.c | 500 uv_fs_event_t* handle; in uv__fs_event() 509 handle = container_of(w, uv_fs_event_t, event_watcher); in uv__fs_event() 561 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 567 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 631 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 660 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close()
|
H A D | os390.c | 631 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 637 static int os390_regfileint(uv_fs_event_t* handle, char* path) { in os390_regfileint() 661 int uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, in uv_fs_event_start() 687 int uv__fs_event_stop(uv_fs_event_t* handle) { in uv__fs_event_stop() 727 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 733 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close() 748 uv_fs_event_t* handle; in os390_message_queue_handler() 785 handle = *(uv_fs_event_t**)(msg.__rfim_utok); in os390_message_queue_handler()
|
H A D | aix.c | 654 static int uv__parse_data(char *buf, int *events, uv_fs_event_t* handle) { in uv__parse_data() 722 uv_fs_event_t* handle; in uv__ahafs_event() 727 handle = container_of(event_watch, uv_fs_event_t, event_watcher); in uv__ahafs_event() 773 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 783 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 854 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 879 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close()
|
H A D | internal.h | 322 void uv__fs_event_close(uv_fs_event_t* handle); 389 int uv__fsevents_init(uv_fs_event_t* handle); 390 int uv__fsevents_close(uv_fs_event_t* handle);
|
H A D | linux.c | 2469 uv_fs_event_t* handle; in uv__inotify_fork() 2492 handle = uv__queue_data(q, uv_fs_event_t, watchers); in uv__inotify_fork() 2514 handle = uv__queue_data(q, uv_fs_event_t, watchers); in uv__inotify_fork() 2550 uv_fs_event_t* h; in uv__inotify_read() 2606 h = uv__queue_data(q, uv_fs_event_t, watchers); in uv__inotify_read() 2621 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 2627 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 2686 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 2706 void uv__fs_event_close(uv_fs_event_t* handle) { in uv__fs_event_close()
|
/libuv/docs/code/onchange/ |
H A D | main.c | 9 void run_command(uv_fs_event_t *handle, const char *filename, int events, int status) { in run_command() 37 uv_fs_event_t *fs_event_req = malloc(sizeof(uv_fs_event_t)); in main()
|
/libuv/docs/src/ |
H A D | fs_event.rst | 4 :c:type:`uv_fs_event_t` --- FS Event handle 35 .. c:type:: uv_fs_event_t 39 .. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int sta… 52 Event types that :c:type:`uv_fs_event_t` handles monitor. 105 .. c:function:: int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) 109 .. c:function:: int uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, u… 120 .. c:function:: int uv_fs_event_stop(uv_fs_event_t* handle) 124 .. c:function:: int uv_fs_event_getpath(uv_fs_event_t* handle, char* buffer, size_t* size)
|
H A D | fs_poll.rst | 8 :c:type:`uv_fs_event_t`, fs poll handles use `stat` to detect when a file has
|
/libuv/test/ |
H A D | test-fs-event.c | 32 static uv_fs_event_t fs_event; 53 static void fs_event_fail(uv_fs_event_t* handle, in fs_event_fail() 126 static void fail_cb(uv_fs_event_t* handle, in fail_cb() 148 static void fs_event_cb_del_dir(uv_fs_event_t* handle, in fs_event_cb_del_dir() 413 uv_fs_event_t* handles = handle->data; in timer_cb_watch_twice() 419 static void fs_event_cb_close(uv_fs_event_t* handle, in fs_event_cb_close() 522 uv_fs_event_t fs_event_root; in TEST_IMPL() 730 uv_fs_event_t watchers[2]; in TEST_IMPL() 1065 uv_fs_event_t fs_event1; in TEST_IMPL() 1066 uv_fs_event_t fs_event2; in TEST_IMPL() [all …]
|
H A D | benchmark-sizes.c | 40 fprintf(stderr, "uv_fs_event_t: %u bytes\n", (unsigned int) sizeof(uv_fs_event_t)); in BENCHMARK_IMPL()
|
H A D | test-fork.c | 468 static void fs_event_cb_file_current_dir(uv_fs_event_t* handle, in fs_event_cb_file_current_dir() 486 uv_fs_event_t fs_event; in assert_watch_file_current_dir() 623 uv_fs_event_t fs_event; in TEST_IMPL()
|
H A D | test-queue-foreach-delete.c | 128 uv_fs_event_t* handle,
|
H A D | test-ref.c | 200 uv_fs_event_t h; in TEST_IMPL()
|
/libuv/src/win/ |
H A D | fs-event.c | 37 uv_fs_event_t* handle) { in uv__fs_event_queue_readdirchanges() 140 int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) { in uv_fs_event_init() 156 int uv_fs_event_start(uv_fs_event_t* handle, in uv_fs_event_start() 362 int uv_fs_event_stop(uv_fs_event_t* handle) { in uv_fs_event_stop() 417 uv_fs_event_t* handle) { in uv__process_fs_event_req() 593 void uv__fs_event_close(uv_loop_t* loop, uv_fs_event_t* handle) { in uv__fs_event_close() 605 void uv__fs_event_endgame(uv_loop_t* loop, uv_fs_event_t* handle) { in uv__fs_event_endgame()
|
H A D | internal.h | 242 uv_fs_event_t* handle); 243 void uv__fs_event_close(uv_loop_t* loop, uv_fs_event_t* handle); 244 void uv__fs_event_endgame(uv_loop_t* loop, uv_fs_event_t* handle);
|
H A D | handle.c | 136 uv__fs_event_close(loop, (uv_fs_event_t*) handle); in uv_close()
|
H A D | handle-inl.h | 152 uv__fs_event_endgame(loop, (uv_fs_event_t*) handle); in uv__process_endgames()
|
H A D | req-inl.h | 205 uv__process_fs_event_req(loop, req, (uv_fs_event_t*) req->data); in uv__process_reqs()
|
/libuv/include/ |
H A D | uv.h | 234 typedef struct uv_fs_event_s uv_fs_event_t; typedef 405 typedef void (*uv_fs_event_cb)(uv_fs_event_t* handle, 1748 UV_EXTERN int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle); 1749 UV_EXTERN int uv_fs_event_start(uv_fs_event_t* handle, 1753 UV_EXTERN int uv_fs_event_stop(uv_fs_event_t* handle); 1754 UV_EXTERN int uv_fs_event_getpath(uv_fs_event_t* handle,
|
/libuv/src/ |
H A D | uv-common.c | 644 int uv_fs_event_getpath(uv_fs_event_t* handle, char* buffer, size_t* size) { in uv_fs_event_getpath()
|
/libuv/docs/src/guide/ |
H A D | basics.rst | 163 typedef struct uv_fs_event_s uv_fs_event_t;
|
H A D | filesystem.rst | 327 #. ``uv_fs_event_t *handle`` - The handle. The ``path`` field of the handle
|