/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | stopwatch.h | 24 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, sizeof(old_value)); in StopwatchReadAndReset() [all …]
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | stopwatch.h | 24 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, sizeof(old_value)); in StopwatchReadAndReset() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/ |
D | gstrtspconnection.c | 3748 GstRTSPWatch *watch = (GstRTSPWatch *) source; in gst_rtsp_source_prepare() local 3750 if (watch->conn->initial_buffer != NULL) in gst_rtsp_source_prepare() 3753 *timeout = (watch->conn->timeout * 1000); in gst_rtsp_source_prepare() 3766 GstRTSPWatch * watch) in gst_rtsp_source_dispatch_read_get_channel() argument 3800 if (watch->funcs.closed) in gst_rtsp_source_dispatch_read_get_channel() 3801 watch->funcs.closed (watch, watch->user_data); in gst_rtsp_source_dispatch_read_get_channel() 3804 watch->keep_running = FALSE; in gst_rtsp_source_dispatch_read_get_channel() 3810 if (watch->funcs.error_full) in gst_rtsp_source_dispatch_read_get_channel() 3811 watch->funcs.error_full (watch, GST_RTSP_ESYS, &watch->message, in gst_rtsp_source_dispatch_read_get_channel() 3812 0, watch->user_data); in gst_rtsp_source_dispatch_read_get_channel() [all …]
|
D | gstrtspconnection.h | 275 GstRTSPResult (*message_received) (GstRTSPWatch *watch, GstRTSPMessage *message, 277 GstRTSPResult (*message_sent) (GstRTSPWatch *watch, guint id, 279 GstRTSPResult (*closed) (GstRTSPWatch *watch, gpointer user_data); 280 GstRTSPResult (*error) (GstRTSPWatch *watch, GstRTSPResult result, 282 GstRTSPStatusCode (*tunnel_start) (GstRTSPWatch *watch, gpointer user_data); 283 GstRTSPResult (*tunnel_complete) (GstRTSPWatch *watch, gpointer user_data); 284 GstRTSPResult (*error_full) (GstRTSPWatch *watch, GstRTSPResult result, 287 GstRTSPResult (*tunnel_lost) (GstRTSPWatch *watch, gpointer user_data); 288 GstRTSPResult (*tunnel_http_response) (GstRTSPWatch *watch, 304 void gst_rtsp_watch_reset (GstRTSPWatch *watch); [all …]
|
/third_party/glib/gio/ |
D | gregistrysettingsbackend.c | 133 RegistryWatch watch; member 174 WatchThreadState *watch; member 1161 registry_cache_destroy_tree (cache_node, self->watch); in g_registry_backend_reset() 1343 registry_cache_destroy_tree (node, event->self->watch); in registry_cache_remove_deleted() 1610 RegistryWatch *watch = &self->message.watch; in watch_thread_handle_message() local 1613 result = registry_watch_key (watch->hpath, watch->event); in watch_thread_handle_message() 1617 g_ptr_array_add (self->events, watch->event); in watch_thread_handle_message() 1618 g_ptr_array_add (self->handles, watch->hpath); in watch_thread_handle_message() 1619 g_ptr_array_add (self->prefixes, watch->prefix); in watch_thread_handle_message() 1620 g_ptr_array_add (self->cache_nodes, watch->cache_node); in watch_thread_handle_message() [all …]
|
D | gsettingsbackend.c | 209 GSettingsBackendWatch *watch; in g_settings_backend_watch() local 243 watch = g_slice_new (GSettingsBackendWatch); in g_settings_backend_watch() 244 watch->context = context; in g_settings_backend_watch() 245 watch->vtable = vtable; in g_settings_backend_watch() 246 g_weak_ref_init (&watch->target, target); in g_settings_backend_watch() 247 watch->target_ptr = target; in g_settings_backend_watch() 252 watch->next = backend->priv->watches; in g_settings_backend_watch() 253 backend->priv->watches = watch; in g_settings_backend_watch() 295 GSettingsBackendWatch *watch; in g_settings_backend_dispatch_signal() local 307 for (watch = backend->priv->watches; watch; watch = watch->next) in g_settings_backend_dispatch_signal() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
D | dbus_common.c | 59 DBusWatch *watch, eloop_event_type type) in process_watch() argument 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) < 0) in add_watch() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
D | dbus_common.c | 59 DBusWatch *watch, eloop_event_type type) in process_watch() argument 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() [all …]
|
/third_party/glib/glib/ |
D | giowin32.c | 705 GIOWin32Watch *watch = (GIOWin32Watch *)source; in g_io_win32_prepare() local 706 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel); in g_io_win32_prepare() 707 GIOWin32Channel *channel = (GIOWin32Channel *)watch->channel; in g_io_win32_prepare() 732 condition_to_string (watch->pollfd.events), in g_io_win32_prepare() 733 condition_to_string (watch->pollfd.revents), in g_io_win32_prepare() 763 if (watch->condition & G_IO_IN) in g_io_win32_prepare() 765 if (watch->condition & G_IO_OUT) in g_io_win32_prepare() 773 channel->fd, (HANDLE) watch->pollfd.fd, in g_io_win32_prepare() 775 if (WSAEventSelect (channel->fd, (HANDLE) watch->pollfd.fd, in g_io_win32_prepare() 795 g_print (" WSASetEvent(%p)", (WSAEVENT) watch->pollfd.fd); in g_io_win32_prepare() [all …]
|
D | giounix.c | 129 GIOUnixWatch *watch = (GIOUnixWatch *)source; in g_io_unix_prepare() local 130 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel); in g_io_unix_prepare() 136 return ((watch->condition & buffer_condition) == watch->condition); in g_io_unix_prepare() 142 GIOUnixWatch *watch = (GIOUnixWatch *)source; in g_io_unix_check() local 143 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel); in g_io_unix_check() 144 GIOCondition poll_condition = watch->pollfd.revents; in g_io_unix_check() 146 return ((poll_condition | buffer_condition) & watch->condition); in g_io_unix_check() 156 GIOUnixWatch *watch = (GIOUnixWatch *)source; in g_io_unix_dispatch() local 157 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel); in g_io_unix_dispatch() 166 return (*func) (watch->channel, in g_io_unix_dispatch() [all …]
|
/third_party/flutter/flutter/dev/benchmarks/microbenchmarks/lib/geometry/ |
D | matrix_utils_transform_bench.dart | 73 final Stopwatch watch = Stopwatch(); 74 watch.start(); 80 watch.stop(); 81 final int rectMicrosecondsPerspective = watch.elapsedMicroseconds; 83 watch.reset(); 84 watch.start(); 90 watch.stop(); 91 final int rectMicrosecondsAffine = watch.elapsedMicroseconds; 93 watch.reset(); 94 watch.start(); [all …]
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | watchApi.ts | 37 const watch = createWatchProgram(compilerHost); constant 38 const program = watch.getCurrentProgram().getProgram(); 88 const watch = createWatchProgram(watchCompilerHost); constant 89 checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, libFile.path]); 93 … checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, barPath, libFile.path]); 122 const watch = createWatchProgram(watchCompilerHost); constant 123 …checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.p… 128 …checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.p… 152 const watch = getWatch(config, { noEmit: true }, sys, createProgram); constant 153 return { sys, watch, mainFile, otherFile, config }; [all …]
|
/third_party/weston/libweston/ |
D | dbus.c | 64 DBusWatch *watch = data; in weston_dbus_dispatch_watch() local 67 if (dbus_watch_get_enabled(watch)) { in weston_dbus_dispatch_watch() 77 dbus_watch_handle(watch, flags); in weston_dbus_dispatch_watch() 83 static dbus_bool_t weston_dbus_add_watch(DBusWatch *watch, void *data) in weston_dbus_add_watch() argument 90 if (dbus_watch_get_enabled(watch)) { in weston_dbus_add_watch() 91 flags = dbus_watch_get_flags(watch); in weston_dbus_add_watch() 98 fd = dbus_watch_get_unix_fd(watch); in weston_dbus_add_watch() 100 watch); in weston_dbus_add_watch() 104 dbus_watch_set_data(watch, s, NULL); in weston_dbus_add_watch() 108 static void weston_dbus_remove_watch(DBusWatch *watch, void *data) in weston_dbus_remove_watch() argument [all …]
|
/third_party/flutter/flutter/dev/devicelab/lib/tasks/ |
D | analysis.dart | 33 ...(await _run(_FlutterRepoBenchmark(watch: true))).asMap('flutter_repo', 'watch'), 35 ...(await _run(_MegaGalleryBenchmark(watch: true))).asMap('mega_gallery', 'watch'), 60 _Benchmark({ this.watch = false }); 62 final bool watch; 70 if (watch) 71 result.add('--watch'); 76 section('Analyze $title ${watch ? 'with watcher' : ''} - ${iteration + 1} / $targetIterations'); 89 _FlutterRepoBenchmark({ bool watch = false }) : super(watch: watch); 106 _MegaGalleryBenchmark({ bool watch = false }) : super(watch: watch);
|
/third_party/node/test/parallel/ |
D | test-fs-promises-watch.js | 8 const { watch } = require('fs/promises'); 52 const watcher = watch(testCase[testCase.field]); 78 async () => { for await (const _ of watch(1)) {} }, 83 async () => { for await (const _ of watch(__filename, 1)) {} }, 88 async () => { for await (const _ of watch('', { persistent: 1 })) {} }, 93 async () => { for await (const _ of watch('', { recursive: 1 })) {} }, 98 async () => { for await (const _ of watch('', { encoding: 1 })) {} }, 103 async () => { for await (const _ of watch('', { signal: 1 })) {} }, 112 for await (const _ of watch(__filename, { signal })) {}
|
D | test-fs-watch-stop-sync.js | 18 const watch = fs.watchFile(__filename, common.mustNotCall()); constant 19 watch.once('stop', listener); 20 watch.stop(); 21 watch.removeListener('stop', listener);
|
D | test-fs-watch-stop-async.js | 7 const watch = fs.watchFile(__filename, common.mustNotCall()); constant 14 watch.once('stop', listener); // Should trigger. 15 watch.stop(); 19 watch.removeListener('stop', listener);
|
/third_party/pulseaudio/src/modules/dbus/ |
D | module-dbus-protocol.c | 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() 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() 261 flags = dbus_watch_get_flags(watch); in get_watch_flags() 264 if (!dbus_watch_get_enabled(watch)) in get_watch_flags() 276 static dbus_bool_t watch_add_cb(DBusWatch *watch, void *data) { in watch_add_cb() argument [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | allowJscheckJsTypeParameterNoCrash.types | 3 watch: Record<string, WatchHandler<any>>; 4 >watch : Record<string, WatchHandler<any>> 25 >vextend({ watch: { data1(val) { this.data2 = 1; }, data2(val) { }, }}) : void 27 >{ watch: { data1(val) { this.data2 = 1; }, data2(val) { }, }} : { watch: { data1(v… 29 watch: { 30 >watch : { data1(val: any): void; }
|
D | allowJscheckJsTypeParameterNoCrash.symbols | 6 watch: Record<string, WatchHandler<any>>; 7 >watch : Symbol(ComponentOptions.watch, Decl(func.ts, 0, 31)) 35 watch: { 36 >watch : Symbol(watch, Decl(app.js, 2, 24))
|
D | vueLikeDataAndPropsInference.types | 29 watch?: Record<string, WatchHandler<any>> 30 >watch : Record<string, WatchHandler<any>> 53 …{ bar: boolean } { return { bar: true } }, watch: { foo(newV… 55 …watch: { foo(newVal: string, oldVal: string): void { this.bar = false } … 80 watch: { 81 >watch : { foo(newVal: string, oldVal: string): void; }
|
/third_party/flutter/flutter/dev/benchmarks/microbenchmarks/lib/language/ |
D | sync_star_bench.dart | 20 final Stopwatch watch = Stopwatch(); 21 watch.start(); 25 final int traverseIterableSyncStar = watch.elapsedMicroseconds; 26 watch 32 final int traverseIterableList = watch.elapsedMicroseconds; 33 watch 39 final int traverseIterableGenerated = watch.elapsedMicroseconds; 40 watch
|
/third_party/typescript/tests/baselines/reference/tscWatch/consoleClearing/ |
D | with---extendedDiagnostics.js | 21 [[90m12:00:11 AM[0m] Starting compilation in watch mode... 27 options: {"watch":true,"extendedDiagnostics":true} property 35 Program options: {"watch":true,"extendedDiagnostics":true} property 77 options: {"watch":true,"extendedDiagnostics":true} property 83 Program options: {"watch":true,"extendedDiagnostics":true} property
|
D | with---diagnostics.js | 21 [[90m12:00:11 AM[0m] Starting compilation in watch mode... 27 options: {"watch":true,"diagnostics":true} property 33 Program options: {"watch":true,"diagnostics":true} property 75 options: {"watch":true,"diagnostics":true} property 81 Program options: {"watch":true,"diagnostics":true} property
|
/third_party/pulseaudio/src/pulsecore/ |
D | dbus-util.c | 78 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() 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, fd); in handle_io_event() 119 dbus_watch_handle(watch, flags); in handle_io_event() 143 static dbus_bool_t add_watch(DBusWatch *watch, void *data) { in add_watch() argument [all …]
|