/external/libmojo/mojo/edk/system/ |
D | wait_set_dispatcher.cc | 249 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 …]
|
D | watcher.cc | 27 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()
|
D | data_pipe_producer_dispatcher.cc | 268 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 …]
|
D | message_pipe_dispatcher.cc | 350 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 …]
|
D | data_pipe_consumer_dispatcher.cc | 286 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 …]
|
D | core_test_base.cc | 113 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()
|
D | wait_set_dispatcher.h | 44 HandleSignalsState* signals_state) override; 46 HandleSignalsState* signals_state) override;
|
D | message_pipe_dispatcher.h | 68 HandleSignalsState* signals_state) override; 70 HandleSignalsState* signals_state) override;
|
D | data_pipe_consumer_dispatcher.h | 62 HandleSignalsState* signals_state) override; 64 HandleSignalsState* signals_state) override;
|
D | data_pipe_producer_dispatcher.h | 61 HandleSignalsState* signals_state) override; 63 HandleSignalsState* signals_state) override;
|
D | dispatcher.h | 178 HandleSignalsState* signals_state); 185 HandleSignalsState* signals_state);
|
D | core.cc | 54 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()
|
D | watcher.h | 50 void NotifyForStateChange(const HandleSignalsState& signals_state);
|
D | dispatcher.cc | 121 HandleSignalsState* signals_state) { in AddAwakable() argument
|
D | core.h | 130 MojoHandleSignalsState* signals_state);
|
/external/libmojo/mojo/public/c/system/ |
D | functions.h | 27 struct MojoHandleSignalsState signals_state, 92 struct MojoHandleSignalsState* signals_state); // Optional out.
|
D | thunks.cc | 28 struct MojoHandleSignalsState* signals_state) { in MojoWait() argument 30 return g_thunks.Wait(handle, signals, deadline, signals_state); in MojoWait()
|
D | thunks.h | 46 struct MojoHandleSignalsState* signals_state);
|
/external/libmojo/mojo/edk/js/ |
D | core.cc | 45 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/ |
D | watcher.h | 91 MojoHandleSignalsState signals_state,
|
D | handle.h | 190 MojoHandleSignalsState* signals_state) { in Wait() argument 191 return MojoWait(handle.value(), signals, deadline, signals_state); in Wait()
|
D | watcher.cc | 128 MojoHandleSignalsState signals_state, in CallOnHandleReady() argument
|
/external/libmojo/mojo/edk/embedder/ |
D | entrypoints.cc | 34 MojoHandleSignalsState* signals_state) { in MojoWaitImpl() argument 35 return g_core->Wait(handle, signals, deadline, signals_state); in MojoWaitImpl()
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 178 struct MojoHandleSignalsState* signals_state = in Wait() local 180 return MojoWait(mojo_handle, signals, deadline, signals_state); in Wait()
|