Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/system/
Dhandle_signals_state.h20 satisfiable_signals = MOJO_HANDLE_SIGNAL_NONE; in HandleSignalsState()
25 satisfiable_signals = satisfiable; in HandleSignalsState()
30 satisfiable_signals == other.satisfiable_signals; in equals()
38 return !!(satisfiable_signals & signals); in can_satisfy()
Dcore_unittest.cc114 ASSERT_EQ(0u, hss.satisfiable_signals); in TEST_F()
124 ASSERT_EQ(0u, hss.satisfiable_signals); in TEST_F()
146 ASSERT_EQ(0u, hss.satisfiable_signals); in TEST_F()
156 ASSERT_EQ(0u, hss.satisfiable_signals); in TEST_F()
200 ASSERT_EQ(kFullMojoHandleSignalsState.satisfiable_signals, in TEST_F()
201 hss.satisfiable_signals); in TEST_F()
209 ASSERT_EQ(kFullMojoHandleSignalsState.satisfiable_signals, in TEST_F()
210 hss.satisfiable_signals); in TEST_F()
236 ASSERT_EQ(kFullMojoHandleSignalsState.satisfiable_signals, in TEST_F()
237 hss.satisfiable_signals); in TEST_F()
[all …]
Ddata_pipe_unittest.cc250 hss.satisfiable_signals); in TEST_F()
338 hss.satisfiable_signals); in TEST_F()
357 hss.satisfiable_signals); in TEST_F()
418 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
440 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
462 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
482 hss.satisfiable_signals); in TEST_F()
496 hss.satisfiable_signals); in TEST_F()
510 hss.satisfiable_signals); in TEST_F()
527 hss.satisfiable_signals); in TEST_F()
[all …]
Dmultiprocess_message_pipe_unittest.cc88 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE()
92 CHECK((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in DEFINE_TEST_CLIENT_WITH_PIPE()
135 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
175 ASSERT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
201 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
216 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_READABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
260 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_READABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
315 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
352 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
364 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_READABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
[all …]
Dmessage_pipe_unittest.cc331 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
338 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
345 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
356 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
363 ASSERT_EQ(kAllSignals, hss.satisfiable_signals); in TEST_F()
376 hss.satisfiable_signals); in TEST_F()
387 hss.satisfiable_signals); in TEST_F()
396 hss.satisfiable_signals); in TEST_F()
410 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
Dwait_set_dispatcher_unittest.cc143 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
275 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
307 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
326 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
357 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
408 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
414 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE, hss.satisfiable_signals); in TEST_F()
Dmessage_pipe_dispatcher.cc365 << state.satisfiable_signals << "]"; in AddAwakable()
502 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
505 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
508 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
509 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
513 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
Dwait_set_dispatcher.cc239 rv.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
306 signals_state.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; in WakeDispatcher()
Ddata_pipe_consumer_dispatcher.cc478 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
480 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
485 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
Ddata_pipe_producer_dispatcher.cc459 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
463 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest.cc106 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
112 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
139 EXPECT_EQ(kSignalAll, states[0].satisfiable_signals); in TEST()
154 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
170 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST()
196 state.satisfiable_signals); in TEST()
204 state.satisfiable_signals); in TEST()
234 states[0].satisfiable_signals); in TEST()
263 state.satisfiable_signals); in TEST()
279 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST()
Dcore_unittest_pure_c.c75 states[0].satisfiable_signals); in MinimalCTest()
89 state.satisfiable_signals); in MinimalCTest()
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc195 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
210 EXPECT_EQ(kSignalAll, states[0].satisfiable_signals); in TEST()
212 EXPECT_EQ(kSignalAll, states[1].satisfiable_signals); in TEST()
228 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST()
254 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
304 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
332 EXPECT_EQ(kSignalAll, state.satisfiable_signals); in TEST()
/external/libmojo/mojo/public/c/system/
Dtypes.h180 MojoHandleSignals satisfiable_signals; member
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc88 ASSERT_EQ(kSignalAll, state.satisfiable_signals); in TEST_F()
293 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST_F()
336 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libmojo/mojo/edk/js/
Dcore.cc56 signals_state.satisfiable_signals); in WaitHandle()
86 signals_states[i].satisfiable_signals); in WaitMany()