Home
last modified time | relevance | path

Searched refs:HandleSignalsState (Results 1 – 25 of 31) sorted by relevance

12

/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
DCore.java94 public static class HandleSignalsState { class
110 public HandleSignalsState( in HandleSignalsState() method in Core.HandleSignalsState
153 private HandleSignalsState mHandleSignalsState;
172 public HandleSignalsState getHandleSignalsState() { in getHandleSignalsState()
179 public void setHandleSignalsState(HandleSignalsState handleSignalsState) { in setHandleSignalsState()
214 private List<HandleSignalsState> mSignalStates;
247 public List<HandleSignalsState> getSignalStates() { in getSignalStates()
254 public void setSignalStates(List<HandleSignalsState> signalStates) { in setSignalStates()
/external/libmojo/mojo/edk/system/
Dhandle_signals_state.h16 struct MOJO_SYSTEM_IMPL_EXPORT HandleSignalsState final
18 HandleSignalsState() { in HandleSignalsState() function
22 HandleSignalsState(MojoHandleSignals satisfied, in HandleSignalsState() function
28 bool equals(const HandleSignalsState& other) const { in equals()
43 static_assert(sizeof(HandleSignalsState) == sizeof(MojoHandleSignalsState),
Dawakable_list_unittest.cc73 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
86 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
104 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
123 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
135 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
150 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
197 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
218 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
238 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
249 awakable_list.AwakeForStateChange(HandleSignalsState( in TEST()
[all …]
Dwatcher.h18 struct HandleSignalsState;
33 const HandleSignalsState&,
44 const HandleSignalsState& state,
50 void NotifyForStateChange(const HandleSignalsState& signals_state);
Dwait_set_dispatcher.cc228 HandleSignalsState WaitSetDispatcher::GetHandleSignalsState() const { in GetHandleSignalsState()
233 HandleSignalsState WaitSetDispatcher::GetHandleSignalsStateNoLock() const { in GetHandleSignalsStateNoLock()
236 return HandleSignalsState(); in GetHandleSignalsStateNoLock()
238 HandleSignalsState rv; in GetHandleSignalsStateNoLock()
249 HandleSignalsState* signals_state) { in AddAwakable()
257 HandleSignalsState state(GetHandleSignalsStateNoLock()); in AddAwakable()
274 HandleSignalsState* signals_state) { in RemoveAwakable()
305 HandleSignalsState signals_state; in WakeDispatcher()
Ddata_pipe_producer_dispatcher.cc153 HandleSignalsState old_state = GetHandleSignalsStateNoLock(); in WriteData()
180 HandleSignalsState new_state = GetHandleSignalsStateNoLock(); in WriteData()
252 HandleSignalsState new_state = GetHandleSignalsStateNoLock(); in EndWriteData()
259 HandleSignalsState DataPipeProducerDispatcher::GetHandleSignalsState() const { in GetHandleSignalsState()
268 HandleSignalsState* signals_state) { in AddAwakable()
272 *signals_state = HandleSignalsState(); in AddAwakable()
276 HandleSignalsState state = GetHandleSignalsStateNoLock(); in AddAwakable()
294 HandleSignalsState* signals_state) { in RemoveAwakable()
297 *signals_state = HandleSignalsState(); in RemoveAwakable()
451 HandleSignalsState DataPipeProducerDispatcher::GetHandleSignalsStateNoLock() in GetHandleSignalsStateNoLock()
[all …]
Dwait_set_dispatcher.h40 HandleSignalsState GetHandleSignalsState() const override;
44 HandleSignalsState* signals_state) override;
46 HandleSignalsState* signals_state) override;
65 HandleSignalsState GetHandleSignalsStateNoLock() const;
Dmessage_pipe_dispatcher.h64 HandleSignalsState GetHandleSignalsState() const override;
68 HandleSignalsState* signals_state) override;
70 HandleSignalsState* signals_state) override;
96 HandleSignalsState GetHandleSignalsStateNoLock() const;
Dwatcher.cc18 const HandleSignalsState& state, in MaybeInvokeCallback()
27 void Watcher::NotifyForStateChange(const HandleSignalsState& signals_state) { in NotifyForStateChange()
40 static const HandleSignalsState closed_state = {0, 0}; in NotifyClosed()
Ddata_pipe_consumer_dispatcher.h58 HandleSignalsState GetHandleSignalsState() const override;
62 HandleSignalsState* signals_state) override;
64 HandleSignalsState* signals_state) override;
91 HandleSignalsState GetHandleSignalsStateNoLock() const;
Ddata_pipe_producer_dispatcher.h57 HandleSignalsState GetHandleSignalsState() const override;
61 HandleSignalsState* signals_state) override;
63 HandleSignalsState* signals_state) override;
91 HandleSignalsState GetHandleSignalsStateNoLock() const;
Dawakable_list.h23 struct HandleSignalsState;
37 void AwakeForStateChange(const HandleSignalsState& state);
46 const HandleSignalsState& current_state);
Ddata_pipe_consumer_dispatcher.cc250 HandleSignalsState old_state = GetHandleSignalsStateNoLock(); in EndReadData()
270 HandleSignalsState new_state = GetHandleSignalsStateNoLock(); in EndReadData()
277 HandleSignalsState DataPipeConsumerDispatcher::GetHandleSignalsState() const { in GetHandleSignalsState()
286 HandleSignalsState* signals_state) { in AddAwakable()
290 *signals_state = HandleSignalsState(); in AddAwakable()
294 HandleSignalsState state = GetHandleSignalsStateNoLock(); in AddAwakable()
312 HandleSignalsState* signals_state) { in RemoveAwakable()
315 *signals_state = HandleSignalsState(); in RemoveAwakable()
470 HandleSignalsState
474 HandleSignalsState rv; in GetHandleSignalsStateNoLock()
Drequest_context.h57 const HandleSignalsState& state);
69 const HandleSignalsState& state);
75 HandleSignalsState state;
Dmessage_pipe_dispatcher.cc340 HandleSignalsState
350 HandleSignalsState* signals_state) { in AddAwakable()
355 *signals_state = HandleSignalsState(); in AddAwakable()
359 HandleSignalsState state = GetHandleSignalsStateNoLock(); in AddAwakable()
389 HandleSignalsState* signals_state) { in RemoveAwakable()
393 *signals_state = HandleSignalsState(); in RemoveAwakable()
491 HandleSignalsState MessagePipeDispatcher::GetHandleSignalsStateNoLock() const { in GetHandleSignalsStateNoLock()
492 HandleSignalsState rv; in GetHandleSignalsStateNoLock()
497 return HandleSignalsState(); in GetHandleSignalsStateNoLock()
Ddispatcher.cc114 HandleSignalsState Dispatcher::GetHandleSignalsState() const { in GetHandleSignalsState()
115 return HandleSignalsState(); in GetHandleSignalsState()
121 HandleSignalsState* signals_state) { in AddAwakable()
126 HandleSignalsState* handle_signals_state) { in RemoveAwakable()
Dwatcher_set.h28 void NotifyForStateChange(const HandleSignalsState& state);
39 const HandleSignalsState& current_state);
Dwait_set_dispatcher_unittest.cc138 HandleSignalsState hss; in TEST_F()
162 hss = HandleSignalsState(); in TEST_F()
202 HandleSignalsState hss; in TEST_F()
204 hss = HandleSignalsState(); in TEST_F()
270 HandleSignalsState hss; in TEST_F()
404 HandleSignalsState hss; in TEST_F()
410 hss = HandleSignalsState(); in TEST_F()
423 HandleSignalsState hss; in TEST_F()
Dwaiter_test_utils.h80 HandleSignalsState* signals_state_out);
93 HandleSignalsState* const signals_state_out_;
Dwatcher_set.cc17 void WatcherSet::NotifyForStateChange(const HandleSignalsState& state) { in NotifyForStateChange()
30 const HandleSignalsState& current_state) { in Add()
Dmultiprocess_message_pipe_unittest.cc80 HandleSignalsState hss; in DEFINE_TEST_CLIENT_WITH_PIPE()
127 HandleSignalsState hss; in TEST_F()
167 HandleSignalsState hss; in TEST_F()
196 HandleSignalsState hss; in TEST_F()
208 HandleSignalsState hss; in DEFINE_TEST_CLIENT_WITH_PIPE()
254 hss = HandleSignalsState(); in DEFINE_TEST_CLIENT_WITH_PIPE()
310 HandleSignalsState hss; in TEST_F()
347 hss = HandleSignalsState(); in TEST_F()
358 HandleSignalsState hss; in DEFINE_TEST_CLIENT_WITH_PIPE()
442 HandleSignalsState hss; in TEST_P()
[all …]
Ddispatcher.h159 virtual HandleSignalsState GetHandleSignalsState() const;
178 HandleSignalsState* signals_state);
185 HandleSignalsState* signals_state);
Dcore_test_base.cc113 HandleSignalsState* signals_state) override { in AddAwakable()
116 *signals_state = HandleSignalsState(); in AddAwakable()
126 HandleSignalsState* signals_state) override { in RemoveAwakable()
129 *signals_state = HandleSignalsState(); in RemoveAwakable()
Dwaiter_test_utils.cc33 HandleSignalsState* signals_state_out) in WaiterThread()
48 *signals_state_out_ = HandleSignalsState(~0u, ~0u); in WaiterThread()
Drequest_context.cc77 const HandleSignalsState& state) { in AddWatchNotifyFinalizer()
95 const HandleSignalsState& state) in WatchNotifyFinalizer()

12