Home
last modified time | relevance | path

Searched refs:notification (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dnotification_test.cc56 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 …]
Dlifetime_test.cc42 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, &notification, &state); in RunTests()
88 std::thread thread_two(ThreadTwo, mutex, condvar, &notification, &state); in RunTests()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dnotification_listener.dart9 /// 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 …]
Dscroll_notification.dart17 /// 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 …]
Doverscroll_indicator.dart29 /// 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 …]
Dsize_changed_layout_notifier.dart11 /// 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/
Dscroll_notification_test.dart11 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 …]
Dnotification_test.dart34 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/
Dinspector-helper.js237 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/
D10-1.c24 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/
Dtest-inspector-contexts.js54 (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/
DWGL_ARB_create_context_robustness.txt42 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 …]
DGLX_ARB_create_context_robustness.txt42 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/
Dtest-inspector-waiting-for-disconnect.js9 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/
D2-1.c46 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, &notification) != 0) { in main()
73 if (mq_notify(mqdes, &notification) != -1) { in main()
D9-1.c45 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, &notification) != 0) { in main()
72 if (mq_notify(mqdes, &notification) == -1) { in main()
D4-1.c54 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, &notification) != 0) { in main()
86 if (mq_notify(mqdes, &notification) != 0) { in main()
D8-1.c37 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, &notification) == -1) { in main()
/third_party/openGLES/extensions/ARB/
DWGL_ARB_create_context_robustness.txt52 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 …]
DGLX_ARB_create_context_robustness.txt52 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/
DDispatcherBase_h.template129 …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/
DFlutterPluginAppLifeCycleDelegate.mm17 - (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/
Drefresh_indicator.dart139 /// 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/
DEGL_EXT_create_context_robustness.txt44 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/
DEGL_EXT_create_context_robustness.txt44 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

12345678910>>...13