/external/libmojo/mojo/edk/system/ |
D | handle_signals_state.h | 20 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()
|
D | core_unittest.cc | 114 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 …]
|
D | data_pipe_unittest.cc | 250 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 …]
|
D | multiprocess_message_pipe_unittest.cc | 88 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 …]
|
D | message_pipe_unittest.cc | 331 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()
|
D | wait_set_dispatcher_unittest.cc | 143 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()
|
D | message_pipe_dispatcher.cc | 365 << 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()
|
D | wait_set_dispatcher.cc | 239 rv.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; in GetHandleSignalsStateNoLock() 306 signals_state.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; in WakeDispatcher()
|
D | data_pipe_consumer_dispatcher.cc | 478 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()
|
D | data_pipe_producer_dispatcher.cc | 459 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/ |
D | core_unittest.cc | 106 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()
|
D | core_unittest_pure_c.c | 75 states[0].satisfiable_signals); in MinimalCTest() 89 state.satisfiable_signals); in MinimalCTest()
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 195 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/ |
D | types.h | 180 MojoHandleSignals satisfiable_signals; member
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 88 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/ |
D | core.cc | 56 signals_state.satisfiable_signals); in WaitHandle() 86 signals_states[i].satisfiable_signals); in WaitMany()
|