/external/libchrome/mojo/core/ |
D | signals_unittest.cc | 38 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST_F() 39 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F() 46 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST_F() 47 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F() 57 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 59 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F() 68 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST_F() 69 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F()
|
D | message_pipe_unittest.cc | 27 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | 253 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 264 ASSERT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 270 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 271 ASSERT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 290 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 291 ASSERT_FALSE(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 292 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 313 ASSERT_FALSE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F()
|
D | core_unittest.cc | 28 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | 157 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[0].satisfied_signals); in TEST_F() 159 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[1].satisfied_signals); in TEST_F() 192 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[0].satisfied_signals); in TEST_F() 213 EXPECT_FALSE(hss[1].satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 260 ASSERT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 291 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 292 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F()
|
D | handle_signals_state.h | 60 bool writable() const { return satisfies_any(MOJO_HANDLE_SIGNAL_WRITABLE); } in writable() 86 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_WRITABLE); in never_writable()
|
D | data_pipe_unittest.cc | 355 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 356 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 488 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 756 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 757 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 770 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 787 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 788 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 834 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST_F() 835 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() [all …]
|
D | trap_unittest.cc | 460 MojoAddTrigger(t, producer, MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 478 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 488 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 505 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 602 MojoAddTrigger(t, producer, MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 638 MojoAddTrigger(t, producer, MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 662 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 709 MojoAddTrigger(t, a, MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 725 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 839 MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 267 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 303 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 405 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 502 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 516 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 614 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 616 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in DEFINE_TEST_CLIENT_WITH_PIPE() 632 CHECK(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_WITH_PIPE() 634 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in DEFINE_TEST_CLIENT_WITH_PIPE()
|
D | message_pipe_dispatcher.cc | 372 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock() 373 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
|
D | embedder_unittest.cc | 225 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST_F() 269 ASSERT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | data_pipe_producer_dispatcher.cc | 440 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock() 444 MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_REMOTE; in GetHandleSignalsStateNoLock()
|
/external/libchrome/mojo/public/c/system/tests/ |
D | core_api_unittest.cc | 20 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE; 23 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | 89 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST() 126 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST() 139 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST() 143 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST() 174 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST() 175 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | handle_signals_state_unittest.cc | 31 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F() 33 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F()
|
D | core_unittest.cc | 23 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE; 26 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | 166 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, state.satisfied_signals); in TEST() 174 sigs.push_back(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST() 182 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, states[0].satisfied_signals); in TEST() 184 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, states[1].satisfied_signals); in TEST() 199 EXPECT_FALSE(state.satisfiable_signals & MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()
|
D | wait_unittest.cc | 91 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F() 198 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, c_hss[0].satisfied_signals); in TEST_F() 199 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
|
/external/libchrome/mojo/public/cpp/system/ |
D | handle_signals_state.h | 56 bool writable() const { return satisfies_any(MOJO_HANDLE_SIGNAL_WRITABLE); } in writable() 82 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_WRITABLE); in never_writable()
|
D | data_pipe_utils.cc | 83 result = Wait(destination.get(), MOJO_HANDLE_SIGNAL_WRITABLE); in BlockingCopyFromString()
|
D | string_data_pipe_producer.cc | 92 watcher_.Watch(producer_.get(), MOJO_HANDLE_SIGNAL_WRITABLE, in Write()
|
D | file_data_pipe_producer.cc | 112 watcher_->Watch(producer_handle_.get(), MOJO_HANDLE_SIGNAL_WRITABLE, in StartFromFileOnFileSequence()
|
/external/libchrome/mojo/public/c/system/ |
D | types.h | 188 const MojoHandleSignals MOJO_HANDLE_SIGNAL_WRITABLE = 1 << 1; variable 196 #define MOJO_HANDLE_SIGNAL_WRITABLE ((MojoHandleSignals)1 << 1) macro
|
D | README.md | 630 | `satisfied_signals` | `MOJO_HANDLE_SIGNAL_WRITABLE` 631 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_WRITABLE + MOJO_HANDLE_…
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 256 CHECK_EQ(WaitForSignals(producer, MOJO_HANDLE_SIGNAL_WRITABLE), in WriteData()
|