Home
last modified time | relevance | path

Searched refs:satisfiable_signals (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Dhandle_signals_state.h18 satisfiable_signals = MOJO_HANDLE_SIGNAL_NONE; in HandleSignalsState()
24 satisfiable_signals = satisfiable; in HandleSignalsState()
29 satisfiable_signals == other.satisfiable_signals;
35 satisfiable_signals == other.satisfiable_signals; in equals()
47 return !!(satisfiable_signals & signals); in can_satisfy_any()
Dsimple_watcher.cc98 signals_state.satisfiable_signals); in Notify()
222 blocking_event.signals_state.satisfiable_signals); in Arm()
/external/libchrome/mojo/core/
Dhandle_signals_state.h22 satisfiable_signals = MOJO_HANDLE_SIGNAL_NONE; in HandleSignalsState()
28 satisfiable_signals = satisfiable; in HandleSignalsState()
33 satisfiable_signals == other.satisfiable_signals;
39 satisfiable_signals == other.satisfiable_signals; in equals()
51 return !!(satisfiable_signals & signals); in can_satisfy_any()
Dsignals_unittest.cc43 state.satisfiable_signals); in TEST_F()
51 state.satisfiable_signals); in TEST_F()
63 state.satisfiable_signals); in TEST_F()
73 state.satisfiable_signals); in TEST_F()
82 state.satisfiable_signals); in TEST_F()
92 EXPECT_TRUE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
96 EXPECT_TRUE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
100 EXPECT_TRUE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
104 EXPECT_TRUE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
117 EXPECT_TRUE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
[all …]
Ddata_pipe_unittest.cc271 hss.satisfiable_signals); in TEST_F()
358 hss.satisfiable_signals); in TEST_F()
374 hss.satisfiable_signals); in TEST_F()
430 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
451 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
472 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
493 hss.satisfiable_signals); in TEST_F()
509 hss.satisfiable_signals); in TEST_F()
524 hss.satisfiable_signals); in TEST_F()
542 hss.satisfiable_signals); in TEST_F()
[all …]
Dcore_unittest.cc158 ASSERT_EQ(kAllSignals, hss[0].satisfiable_signals); in TEST_F()
160 ASSERT_EQ(kAllSignals, hss[1].satisfiable_signals); in TEST_F()
193 ASSERT_EQ(kAllSignals, hss[0].satisfiable_signals); in TEST_F()
213 EXPECT_FALSE(hss[1].satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F()
218 EXPECT_TRUE(hss[1].satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
228 EXPECT_FALSE(hss[1].satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
262 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
294 hss.satisfiable_signals); in TEST_F()
303 hss.satisfiable_signals); in TEST_F()
324 hss.satisfiable_signals); in TEST_F()
[all …]
Dmessage_pipe_dispatcher.cc367 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
370 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
373 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
374 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
375 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_REMOTE; in GetHandleSignalsStateNoLock()
388 rv.satisfiable_signals |= in GetHandleSignalsStateNoLock()
Dmessage_pipe_unittest.cc254 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
266 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
273 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
284 ASSERT_TRUE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F()
292 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F()
299 ASSERT_TRUE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
312 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
313 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F()
Dmultiprocess_message_pipe_unittest.cc144 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE()
148 CHECK((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in DEFINE_TEST_CLIENT_WITH_PIPE()
189 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
228 ASSERT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
252 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_P()
361 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
394 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
479 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_P()
560 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
594 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
[all …]
Dembedder_unittest.cc224 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
225 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F()
268 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
269 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Ddata_pipe_consumer_dispatcher.cc483 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
485 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
490 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_NEW_DATA_READABLE; in GetHandleSignalsStateNoLock()
496 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_REMOTE; in GetHandleSignalsStateNoLock()
500 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
Ddata_pipe_producer_dispatcher.cc443 rv.satisfiable_signals |= in GetHandleSignalsStateNoLock()
448 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
Dtrap_unittest.cc283 EXPECT_FALSE(blocking_events[0].signals_state.satisfiable_signals & in TEST_F()
581 EXPECT_FALSE(blocking_events[0].signals_state.satisfiable_signals & in TEST_F()
661 EXPECT_FALSE(blocking_events[0].signals_state.satisfiable_signals & in TEST_F()
759 EXPECT_FALSE(blocking_events[0].signals_state.satisfiable_signals & in TEST_F()
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc90 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
113 EXPECT_EQ(kSignalAll, states[0].satisfiable_signals); in TEST()
127 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
143 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()
144 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST()
170 state.satisfiable_signals); in TEST()
177 state.satisfiable_signals); in TEST()
208 states[0].satisfiable_signals); in TEST()
236 state.satisfiable_signals); in TEST()
252 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST()
/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc167 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
183 EXPECT_EQ(kSignalAll, states[0].satisfiable_signals); in TEST()
185 EXPECT_EQ(kSignalAll, states[1].satisfiable_signals); in TEST()
199 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()
200 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE); in TEST()
222 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
257 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
274 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
/external/libchrome/mojo/public/c/system/
Dtypes.h217 MojoHandleSignals satisfiable_signals; member
DREADME.md607 and `satisfiable_signals`. Both of these are bitmasks of the type
612 handle at the time of the call, while the `satisfiable_signals` bitmask
617 (satisfied_signals | satisfiable_signals) == satisfiable_signals
631 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_WRITABLE + MOJO_HANDLE_…
640 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_PEER_CLOSED`
651 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_PEER_CLOSED`