Home
last modified time | relevance | path

Searched refs:signals_state (Results 1 – 24 of 24) sorted by relevance

/external/libmojo/mojo/edk/system/
Dwait_set_dispatcher.cc249 HandleSignalsState* signals_state) { in AddAwakable() argument
259 if (signals_state) in AddAwakable()
260 *signals_state = state; in AddAwakable()
264 if (signals_state) in AddAwakable()
265 *signals_state = state; in AddAwakable()
274 HandleSignalsState* signals_state) { in RemoveAwakable() argument
279 if (signals_state) in RemoveAwakable()
280 *signals_state = GetHandleSignalsState(); in RemoveAwakable()
305 HandleSignalsState signals_state; in WakeDispatcher() local
306 signals_state.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; in WakeDispatcher()
[all …]
Dwatcher.cc27 void Watcher::NotifyForStateChange(const HandleSignalsState& signals_state) { in NotifyForStateChange() argument
29 if (signals_state.satisfies(signals_)) { in NotifyForStateChange()
31 make_scoped_refptr(this), MOJO_RESULT_OK, signals_state); in NotifyForStateChange()
32 } else if (!signals_state.can_satisfy(signals_)) { in NotifyForStateChange()
35 signals_state); in NotifyForStateChange()
Ddata_pipe_producer_dispatcher.cc268 HandleSignalsState* signals_state) { in AddAwakable() argument
271 if (signals_state) in AddAwakable()
272 *signals_state = HandleSignalsState(); in AddAwakable()
278 if (signals_state) in AddAwakable()
279 *signals_state = state; in AddAwakable()
283 if (signals_state) in AddAwakable()
284 *signals_state = state; in AddAwakable()
294 HandleSignalsState* signals_state) { in RemoveAwakable() argument
296 if ((!shared_ring_buffer_ || in_transit_) && signals_state) in RemoveAwakable()
297 *signals_state = HandleSignalsState(); in RemoveAwakable()
[all …]
Dmessage_pipe_dispatcher.cc350 HandleSignalsState* signals_state) { in AddAwakable() argument
354 if (signals_state) in AddAwakable()
355 *signals_state = HandleSignalsState(); in AddAwakable()
368 if (signals_state) in AddAwakable()
369 *signals_state = state; in AddAwakable()
374 if (signals_state) in AddAwakable()
375 *signals_state = state; in AddAwakable()
389 HandleSignalsState* signals_state) { in RemoveAwakable() argument
392 if (signals_state) in RemoveAwakable()
393 *signals_state = HandleSignalsState(); in RemoveAwakable()
[all …]
Ddata_pipe_consumer_dispatcher.cc286 HandleSignalsState* signals_state) { in AddAwakable() argument
289 if (signals_state) in AddAwakable()
290 *signals_state = HandleSignalsState(); in AddAwakable()
296 if (signals_state) in AddAwakable()
297 *signals_state = state; in AddAwakable()
301 if (signals_state) in AddAwakable()
302 *signals_state = state; in AddAwakable()
312 HandleSignalsState* signals_state) { in RemoveAwakable() argument
314 if ((!shared_ring_buffer_ || in_transit_) && signals_state) in RemoveAwakable()
315 *signals_state = HandleSignalsState(); in RemoveAwakable()
[all …]
Dcore_test_base.cc113 HandleSignalsState* signals_state) override { in AddAwakable() argument
115 if (signals_state) in AddAwakable()
116 *signals_state = HandleSignalsState(); in AddAwakable()
126 HandleSignalsState* signals_state) override { in RemoveAwakable() argument
128 if (signals_state) in RemoveAwakable()
129 *signals_state = HandleSignalsState(); in RemoveAwakable()
Dwait_set_dispatcher.h44 HandleSignalsState* signals_state) override;
46 HandleSignalsState* signals_state) override;
Dmessage_pipe_dispatcher.h68 HandleSignalsState* signals_state) override;
70 HandleSignalsState* signals_state) override;
Ddata_pipe_consumer_dispatcher.h62 HandleSignalsState* signals_state) override;
64 HandleSignalsState* signals_state) override;
Ddata_pipe_producer_dispatcher.h61 HandleSignalsState* signals_state) override;
63 HandleSignalsState* signals_state) override;
Ddispatcher.h178 HandleSignalsState* signals_state);
185 HandleSignalsState* signals_state);
Dcore.cc54 const HandleSignalsState& signals_state, in CallWatchCallback() argument
56 callback(context, result, static_cast<MojoHandleSignalsState>(signals_state), in CallWatchCallback()
378 MojoHandleSignalsState* signals_state) { in Wait() argument
383 signals_state ? &hss : nullptr); in Wait()
384 if (rv != MOJO_RESULT_INVALID_ARGUMENT && signals_state) in Wait()
385 *signals_state = hss; in Wait()
394 MojoHandleSignalsState* signals_state) { in WaitMany() argument
403 if (!signals_state) { in WaitMany()
410 reinterpret_cast<HandleSignalsState*>(signals_state)); in WaitMany()
Dwatcher.h50 void NotifyForStateChange(const HandleSignalsState& signals_state);
Ddispatcher.cc121 HandleSignalsState* signals_state) { in AddAwakable() argument
Dcore.h130 MojoHandleSignalsState* signals_state);
/external/libmojo/mojo/public/c/system/
Dfunctions.h27 struct MojoHandleSignalsState signals_state,
92 struct MojoHandleSignalsState* signals_state); // Optional out.
Dthunks.cc28 struct MojoHandleSignalsState* signals_state) { in MojoWait() argument
30 return g_thunks.Wait(handle, signals, deadline, signals_state); in MojoWait()
Dthunks.h46 struct MojoHandleSignalsState* signals_state);
/external/libmojo/mojo/edk/js/
Dcore.cc45 MojoHandleSignalsState signals_state; in WaitHandle() local
46 MojoResult result = mojo::Wait(handle, signals, deadline, &signals_state); in WaitHandle()
54 signalsStateDict.Set("satisfiedSignals", signals_state.satisfied_signals); in WaitHandle()
56 signals_state.satisfiable_signals); in WaitHandle()
/external/libmojo/mojo/public/cpp/system/
Dwatcher.h91 MojoHandleSignalsState signals_state,
Dhandle.h190 MojoHandleSignalsState* signals_state) { in Wait() argument
191 return MojoWait(handle.value(), signals, deadline, signals_state); in Wait()
Dwatcher.cc128 MojoHandleSignalsState signals_state, in CallOnHandleReady() argument
/external/libmojo/mojo/edk/embedder/
Dentrypoints.cc34 MojoHandleSignalsState* signals_state) { in MojoWaitImpl() argument
35 return g_core->Wait(handle, signals, deadline, signals_state); in MojoWaitImpl()
/external/libmojo/mojo/android/system/
Dcore_impl.cc178 struct MojoHandleSignalsState* signals_state = in Wait() local
180 return MojoWait(mojo_handle, signals, deadline, signals_state); in Wait()