/external/libchrome/mojo/public/cpp/system/ |
D | handle_signals_state.h | 18 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()
|
D | simple_watcher.cc | 98 signals_state.satisfiable_signals); in Notify() 222 blocking_event.signals_state.satisfiable_signals); in Arm()
|
/external/libchrome/mojo/core/ |
D | handle_signals_state.h | 22 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()
|
D | signals_unittest.cc | 43 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 …]
|
D | data_pipe_unittest.cc | 271 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 …]
|
D | core_unittest.cc | 158 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 …]
|
D | message_pipe_dispatcher.cc | 367 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()
|
D | message_pipe_unittest.cc | 254 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()
|
D | multiprocess_message_pipe_unittest.cc | 144 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 …]
|
D | embedder_unittest.cc | 224 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()
|
D | data_pipe_consumer_dispatcher.cc | 483 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()
|
D | data_pipe_producer_dispatcher.cc | 443 rv.satisfiable_signals |= in GetHandleSignalsStateNoLock() 448 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
|
D | trap_unittest.cc | 283 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/ |
D | core_api_unittest.cc | 90 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/ |
D | core_unittest.cc | 167 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/ |
D | types.h | 217 MojoHandleSignals satisfiable_signals; member
|
D | README.md | 607 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`
|