/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/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/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/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/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/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 …]
|
D | resolutionCache.ts | 16 … const watch = createWatchOfFilesAndCompilerOptions([root.path], host, { module: ModuleKind.AMD }); constant 18 …const f1IsNotModule = getDiagnosticOfFileFromProgram(watch.getCurrentProgram().getProgram(), root.… 19 …const cannotFindFoo = getDiagnosticOfFileFromProgram(watch.getCurrentProgram().getProgram(), impor… 40 …getDiagnosticOfFileFromProgram(watch.getCurrentProgram().getProgram(), root.path, newContent.index… 63 … getDiagnosticModuleNotFoundOfFile(watch.getCurrentProgram().getProgram(), root, "f2") 117 … const watch = createWatchOfFilesAndCompilerOptions([root.path], host, { module: ModuleKind.AMD }); constant 121 … getDiagnosticModuleNotFoundOfFile(watch.getCurrentProgram().getProgram(), root, "bar") 158 … const watch = createWatchOfFilesAndCompilerOptions([root.path], host, { module: ModuleKind.AMD }); constant 168 … getDiagnosticModuleNotFoundOfFile(watch.getCurrentProgram().getProgram(), root, "bar")
|
D | consoleClearing.ts | 41 const watch = createWatchOfConfigFile(configFile.path, baseline.sys); constant 48 … getPrograms: () => [[watch.getCurrentProgram().getProgram(), watch.getCurrentProgram()]], 50 watchOrSolution: watch
|
/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 | 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; }
|
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 | vueLikeDataAndPropsInference2.types | 29 watch?: Record<string, WatchHandler<any>> 30 >watch : Record<string, WatchHandler<any>> 54 …{ bar: boolean } { return { bar: true } }, watch: { foo(newV… 56 …watch: { foo(newVal: string, oldVal: string): void { this.bar = false } … 81 watch: { 82 >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/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 …]
|
/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/node/test/sequential/ |
D | test-fs-watch.js | 59 const watcher = fs.watch(filepath); 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/ltp/testcases/kernel/syscalls/utils/ |
D | inotify.h | 172 static inline void inotify_init_watch(struct inotify_watch *watch) in inotify_init_watch() argument 193 struct inotify_watch *watch, in inotify_add_watch() argument 200 struct inotify_watch *watch) in inotify_rm_watch() argument 211 struct inotify_watch *watch) in inotify_remove_watch_locked() argument 215 static inline void get_inotify_watch(struct inotify_watch *watch) in get_inotify_watch() argument 219 static inline void put_inotify_watch(struct inotify_watch *watch) in put_inotify_watch() argument
|