/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | notification_test.cc | 56 Notification* notification, in RunWorker() argument 59 notification->WaitForNotification(); in RunWorker() 69 static void BasicTests(bool notify_before_waiting, Notification* notification) { in BasicTests() argument 70 EXPECT_FALSE(notification->HasBeenNotified()); in BasicTests() 72 notification->WaitForNotificationWithTimeout(absl::Milliseconds(0))); in BasicTests() 73 EXPECT_FALSE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests() 77 EXPECT_FALSE(notification->WaitForNotificationWithTimeout(delay)); in BasicTests() 91 notification->Notify(); in BasicTests() 99 workers.push_back(std::thread(&RunWorker, i, &ready_counter, notification, in BasicTests() 110 notification->Notify(); in BasicTests() [all …]
|
D | lifetime_test.cc | 42 absl::Notification* notification, bool* state) { in ThreadOne() argument 44 ABSL_RAW_CHECK(!notification->HasBeenNotified(), "invalid Notification"); in ThreadOne() 50 notification->Notify(); in ThreadOne() 51 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadOne() 60 absl::Notification* notification, bool* state) { in ThreadTwo() argument 64 notification->WaitForNotification(); in ThreadTwo() 65 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadTwo() 79 absl::Notification notification; in RunTests() local 87 std::thread thread_one(ThreadOne, mutex, condvar, ¬ification, &state); in RunTests() 88 std::thread thread_two(ThreadTwo, mutex, condvar, ¬ification, &state); in RunTests()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | notification_listener.dart | 9 /// Return true to cancel the notification bubbling. Return false to allow the 10 /// notification to continue to be dispatched to further ancestors. 13 typedef NotificationListenerCallback<T extends Notification> = bool Function(T notification); 15 /// A notification that can bubble up the widget tree. 17 /// You can determine the type of a notification using the `is` operator to 18 /// check the [runtimeType] of the notification. 22 /// To send a notification, call [dispatch] on the notification you wish to 23 /// send. The notification will be delivered to any [NotificationListener] 37 /// the notification as it is bubbled (for example, increasing a `depth` field 52 /// Start bubbling this notification at the given build context. [all …]
|
D | scroll_notification.dart | 17 /// The number of viewports that this notification has bubbled through. 22 /// [RenderAbstractViewport] render objects through which this notification 65 /// [Scrollable] descendant, check that the [depth] property of the notification 68 /// When a scroll notification is received by a [NotificationListener], the 71 /// build or layout based on a scroll notification would result in a layout that 90 /// The build context of the widget that fired this notification. 103 /// A notification that a [Scrollable] widget has started scrolling. 108 /// * [ScrollNotification], which describes the notification lifecycle. 110 /// Creates a notification that a [Scrollable] widget has started scrolling. 131 /// A notification that a [Scrollable] widget has changed its scroll position. [all …]
|
D | overscroll_indicator.dart | 29 /// on the notification. 95 /// By default, checks whether `notification.depth == 0`. Set it to something 158 bool _handleScrollNotification(ScrollNotification notification) { 159 if (!widget.notificationPredicate(notification)) 161 if (notification is OverscrollNotification) { 163 if (notification.overscroll < 0.0) { 165 } else if (notification.overscroll > 0.0) { 177 assert(notification.metrics.axis == widget.axis); 179 if (notification.velocity != 0.0) { 180 assert(notification.dragDetails == null); [all …]
|
D | size_changed_layout_notifier.dart | 11 /// this notification has changed, and that therefore any assumptions about that 17 /// This notification can be used for triggering repaints, but if you use this 18 /// notification to trigger rebuilds or relayouts, you'll create a backwards 29 /// * [SizeChangedLayoutNotifier], which sends this notification. 36 /// The notification is not sent for the initial layout (since the size doesn't 39 /// To listen for the notification dispatched by this widget, use a 89 // Don't send the initial notification, or this will be SizeObserver all
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | scroll_notification_test.dart | 11 testWidgets('Scroll notification basics', (WidgetTester tester) async { 12 ScrollNotification notification; 17 notification = value; 27 expect(notification, isInstanceOf<ScrollStartNotification>()); 28 expect(notification.depth, equals(0)); 29 final ScrollStartNotification start = notification; 35 expect(notification, isInstanceOf<ScrollUpdateNotification>()); 36 expect(notification.depth, equals(0)); 37 final ScrollUpdateNotification update = notification; 44 expect(notification, isInstanceOf<ScrollEndNotification>()); [all …]
|
D | notification_test.dart | 34 final Notification notification = MyNotification(); 35 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException)); 36 expect(log, <dynamic>['b', notification, 'a', notification]); 58 final Notification notification = MyNotification(); 59 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException)); 60 expect(log, <dynamic>['b', notification]);
|
/third_party/node/test/common/ |
D | inspector-helper.js | 237 function matchMethod(notification) { argument 238 return notification.method === methodOrPredicate; 242 let notification = null; 245 notification = this._unprocessedNotifications.shift(); 247 notification = await new Promise( 250 } while (!predicate(notification)); 251 return notification; 270 (notification) => 271 this._isBreakOnLineNotification(notification, line, url), 279 _matchesConsoleOutputNotification(notification, type, values) { argument [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 10-1.c | 24 static volatile int notification; variable 32 notification = info->si_code; in handler() 34 switch (notification) { in handler() 50 while (notification != val) { in wait_for_notification() 89 notification = 0; in main() 100 notification = 0; in main()
|
/third_party/node/test/sequential/ |
D | test-inspector-contexts.js | 54 (notification) => contextDestroyed = notification); 83 (notification) => contextDestroyed = notification); 112 (notification) => contextDestroyed = notification); 138 (notification) => contextDestroyed = notification);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | WGL_ARB_create_context_robustness.txt | 42 buffer access behavior and a specified graphics reset notification 97 specifies the <reset notification behavior> of the rendering 98 context. Reset notification behavior is defined in the 104 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and 109 Add "robust buffer access flag" and "reset notification behavior" to 120 "* If the reset notification behavior of <hShareContext> and the 126 "If the reset notification behavior of <hglrc1> and <hglrc2> are 148 notification behavior (the value of attribute 152 wglCreateContextAttribsARB if the reset notification behavior of 153 <hShareContext> does not match the reset notification behavior of [all …]
|
D | GLX_ARB_create_context_robustness.txt | 42 buffer access behavior and a specified graphics reset notification 97 specifies the <reset notification behavior> of the rendering 98 context. Reset notification behavior is defined in the 104 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and 109 Add "robust buffer access flag" and "reset notification behavior" to 119 "* If the reset notification behavior of <share_context> and the 138 GL_ARB_robustness extension with the specified reset notification 142 BadMatch is generated if the reset notification behavior of 143 <share_context> does not match the reset notification behavior of 173 Version 2, 2010/07/21 - Move reset notification behavior from a GL [all …]
|
/third_party/node/test/parallel/ |
D | test-inspector-waiting-for-disconnect.js | 9 function mainContextDestroyed(notification) { argument 10 return notification.method === 'Runtime.executionContextDestroyed' && 11 notification.params.executionContextId === 1; 25 await session.waitForNotification((notification) => { 26 return notification.method === 'NodeRuntime.waitingForDisconnect';
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/ |
D | 2-1.c | 46 struct sigevent notification; in main() local 58 notification.sigev_notify = SIGEV_SIGNAL; in main() 59 notification.sigev_signo = SIGUSR1; in main() 60 if (mq_notify(mqdes, ¬ification) != 0) { in main() 73 if (mq_notify(mqdes, ¬ification) != -1) { in main()
|
D | 9-1.c | 45 struct sigevent notification; in main() local 57 notification.sigev_notify = SIGEV_SIGNAL; in main() 58 notification.sigev_signo = SIGUSR1; in main() 59 if (mq_notify(mqdes, ¬ification) != 0) { in main() 72 if (mq_notify(mqdes, ¬ification) == -1) { in main()
|
D | 4-1.c | 54 struct sigevent notification; in main() local 66 notification.sigev_notify = SIGEV_SIGNAL; in main() 67 notification.sigev_signo = SIGUSR1; in main() 71 if (mq_notify(mqdes, ¬ification) != 0) { in main() 86 if (mq_notify(mqdes, ¬ification) != 0) { in main()
|
D | 8-1.c | 37 struct sigevent notification; in main() local 41 notification.sigev_notify = SIGEV_SIGNAL; in main() 42 notification.sigev_signo = SIGUSR1; in main() 44 if (mq_notify(mqdes, ¬ification) == -1) { in main()
|
/third_party/openGLES/extensions/ARB/ |
D | WGL_ARB_create_context_robustness.txt | 52 buffer access behavior and a specified graphics reset notification 107 specifies the <reset notification behavior> of the rendering 108 context. Reset notification behavior is defined in the 114 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and 119 Add "robust buffer access flag" and "reset notification behavior" to 130 "* If the reset notification behavior of <hShareContext> and the 136 "If the reset notification behavior of <hglrc1> and <hglrc2> are 158 notification behavior (the value of attribute 162 wglCreateContextAttribsARB if the reset notification behavior of 163 <hShareContext> does not match the reset notification behavior of [all …]
|
D | GLX_ARB_create_context_robustness.txt | 52 buffer access behavior and a specified graphics reset notification 107 specifies the <reset notification behavior> of the rendering 108 context. Reset notification behavior is defined in the 114 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and 119 Add "robust buffer access flag" and "reset notification behavior" to 129 "* If the reset notification behavior of <share_context> and the 148 GL_ARB_robustness extension with the specified reset notification 152 BadMatch is generated if the reset notification behavior of 153 <share_context> does not match the reset notification behavior of 183 Version 2, 2010/07/21 - Move reset notification behavior from a GL [all …]
|
/third_party/node/tools/inspector_protocol/lib/ |
D | DispatcherBase_h.template | 129 …static std::unique_ptr<InternalResponse> createNotification(const String& notification, std::uniqu… 137 InternalResponse(int callId, const String& notification, std::unique_ptr<Serializable> params); 146 static std::unique_ptr<InternalRawNotification> fromJSON(String notification) 148 …urn std::unique_ptr<InternalRawNotification>(new InternalRawNotification(std::move(notification))); 151 static std::unique_ptr<InternalRawNotification> fromBinary(std::vector<uint8_t> notification) 153 …urn std::unique_ptr<InternalRawNotification>(new InternalRawNotification(std::move(notification))); 169 explicit InternalRawNotification(String notification) 170 : m_jsonNotification(std::move(notification)) { } 171 explicit InternalRawNotification(std::vector<uint8_t> notification) 172 : m_binaryNotification(std::move(notification)) { }
|
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/ |
D | FlutterPluginAppLifeCycleDelegate.mm | 17 - (void)handleDidEnterBackground:(NSNotification*)notification; 18 - (void)handleWillEnterForeground:(NSNotification*)notification; 19 - (void)handleWillResignActive:(NSNotification*)notification; 20 - (void)handleDidBecomeActive:(NSNotification*)notification; 21 - (void)handleWillTerminate:(NSNotification*)notification; 131 - (void)handleDidEnterBackground:(NSNotification*)notification { 160 - (void)handleWillEnterForeground:(NSNotification*)notification { 175 - (void)handleWillResignActive:(NSNotification*)notification { 187 - (void)handleDidBecomeActive:(NSNotification*)notification { 199 - (void)handleWillTerminate:(NSNotification*)notification { [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | refresh_indicator.dart | 139 /// By default, checks whether `notification.depth == 0`. Set it to something 207 bool _handleScrollNotification(ScrollNotification notification) { 208 if (!widget.notificationPredicate(notification)) 210 if (notification is ScrollStartNotification && notification.metrics.extentBefore == 0.0 && 211 _mode == null && _start(notification.metrics.axisDirection)) { 218 switch (notification.metrics.axisDirection) { 233 } else if (notification is ScrollUpdateNotification) { 235 if (notification.metrics.extentBefore > 0.0) { 238 _dragOffset -= notification.scrollDelta; 239 _checkDragOffset(notification.metrics.viewportDimension); [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_create_context_robustness.txt | 44 reset notification behavior. 103 EXT specifies the <reset notification behavior> of the rendering 108 Reset notification behavior is defined in the GL_EXT_robustness 114 upon reset notification as described by the GL_EXT_robustness. The 121 with the requested context flags and context reset notification 125 * If the reset notification behavior of <share_context> and the 138 GL_EXT_robustness extension and the specified reset notification 142 BAD_MATCH is generated if the reset notification behavior of 143 <share_context> does not match the reset notification behavior of
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_create_context_robustness.txt | 44 reset notification behavior. 103 EXT specifies the <reset notification behavior> of the rendering 108 Reset notification behavior is defined in the GL_EXT_robustness 114 upon reset notification as described by the GL_EXT_robustness. The 121 with the requested context flags and context reset notification 125 * If the reset notification behavior of <share_context> and the 138 GL_EXT_robustness extension and the specified reset notification 142 BAD_MATCH is generated if the reset notification behavior of 143 <share_context> does not match the reset notification behavior of
|