Home
last modified time | relevance | path

Searched refs:watchers (Results 1 – 25 of 46) sorted by relevance

12

/third_party/libuv/src/unix/
Dlinux-inotify.c38 QUEUE watchers; member
103 QUEUE_INIT(&tmp_watcher_list.watchers); in uv__inotify_fork()
112 QUEUE_MOVE(&watcher_list->watchers, &queue); in uv__inotify_fork()
115 handle = QUEUE_DATA(q, uv_fs_event_t, watchers); in uv__inotify_fork()
123 QUEUE_INSERT_TAIL(&watcher_list->watchers, q); in uv__inotify_fork()
126 QUEUE_INSERT_TAIL(&tmp_watcher_list.watchers, &handle->watchers); in uv__inotify_fork()
133 QUEUE_MOVE(&tmp_watcher_list.watchers, &queue); in uv__inotify_fork()
137 handle = QUEUE_DATA(q, uv_fs_event_t, watchers); in uv__inotify_fork()
159 if ((!w->iterating) && QUEUE_EMPTY(&w->watchers)) { in maybe_free_watcher_list()
225 QUEUE_MOVE(&w->watchers, &queue); in uv__inotify_read()
[all …]
Depoll.c55 assert(loop->watchers != NULL); in uv__platform_invalidate_fd()
58 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
59 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
308 uv__io_t* watchers; in uv__io_poll() member
312 assert(loop->watchers != NULL); in uv__io_poll()
313 loop->watchers[loop->nwatchers] = x.watchers; in uv__io_poll()
314 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
328 w = loop->watchers[fd]; in uv__io_poll()
391 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
392 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Dkqueue.c283 assert(loop->watchers != NULL); in uv__io_poll()
284 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
307 w = loop->watchers[fd]; in uv__io_poll()
411 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
412 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
449 assert(loop->watchers != NULL); in uv__platform_invalidate_fd()
452 events = (struct kevent*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
453 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
Dpoll.c120 uv__io_t** watchers; in uv_poll_start() local
128 watchers = handle->loop->watchers; in uv_poll_start()
132 if (watchers[w->fd] != w) in uv_poll_start()
Dcore.c816 uv__io_t** watchers; in maybe_resize() local
826 if (loop->watchers != NULL) { in maybe_resize()
827 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()
828 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()
835 watchers = uv__reallocf(loop->watchers, in maybe_resize()
836 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()
838 if (watchers == NULL) in maybe_resize()
841 watchers[i] = NULL; in maybe_resize()
842 watchers[nwatchers] = fake_watcher_list; in maybe_resize()
843 watchers[nwatchers + 1] = fake_watcher_count; in maybe_resize()
[all …]
Dloop.c67 loop->watchers = NULL; in uv_loop_init()
133 uv__free(loop->watchers); in uv_loop_init()
158 w = loop->watchers[i]; in uv_loop_fork()
215 uv__free(loop->watchers); in uv__loop_close()
216 loop->watchers = NULL; in uv__loop_close()
Dsunos.c119 assert(loop->watchers != NULL); in uv__platform_invalidate_fd()
122 events = (struct port_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
123 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
284 assert(loop->watchers != NULL); in uv__io_poll()
285 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
286 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
298 w = loop->watchers[fd]; in uv__io_poll()
316 if (w != loop->watchers[fd]) in uv__io_poll()
334 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
335 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Dos390.c494 assert(loop->watchers != NULL); in uv__platform_invalidate_fd()
497 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
498 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
785 assert(loop->watchers != NULL); in uv__io_poll()
786 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
787 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
805 w = loop->watchers[fd]; in uv__io_poll()
833 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
834 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Daix.c283 assert(loop->watchers != NULL); in uv__io_poll()
284 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
299 w = loop->watchers[pc.fd]; in uv__io_poll()
334 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
335 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
1286 assert(loop->watchers != NULL); in uv__platform_invalidate_fd()
1289 events = (struct pollfd*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
1290 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
Dposix-poll.c269 w = loop->watchers[fd]; in uv__io_poll()
/third_party/typescript/src/typingsInstallerCore/
DtypingsInstaller.ts89 function getDetailWatchInfo(projectName: string, watchers: ProjectWatchers) {
90 return `Project: ${projectName} watcher already invoked: ${watchers.isInvoked}`;
135 const watchers = this.projectWatchers.get(projectName); constant
136 if (!watchers) {
142 clearMap(watchers, closeFileWatcher);
417 let watchers = this.projectWatchers.get(projectName)!;
419 if (!watchers) {
420 watchers = new Map();
421 this.projectWatchers.set(projectName, watchers);
424 copyEntries(watchers, toRemove);
[all …]
/third_party/node/test/parallel/
Dtest-fs-watch-encoding.js31 const watchers = new Set(); constant
34 watchers.add(watcher);
39 watchers.delete(watcher);
40 if (watchers.size === 0) {
85 const done = common.mustCall(unregisterWatcher, watchers.size);
/third_party/jsframework/runtime/vdom/
DNode.ts103 public get watchers() { method in Node
107 public set watchers(newWatchers: Watcher[]) { method in Node
/third_party/jsframework/runtime/main/model/
DdomHelper.ts112 if (anchor.watchers !== undefined) {
113 anchor.watchers.forEach(function(watcher) {
116 anchor.watchers = [];
Dcompiler.ts319 if (element.watchers !== undefined) {
320 element.watchers.forEach(function(watcher) {
323 element.watchers = [];
654 if (element.watchers !== undefined) {
655 element.watchers.forEach(function(watcher) {
658 element.watchers = [];
910 fragBlock.end.watchers.push(newWatcher);
/third_party/node/doc/api/
Ddebugger.md104 every breakpoint, each expression from the watchers list will be evaluated
109 `watchers` will print the active watchers. To remove a watcher, type
206 * `watchers`: List all watchers and their values (automatically listed on each
/third_party/libuv/test/
Dtest-fs-event.c678 uv_fs_event_t watchers[2]; in TEST_IMPL() local
683 timer.data = watchers; in TEST_IMPL()
685 ASSERT(0 == uv_fs_event_init(loop, watchers + 0)); in TEST_IMPL()
686 ASSERT(0 == uv_fs_event_start(watchers + 0, fail_cb, path, 0)); in TEST_IMPL()
687 ASSERT(0 == uv_fs_event_init(loop, watchers + 1)); in TEST_IMPL()
688 ASSERT(0 == uv_fs_event_start(watchers + 1, fail_cb, path, 0)); in TEST_IMPL()
/third_party/jsframework/test/ut/model/
Ddirective.ts77 watchers: [],
186 watchers: [],
/third_party/node/lib/
Dfs.js132 let watchers; variable
1584 if (!watchers)
1585 watchers = require('internal/fs/watchers');
1586 const watcher = new watchers.FSWatcher();
1587 watcher[watchers.kFSWatchStart](filename,
1639 if (!watchers)
1640 watchers = require('internal/fs/watchers');
1641 stat = new watchers.StatWatcher(options.bigint);
1642 stat[watchers.kFSStatWatcherStart](filename,
1646 stat[watchers.kFSStatWatcherAddOrCleanRef]('add');
[all …]
/third_party/libuv/include/uv/
Dlinux.h31 void* watchers[2]; \
Dunix.h226 uv__io_t** watchers; \
/third_party/python/Doc/library/
Dasyncio-policy.rst120 .. _asyncio-watchers:
134 watchers should implement, and has four different implementations:
157 custom child watchers. For such event loops, using
/third_party/node/deps/npm/node_modules/lockfile/
DCHANGELOG.md78 * Use polling instead of watchers
/third_party/node/lib/internal/debugger/
Dinspect_repl.js630 function watchers(verbose = false) { function
1020 get watchers() { getter
1021 return watchers();
/third_party/libuv/docs/src/
Dsignal.rst53 manage threads. Installing watchers for those signals will lead to unpredictable behavior

12