Home
last modified time | relevance | path

Searched refs:notification (Results 1 - 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dnotification_test.cc15 #include "absl/synchronization/notification.h"
53 // |ready_counter|, waits on the |notification|, and then increments the
56 Notification* notification, in RunWorker()
59 notification->WaitForNotification(); in RunWorker()
63 // Tests that the |notification| properly blocks and awakens threads. Assumes
64 // that the |notification| is not yet triggered. If |notify_before_waiting| is
65 // true, the |notification| is triggered before any threads are created, so the
66 // threads never block in WaitForNotification(). Otherwise, the |notification|
69 static void BasicTests(bool notify_before_waiting, Notification* notification) { in BasicTests() argument
70 EXPECT_FALSE(notification in BasicTests()
55 RunWorker(int i, ThreadSafeCounter* ready_counter, Notification* notification, ThreadSafeCounter* done_counter) RunWorker() argument
[all...]
H A Dlifetime_test.cc24 #include "absl/synchronization/notification.h"
32 // Thread one acquires a lock on 'mutex', wakes thread two via 'notification',
35 // Thread two waits on 'notification', then sets 'state' inside the 'mutex',
42 absl::Notification* notification, bool* state) { in ThreadOne()
43 // Test that the notification is in a valid initial state. in ThreadOne()
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()
64 notification in ThreadTwo()
41 ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, absl::Notification* notification, bool* state) ThreadOne() argument
59 ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, absl::Notification* notification, bool* state) ThreadTwo() argument
79 absl::Notification notification; RunTests() local
[all...]
/third_party/node/test/common/
H A Dinspector-helper.js230 const message = `Timed out waiting for matching notification (${desc})`;
236 function matchMethod(notification) {
237 return notification.method === methodOrPredicate;
241 let notification = null;
244 notification = this._unprocessedNotifications.shift();
246 notification = await new Promise(
249 } while (!predicate(notification));
250 return notification;
269 (notification) =>
270 this._isBreakOnLineNotification(notification, lin
[all...]
/third_party/node/deps/v8/src/torque/ls/
H A Dmessage-handler.cc69 PublishDiagnosticsNotification notification; in ResetCompilationErrorDiagnostics() local
70 notification.set_method("textDocument/publishDiagnostics"); in ResetCompilationErrorDiagnostics()
73 notification.params().set_uri(error_file); in ResetCompilationErrorDiagnostics()
75 USE(notification.params().diagnostics_size()); in ResetCompilationErrorDiagnostics()
77 writer(std::move(notification.GetJsonValue())); in ResetCompilationErrorDiagnostics()
82 // Each notification must contain all diagnostics for a specific file,
86 // 2) send one notification per entry (per file).
94 auto& notification = GetOrCreateNotificationForSource(id); in AddTorqueMessage() local
96 Diagnostic diagnostic = notification.params().add_diagnostics(); in AddTorqueMessage()
116 PublishDiagnosticsNotification& notification in GetOrCreateNotificationForSource()
170 PublishDiagnosticsNotification& notification = pair.second; SendCompilationDiagnostics() local
247 HandleTorqueFileListNotification(TorqueFileListNotification notification, MessageWriter writer) HandleTorqueFileListNotification() argument
296 HandleChangeWatchedFilesNotification( DidChangeWatchedFilesNotification notification, MessageWriter writer) HandleChangeWatchedFilesNotification() argument
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A 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/parallel/
H A Dtest-inspector-contexts.js54 (notification) => contextDestroyed = notification);
83 (notification) => contextDestroyed = notification);
112 (notification) => contextDestroyed = notification);
138 (notification) => contextDestroyed = notification);
H A Dtest-inspector-waiting-for-disconnect.js9 function mainContextDestroyed(notification) {
10 return notification.method === 'Runtime.executionContextDestroyed' &&
11 notification.params.executionContextId === 1;
25 await session.waitForNotification((notification) => {
26 return notification.method === 'NodeRuntime.waitingForDisconnect';
H A Dtest-inspector-bindings.js30 function debuggerPausedCallback(session, notification) {
31 const params = notification.params;
81 (notification) => debuggerPausedCallback(session, notification));
H A Dtest-worker-debug.js106 const notification = await notificationPromise;
107 const callFrame = notification.params.callFrames[0];
148 .then((notification) => notification.params.args[0].value);
177 const worker1attached = waitForWorkerAttach(session).then((notification) => {
179 return notification;
H A Dtest-inspector-console-top-frame.js4 // of the consoleAPICalled notification.
21 session.once('Runtime.consoleAPICalled', (notification) => {
22 topFrame = (notification.params.stackTrace.callFrames[0]);
27 logMessage(); // Triggers Inspector notification
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/
H A D2-1.c11 * Only one process may be registerd for notification by a message queue.
13 * notification, subsequent attempts to register for that message queue
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, &notification) != 0) { in main()
73 if (mq_notify(mqdes, &notification) != -1) { in main()
H A D9-1.c12 * notification by the message queue.
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, &notification) != 0) { in main()
72 if (mq_notify(mqdes, &notification) == -1) { in main()
H A 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()
H A D4-1.c11 * If the notification is sent to the registered process, its registration
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, &notification) != 0) { in main()
86 if (mq_notify(mqdes, &notification) != 0) { in main()
H A D1-1.c11 * If the argument notification is not NULL, it will register the
13 * message queue. The notification will be sent to the process when
57 struct sigevent notification; in main() local
69 notification.sigev_notify = SIGEV_SIGNAL; in main()
70 notification.sigev_signo = SIGUSR1; in main()
74 if (mq_notify(mqdes, &notification) != 0) { in main()
H A D3-1.c11 * If the notification is NULL and the process is currently registered
12 * for notification by the specified message queue, the existing registration
57 struct sigevent notification; in main() local
67 notification.sigev_notify = SIGEV_SIGNAL; in main()
68 notification.sigev_signo = SIGUSR1; in main()
72 if (mq_notify(mqdes, &notification) != 0) { in main()
H A D5-1.c11 * If a process has registered for notification of message arrival
14 * the appropriate mq_receive(). In this case, no notification will
66 struct sigevent notification; in main() local
97 notification.sigev_notify = SIGEV_SIGNAL; in main()
98 notification.sigev_signo = SIGUSR1; in main()
102 if (mq_notify(mqdes, &notification) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/
H A D4-1-buildonly.c15 struct sigevent *notification; in test_mq_notify_prototype() local
19 notification = NULL; in test_mq_notify_prototype()
21 err = mq_notify(mqdes, notification); in test_mq_notify_prototype()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_aka.c44 u16 notification; member
614 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_aka_build_notification()
615 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_aka_build_notification()
741 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
792 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
837 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_fullauth()
883 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
895 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
902 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
947 data->notification in eap_aka_process_challenge()
[all...]
H A Deap_server_sim.c38 u16 notification; member
311 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_sim_build_notification()
312 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_sim_build_notification()
579 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_start()
595 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_challenge()
604 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_challenge()
677 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_reauth()
695 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_reauth()
710 if (data->notification == EAP_SIM_SUCCESS && data->use_result_ind) in eap_sim_process_client_error()
722 wpa_printf(MSG_DEBUG, "EAP-SIM: Client replied to notification"); in eap_sim_process_notification()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_aka.c44 u16 notification; member
614 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_aka_build_notification()
615 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_aka_build_notification()
741 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
792 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
837 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_fullauth()
883 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
895 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
902 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
947 data->notification in eap_aka_process_challenge()
[all...]
H A Deap_server_sim.c38 u16 notification; member
311 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_sim_build_notification()
312 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_sim_build_notification()
579 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_start()
595 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_challenge()
604 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_challenge()
678 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_reauth()
697 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_reauth()
712 if (data->notification == EAP_SIM_SUCCESS && data->use_result_ind) in eap_sim_process_client_error()
724 wpa_printf(MSG_DEBUG, "EAP-SIM: Client replied to notification"); in eap_sim_process_notification()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D18-1.c52 static void notification(union sigval sv) in notification() function
56 UNRESOLVED(1, "Unexpected notification"); in notification()
81 se.sigev_notify_function = &notification; in main()
141 "No notification occured -- per process timers do not work?"); in main()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Djunit-4.10.jar ... org/junit/runner/ org/junit/runner/manipulation/ org/junit/runner/notification/ org/junit/runners/ org/junit/runners/model/ LICENSE.txt ...
/third_party/vk-gl-cts/android/package/src/com/drawelements/deqp/execserver/
H A DExecService.java84 // Intent to launch when notification is clicked. in onStartCommand()
102 Notification notification = builder.setContentIntent(pm) in onStartCommand()
106 startForeground(1, notification); in onStartCommand()

Completed in 12 milliseconds

12