Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/system/
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 …]
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()
Ddata_pipe_unittest.cc258 hss.satisfiable_signals); in TEST_F()
346 hss.satisfiable_signals); in TEST_F()
367 hss.satisfiable_signals); in TEST_F()
428 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
450 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 …]
Dmultiprocess_message_pipe_unittest.cc101 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE()
105 CHECK((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in DEFINE_TEST_CLIENT_WITH_PIPE()
148 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
188 ASSERT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_P()
214 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_P()
229 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_READABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
273 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_READABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
328 EXPECT_TRUE((hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F()
365 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F()
377 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.cc418 << state.satisfiable_signals << "]"; in AddAwakable()
555 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
558 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
561 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
562 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
566 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
Ddata_pipe_consumer_dispatcher.cc486 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
488 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock()
493 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_NEW_DATA_READABLE; in GetHandleSignalsStateNoLock()
498 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_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()
197 state.satisfiable_signals); in TEST()
205 state.satisfiable_signals); in TEST()
237 states[0].satisfiable_signals); in TEST()
266 state.satisfiable_signals); in TEST()
282 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.h187 MojoHandleSignals satisfiable_signals; member
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc96 ASSERT_EQ(kSignalAll, state.satisfiable_signals); in TEST_F()
299 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); in TEST_F()
342 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()