Home
last modified time | relevance | path

Searched refs:watch (Results 1 - 25 of 119) sorted by relevance

12345

/third_party/skia/third_party/externals/libwebp/examples/
H A Dstopwatch.h24 static WEBP_INLINE void StopwatchReset(Stopwatch* watch) { in StopwatchReset() argument
25 QueryPerformanceCounter(watch); in StopwatchReset()
28 static WEBP_INLINE double StopwatchReadAndReset(Stopwatch* watch) { in StopwatchReadAndReset() argument
29 const LARGE_INTEGER old_value = *watch; in StopwatchReadAndReset()
31 if (!QueryPerformanceCounter(watch)) in StopwatchReadAndReset()
37 return (watch->QuadPart - old_value.QuadPart) / (double)freq.QuadPart; in StopwatchReadAndReset()
47 static WEBP_INLINE void StopwatchReset(Stopwatch* watch) { in StopwatchReset() argument
48 gettimeofday(watch, NULL); in StopwatchReset()
51 static WEBP_INLINE double StopwatchReadAndReset(Stopwatch* watch) { in StopwatchReadAndReset() argument
54 memcpy(&old_value, watch, sizeo in StopwatchReadAndReset()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_common.c59 DBusWatch *watch, eloop_event_type type) in process_watch()
66 dbus_watch_handle(watch, DBUS_WATCH_READABLE); in process_watch()
68 dbus_watch_handle(watch, DBUS_WATCH_WRITABLE); in process_watch()
70 dbus_watch_handle(watch, DBUS_WATCH_ERROR); in process_watch()
99 static dbus_bool_t add_watch(DBusWatch *watch, void *data) in add_watch() argument
105 if (!dbus_watch_get_enabled(watch)) in add_watch()
108 flags = dbus_watch_get_flags(watch); in add_watch()
109 fd = dbus_watch_get_unix_fd(watch); in add_watch()
112 priv, watch); in add_watch()
116 priv, watch); in add_watch()
58 process_watch(struct wpas_dbus_priv *priv, DBusWatch *watch, eloop_event_type type) process_watch() argument
129 remove_watch(DBusWatch *watch, void *data) remove_watch() argument
148 watch_toggled(DBusWatch *watch, void *data) watch_toggled() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_common.c59 DBusWatch *watch, eloop_event_type type) in process_watch()
66 dbus_watch_handle(watch, DBUS_WATCH_READABLE); in process_watch()
68 dbus_watch_handle(watch, DBUS_WATCH_WRITABLE); in process_watch()
70 dbus_watch_handle(watch, DBUS_WATCH_ERROR); in process_watch()
99 static dbus_bool_t add_watch(DBusWatch *watch, void *data) in add_watch() argument
105 if (!dbus_watch_get_enabled(watch)) in add_watch()
108 flags = dbus_watch_get_flags(watch); in add_watch()
109 fd = dbus_watch_get_unix_fd(watch); in add_watch()
112 process_watch_exception, priv, watch) < 0) in add_watch()
117 priv, watch) < in add_watch()
58 process_watch(struct wpas_dbus_priv *priv, DBusWatch *watch, eloop_event_type type) process_watch() argument
130 remove_watch(DBusWatch *watch, void *data) remove_watch() argument
149 watch_toggled(DBusWatch *watch, void *data) watch_toggled() argument
[all...]
/third_party/pulseaudio/src/modules/dbus/
H A Dmodule-dbus-protocol.c216 /* Called by PA mainloop when a D-Bus fd watch event needs handling. */
219 DBusWatch *watch = userdata; in io_event_cb() local
221 pa_assert(fd == dbus_watch_get_unix_fd(watch)); in io_event_cb()
223 if (!dbus_watch_get_enabled(watch)) { in io_event_cb()
224 pa_log_warn("Asked to handle disabled watch: %p %i", (void*) watch, fd); in io_event_cb()
237 dbus_watch_handle(watch, flags); in io_event_cb()
254 /* Translates D-Bus fd watch event flags to PA IO event flags. */
255 static pa_io_event_flags_t get_watch_flags(DBusWatch *watch) { in get_watch_flags() argument
259 pa_assert(watch); in get_watch_flags()
276 watch_add_cb(DBusWatch *watch, void *data) watch_add_cb() argument
297 watch_remove_cb(DBusWatch *watch, void *data) watch_remove_cb() argument
309 watch_toggled_cb(DBusWatch *watch, void *data) watch_toggled_cb() argument
[all...]
/third_party/node/test/sequential/
H A Dtest-fs-watch.js25 common.skip('IBMi does not support fs.watch()');
55 const filepath = path.join(testDir, 'watch.txt');
59 const watcher = fs.watch(filepath);
64 assert.strictEqual(filename, 'watch.txt');
81 fs.watch('hasOwnProperty', common.mustCall(function(event, filename) {
99 fs.watch(testsubdir, common.mustCall(function(event, filename) {
121 fs.watch(__filename, { persistent: false }, common.mustNotCall());
130 const w = fs.watch(__filename, common.mustNotCall());
148 const w = fs.watch(__filename, common.mustNotCall());
/third_party/pulseaudio/src/pulsecore/
H A Ddbus-util.c78 static pa_io_event_flags_t get_watch_flags(DBusWatch *watch) { in get_watch_flags() argument
82 pa_assert(watch); in get_watch_flags()
84 flags = dbus_watch_get_flags(watch); in get_watch_flags()
86 /* no watch flags for disabled watches */ in get_watch_flags()
87 if (!dbus_watch_get_enabled(watch)) in get_watch_flags()
101 DBusWatch *watch = userdata; in handle_io_event() local
103 pa_assert(fd == dbus_watch_get_unix_fd(watch)); in handle_io_event()
105 if (!dbus_watch_get_enabled(watch)) { in handle_io_event()
106 pa_log_warn("Asked to handle disabled watch: %p %i", (void*) watch, f in handle_io_event()
143 add_watch(DBusWatch *watch, void *data) add_watch() argument
161 remove_watch(DBusWatch *watch, void *data) remove_watch() argument
173 toggle_watch(DBusWatch *watch, void *data) toggle_watch() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dinotify.h19 __s32 wd; /* watch descriptor */
20 __u32 mask; /* watch mask */
26 /* the following are legal, implemented events that user-space can watch for */
40 /* the following are legal events. they are sent as needed to any watch */
50 #define IN_ONLYDIR 0x01000000 /* only watch the path if it is a directory */
52 #define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing watch */
72 * struct inotify_watch - represents a watch request on a specific inode
76 * ih, inode, and wd are never written to once the watch is created.
88 __s32 wd; /* watch descriptor */
89 __u32 mask; /* event mask for this watch */
172 inotify_init_watch(struct inotify_watch *watch) inotify_init_watch() argument
192 inotify_add_watch(struct inotify_handle *ih, struct inotify_watch *watch, struct inode *inode, __u32 mask) inotify_add_watch() argument
199 inotify_rm_watch(struct inotify_handle *ih, struct inotify_watch *watch) inotify_rm_watch() argument
210 inotify_remove_watch_locked(struct inotify_handle *ih, struct inotify_watch *watch) inotify_remove_watch_locked() argument
215 get_inotify_watch(struct inotify_watch *watch) get_inotify_watch() argument
219 put_inotify_watch(struct inotify_watch *watch) put_inotify_watch() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DallowJscheckJsTypeParameterNoCrash.js5 watch: Record<string, WatchHandler<any>>;
14 watch: {
34 watch: {
H A DAPISample_watcher.js29 function watch(rootFileNames: string[], options: ts.CompilerOptions) { function
58 // Now let's watch the files
63 // Add a watch on the file to handle next change
119 watch(currentDirectoryFiles, { module: ts.ModuleKind.CommonJS });
131 function watch(rootFileNames, options) {
155 // Now let's watch the files
159 // Add a watch on the file to handle next change
204 watch(currentDirectoryFiles, { module: ts.ModuleKind.CommonJS });
/third_party/node/test/parallel/
H A Dtest-fs-watch-encoding.js6 // On OS X, watch events are subject to peculiar timing oddities such that an
11 // On SmartOS, the watch events fire but the filename is null.
15 // fs-watch on folders have limited capability in AIX.
20 common.skip('folder watch capability is limited in AIX.');
47 const watcher = fs.watch(
60 const watcher = fs.watch(
72 const watcher = fs.watch(
H A Dtest-fs-null-bytes.js82 check(null, fs.watch, 'foo\u0000bar', common.mustNotCall());
117 check(null, fs.watch, fileUrl, assert.fail);
149 check(null, fs.watch, fileUrl2, assert.fail);
H A Dtest-fs-assert-encoding-error.js56 fs.watch(testPath, options, common.mustNotCall());
/third_party/ltp/include/lapi/
H A Dwatch_queue.h75 * Extended watch removal notification. This is used optionally if the type
83 struct watch_notification watch; member
103 * - watch.type = WATCH_TYPE_KEY_NOTIFY
104 * - watch.subtype = enum key_notification_type
107 struct watch_notification watch; member
/third_party/node/lib/internal/test_runner/
H A Drunner.js80 const kFilterArgs = ['--test', '--experimental-test-coverage', '--watch'];
421 opts.root.reporter[kEmitMessage]('test:watch:drained');
488 const { concurrency, timeout, signal, files, inspectPort, watch, setup, only } = options;
493 if (watch != null) {
494 validateBoolean(watch, 'options.watch');
511 if (watch) {
512 throw new ERR_INVALID_ARG_VALUE('options.shard', watch, 'shards not supported with watch mode');
545 if (watch) {
[all...]
/third_party/glfw/src/
H A Dlinux_joystick.c320 _glfw.linjs.watch = inotify_add_watch(_glfw.linjs.inotify, in _glfwInitJoysticksLinux()
376 if (_glfw.linjs.watch > 0) in _glfwTerminateJoysticksLinux()
377 inotify_rm_watch(_glfw.linjs.inotify, _glfw.linjs.watch); in _glfwTerminateJoysticksLinux()
H A Dlinux_joystick.h51 int watch; member
/third_party/typescript/lib/
H A DwatchGuard.js24 var watcher = fs.watch(directoryName, { recursive: true }, function () { return ({}); });
/third_party/node/lib/internal/fs/
H A Dwatchers.js124 syscall: 'watch',
209 syscall: 'watch',
249 syscall: 'watch',
304 async function* watch(filename, options = kEmptyObject) {
343 syscall: 'watch',
359 syscall: 'watch',
386 watch,
/third_party/node/test/async-hooks/
H A Dtest-fseventwrap.js14 common.skip('IBMi does not support fs.watch()');
19 const watcher = fs.watch(__filename, onwatcherChanged);
/third_party/node/lib/internal/main/
H A Dtest_runner.js65 watch: getOptionValue('--watch'),
/third_party/node/test/pummel/
H A Dtest-fs-watch-system-limit.js9 common.skip('The fs watch limit is OS-dependent');
43 fs.watch(file, () => {});`,
/third_party/typescript/tests/baselines/reference/tscWatch/programUpdates/
H A Dcreate-configured-project-without-file-list.js37 [12:00:25 AM] Starting compilation in watch mode...
44 Program options: {"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b/tsconfig.json"}
/third_party/skia/experimental/wasm-skp-debugger/
H A DMakefile33 npx karma start ./karma.conf.js --no-single-run --watch-poll
/third_party/skia/modules/canvaskit/
H A DMakefile105 npx karma start ./karma.conf.js --no-single-run --watch-poll
108 npx karma start ./karma.conf.js --no-single-run --watch-poll --headless
/third_party/skia/modules/pathkit/
H A DMakefile44 npx karma start ./karma.conf.js --no-single-run --watch-poll
49 ASM_JS=1 npx karma start ./karma.conf.js --no-single-run --watch-poll

Completed in 8 milliseconds

12345