Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/external/rust/crates/tokio/tests/
Dsync_notify.rs13 let notify = Notify::new(); in notify_notified_one() localVariable
14 let mut notified = spawn(async { notify.notified().await }); in notify_notified_one()
16 notify.notify_one(); in notify_notified_one()
22 let notify = Notify::new(); in notified_one_notify() localVariable
23 let mut notified = spawn(async { notify.notified().await }); in notified_one_notify()
27 notify.notify_one(); in notified_one_notify()
34 let notify = Notify::new(); in notified_multi_notify() localVariable
35 let mut notified1 = spawn(async { notify.notified().await }); in notified_multi_notify()
36 let mut notified2 = spawn(async { notify.notified().await }); in notified_multi_notify()
41 notify.notify_one(); in notified_multi_notify()
[all …]
/external/python/cpython3/PC/bdist_wininst/
Dextract.c28 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify) in ensure_directory() argument
36 if (!CreateDirectory(pathname, NULL) && notify) in ensure_directory()
37 notify(SYSTEM_ERROR, in ensure_directory()
40 notify(DIR_CREATED, pathname); in ensure_directory()
46 if (notify) in ensure_directory()
47 notify(SYSTEM_ERROR, in ensure_directory()
62 NOTIFYPROC notify) in map_new_file() argument
80 if (notify && notify(CAN_OVERWRITE, filename)) in map_new_file()
88 if (notify) in map_new_file()
89 notify(FILE_OVERWRITTEN, filename); in map_new_file()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Dextract.c29 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify) in ensure_directory() argument
37 if (!CreateDirectory(pathname, NULL) && notify) in ensure_directory()
38 notify(SYSTEM_ERROR, in ensure_directory()
41 notify(DIR_CREATED, pathname); in ensure_directory()
47 if (notify) in ensure_directory()
48 notify(SYSTEM_ERROR, in ensure_directory()
63 NOTIFYPROC notify) in map_new_file() argument
81 if (notify && notify(CAN_OVERWRITE, filename)) in map_new_file()
89 if (notify) in map_new_file()
90 notify(FILE_OVERWRITTEN, filename); in map_new_file()
[all …]
/external/rust/crates/tokio/src/sync/tests/
Dloom_notify.rs27 let notify = Arc::new(Notify::new()); in notify_waiters() localVariable
28 let tx = notify.clone(); in notify_waiters()
29 let notified1 = notify.notified(); in notify_waiters()
30 let notified2 = notify.notified(); in notify_waiters()
48 let notify = Arc::new(Notify::new()); in notify_multi() localVariable
53 let notify = notify.clone(); in notify_multi() localVariable
57 notify.notified().await; in notify_multi()
58 notify.notify_one(); in notify_multi()
63 notify.notify_one(); in notify_multi()
70 notify.notified().await; in notify_multi()
[all …]
/external/libcups/test/
D4.4-subscription-ops.test26 ATTR uri notify-recipient-uri testnotify://
27 ATTR keyword notify-events printer-state-changed
28 ATTR integer notify-lease-duration 5
36 EXPECT notify-subscription-id
37 DISPLAY notify-subscription-id
55 ATTR integer notify-subscription-id $notify-subscription-id
81 ATTR uri notify-recipient-uri testnotify://
82 ATTR keyword notify-events printer-state-changed
83 ATTR integer notify-lease-duration 5
86 ATTR uri notify-recipient-uri testnotify://
[all …]
/external/wayland/tests/
Dnewsignal-test.c56 struct wl_listener l1 = {.notify = (wl_notify_func_t) 0x1}; in TEST()
57 struct wl_listener l2 = {.notify = (wl_notify_func_t) 0x2}; in TEST()
58 struct wl_listener l3 = {.notify = (wl_notify_func_t) 0x3}; in TEST()
60 struct wl_listener l4 = {.notify = signal_notify}; in TEST()
87 struct wl_listener l1 = {.notify = signal_notify}; in TEST()
104 struct wl_listener l1 = {.notify = signal_notify}; in TEST()
105 struct wl_listener l2 = {.notify = signal_notify}; in TEST()
106 struct wl_listener l3 = {.notify = signal_notify}; in TEST()
151 signal.l1.notify = notify_remove; in TEST()
152 signal.l2.notify = notify_remove; in TEST()
[all …]
Dsignal-test.c56 struct wl_listener l1 = {.notify = (wl_notify_func_t) 0x1}; in TEST()
57 struct wl_listener l2 = {.notify = (wl_notify_func_t) 0x2}; in TEST()
58 struct wl_listener l3 = {.notify = (wl_notify_func_t) 0x3}; in TEST()
60 struct wl_listener l4 = {.notify = signal_notify}; in TEST()
87 struct wl_listener l1 = {.notify = signal_notify}; in TEST()
104 struct wl_listener l1 = {.notify = signal_notify}; in TEST()
105 struct wl_listener l2 = {.notify = signal_notify}; in TEST()
106 struct wl_listener l3 = {.notify = signal_notify}; in TEST()
/external/grpc-grpc/src/core/lib/transport/
Dconnectivity_state.cc69 GRPC_CLOSURE_SCHED(w->notify, error); in grpc_connectivity_state_destroy()
108 grpc_closure* notify) { in grpc_connectivity_state_notify_on_state_change() argument
114 tracker->name, notify); in grpc_connectivity_state_notify_on_state_change()
118 grpc_connectivity_state_name(cur), notify); in grpc_connectivity_state_notify_on_state_change()
123 if (w != nullptr && w->notify == notify) { in grpc_connectivity_state_notify_on_state_change()
124 GRPC_CLOSURE_SCHED(notify, GRPC_ERROR_CANCELLED); in grpc_connectivity_state_notify_on_state_change()
131 if (rm_candidate != nullptr && rm_candidate->notify == notify) { in grpc_connectivity_state_notify_on_state_change()
132 GRPC_CLOSURE_SCHED(notify, GRPC_ERROR_CANCELLED); in grpc_connectivity_state_notify_on_state_change()
143 GRPC_CLOSURE_SCHED(notify, GRPC_ERROR_REF(tracker->current_error)); in grpc_connectivity_state_notify_on_state_change()
148 w->notify = notify; in grpc_connectivity_state_notify_on_state_change()
[all …]
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c32 int notify; member
40 .notify = SIGEV_NONE,
46 .notify = SIGEV_SIGNAL,
52 .notify = SIGEV_THREAD,
58 .notify = SIGEV_NONE,
64 .notify = SIGEV_NONE,
70 .notify = SIGEV_NONE,
76 .notify = SIGEV_NONE,
108 ev.sigev_notify = tc->notify; in do_test()
111 switch (tc->notify) { in do_test()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/client/
Dchttp2_connector.cc50 grpc_closure* notify; member
149 grpc_closure* notify = c->notify; in on_handshake_done() local
150 c->notify = nullptr; in on_handshake_done()
151 GRPC_CLOSURE_SCHED(notify, error); in on_handshake_done()
182 grpc_closure* notify = c->notify; in connected() local
183 c->notify = nullptr; in connected()
184 GRPC_CLOSURE_SCHED(notify, error); in connected()
200 grpc_closure* notify) { in chttp2_connector_connect() argument
205 GPR_ASSERT(c->notify == nullptr); in chttp2_connector_connect()
206 c->notify = notify; in chttp2_connector_connect()
/external/llvm-project/lldb/include/lldb/Target/
DPathMappingList.h36 bool notify);
38 void Append(const PathMappingList &rhs, bool notify);
40 void Clear(bool notify);
53 uint32_t insert_idx, bool notify);
55 bool Remove(size_t index, bool notify);
57 bool Remove(ConstString path, bool notify);
60 bool notify);
63 uint32_t index, bool notify);
/external/llvm-project/lldb/source/Target/
DPathMappingList.cpp64 ConstString replacement, bool notify) { in Append() argument
67 if (notify && m_callback) in Append()
71 void PathMappingList::Append(const PathMappingList &rhs, bool notify) { in Append() argument
77 if (notify && m_callback) in Append()
84 bool notify) { in Insert() argument
93 if (notify && m_callback) in Insert()
99 bool notify) { in Replace() argument
104 if (notify && m_callback) in Replace()
109 bool PathMappingList::Remove(size_t index, bool notify) { in Remove() argument
116 if (notify && m_callback) in Remove()
[all …]
/external/libcups/examples/
Dcreate-printer-subscription.test21 ATTR uri notify-recipient-uri $recipient
22 ATTR keyword notify-events printer-config-changed,printer-state-changed
28 EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0
29 DISPLAY notify-subscription-id
47 ATTR keyword notify-pull-method ippget
48 ATTR keyword notify-events printer-config-changed,printer-state-changed
54 EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0
55 DISPLAY notify-subscription-id
Dget-notifications.test27 ATTR integer notify-subscription-ids $id
33 EXPECT notify-event OF-TYPE keyword
34 DISPLAY notify-event
35 DISPLAY notify-text
/external/rust/crates/tokio/src/sync/
Dnotify.rs147 notify: &'a Notify, field
270 notify: self, in notified()
523 (&me.notify, &mut me.state, &me.waiter) in project()
534 let (notify, state, waiter) = self.project(); in poll()
539 let curr = notify.state.load(SeqCst); in poll()
542 let res = notify.state.compare_exchange( in poll()
557 let mut waiters = notify.waiters.lock(); in poll()
560 let mut curr = notify.state.load(SeqCst); in poll()
574 let res = notify.state.compare_exchange( in poll()
591 let res = notify.state.compare_exchange( in poll()
[all …]
/external/autotest/frontend/client/src/autotest/common/
DXhrJsonRpcProxy.java33 notify.showError("Unable to connect to server"); in sendRequest()
38 notify.setLoading(true); in sendRequest()
49 notify.setLoading(false); in onError()
50 notify.showError("Unable to make RPC call", exception.toString()); in onError()
55 notify.setLoading(false); in onResponseReceived()
60 notify.showError("Received error " + Integer.toString(statusCode) + " " + in onResponseReceived()
77 JsonRpcProxy.notify.showError(exc.toString(), responseText); in handleResponseText()
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.h88 bool ResetField(NotificationOption notify);
108 bool SetValue(const WideString& value, NotificationOption notify);
114 bool ClearSelection(NotificationOption notify);
116 bool SetItemSelection(int index, bool bSelected, NotificationOption notify);
128 NotificationOption notify);
134 bool SelectOption(int iOptIndex, bool bSelected, NotificationOption notify);
150 NotificationOption notify);
157 NotificationOption notify);
Dcpdf_formfield.cpp147 bool CPDF_FormField::ResetField(NotificationOption notify) { in ResetField() argument
158 if (notify == NotificationOption::kNotify && m_pForm->GetFormNotify()) in ResetField()
169 if (notify == NotificationOption::kNotify && in ResetField()
174 if (notify == NotificationOption::kNotify) in ResetField()
199 if (notify == NotificationOption::kNotify && in ResetField()
216 if (notify == NotificationOption::kNotify) in ResetField()
334 NotificationOption notify) { in SetValue() argument
338 SetCheckValue(value, bDefault, notify); in SetValue()
346 if (notify == NotificationOption::kNotify && in SetValue()
365 if (notify == NotificationOption::kNotify) in SetValue()
[all …]
/external/rust/crates/tokio/src/runtime/tests/
Dloom_oneshot.rs7 notify: Notify::new(), in channel()
28 notify: Notify, field
35 self.inner.notify.notify(); in send()
46 self.inner.notify.wait(); in recv()
/external/arm-trusted-firmware/plat/nvidia/tegra/drivers/bpmp_ipc/
Divc.c271 ivc->notify(ivc); in tegra_ivc_read()
318 ivc->notify(ivc); in tegra_ivc_read_advance()
366 ivc->notify(ivc); in tegra_ivc_write()
409 ivc->notify(ivc); in tegra_ivc_write_advance()
418 ivc->notify(ivc); in tegra_ivc_channel_reset()
480 ivc->notify(ivc); in tegra_ivc_channel_notified()
517 ivc->notify(ivc); in tegra_ivc_channel_notified()
538 ivc->notify(ivc); in tegra_ivc_channel_notified()
621 ivc_notify_function notify) in tegra_ivc_init() argument
626 if ((ivc == NULL) || (notify == NULL)) { in tegra_ivc_init()
[all …]
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointList.cpp31 break_id_t BreakpointList::Add(BreakpointSP &bp_sp, bool notify) { in Add() argument
39 if (notify) in Add()
45 bool BreakpointList::Remove(break_id_t break_id, bool notify) { in Remove() argument
55 if (notify) in Remove()
82 void BreakpointList::RemoveAll(bool notify) { in RemoveAll() argument
86 if (notify) { in RemoveAll()
94 void BreakpointList::RemoveAllowed(bool notify) { in RemoveAllowed() argument
100 if (notify) in RemoveAllowed()
/external/google-fruit/examples/multibindings/
Dmain.cpp25 virtual void notify() = 0;
32 void notify() override { in notify() function in Listener1
59 void notify() override { in notify() function in Listener2
79 listener->notify(); in main()
/external/llvm-project/llvm/unittests/Support/
DThreading.cpp32 void notify() { in notify() function in __anonfabd9a450111::Notification
61 ThreadStarted.notify(); in TEST()
63 ThreadFinished.notify(); in TEST()
68 ThreadAdvanced.notify(); in TEST()
/external/angle/src/libANGLE/renderer/cl/
DCLProgramCL.cpp52 cl_int CLProgramCL::build(const cl::DevicePtrs &devices, const char *options, cl::Program *notify) in build() argument
62 const cl::ProgramCB callback = notify != nullptr ? Callback : nullptr; in build()
64 callback, notify); in build()
71 cl::Program *notify) in compile() argument
91 const cl::ProgramCB callback = notify != nullptr ? Callback : nullptr; in compile()
94 headerIncludeNames, callback, notify); in compile()
/external/llvm-project/lldb/include/lldb/Breakpoint/
DBreakpointList.h38 lldb::break_id_t Add(lldb::BreakpointSP &bp_sp, bool notify);
91 bool Remove(lldb::break_id_t breakID, bool notify);
113 void RemoveAll(bool notify);
118 void RemoveAllowed(bool notify);

12345678910>>...22