Home
last modified time | relevance | path

Searched refs:MOJO_HANDLE_SIGNAL_WRITABLE (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/mojo/core/
Dsignals_unittest.cc38 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()
Dmessage_pipe_unittest.cc27 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()
Dcore_unittest.cc28 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()
Dhandle_signals_state.h60 bool writable() const { return satisfies_any(MOJO_HANDLE_SIGNAL_WRITABLE); } in writable()
86 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_WRITABLE); in never_writable()
Ddata_pipe_unittest.cc355 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 …]
Dtrap_unittest.cc460 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 …]
Dmultiprocess_message_pipe_unittest.cc267 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()
Dmessage_pipe_dispatcher.cc372 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
373 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsStateNoLock()
Dembedder_unittest.cc225 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()
Ddata_pipe_producer_dispatcher.cc440 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/
Dcore_api_unittest.cc20 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/
Dhandle_signals_state_unittest.cc31 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F()
33 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE | in TEST_F()
Dcore_unittest.cc23 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()
Dwait_unittest.cc91 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/
Dhandle_signals_state.h56 bool writable() const { return satisfies_any(MOJO_HANDLE_SIGNAL_WRITABLE); } in writable()
82 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_WRITABLE); in never_writable()
Ddata_pipe_utils.cc83 result = Wait(destination.get(), MOJO_HANDLE_SIGNAL_WRITABLE); in BlockingCopyFromString()
Dstring_data_pipe_producer.cc92 watcher_.Watch(producer_.get(), MOJO_HANDLE_SIGNAL_WRITABLE, in Write()
Dfile_data_pipe_producer.cc112 watcher_->Watch(producer_handle_.get(), MOJO_HANDLE_SIGNAL_WRITABLE, in StartFromFileOnFileSequence()
/external/libchrome/mojo/public/c/system/
Dtypes.h188 const MojoHandleSignals MOJO_HANDLE_SIGNAL_WRITABLE = 1 << 1; variable
196 #define MOJO_HANDLE_SIGNAL_WRITABLE ((MojoHandleSignals)1 << 1) macro
DREADME.md630 | `satisfied_signals` | `MOJO_HANDLE_SIGNAL_WRITABLE`
631 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_WRITABLE + MOJO_HANDLE_…
/external/libchrome/mojo/core/test/
Dmojo_test_base.cc256 CHECK_EQ(WaitForSignals(producer, MOJO_HANDLE_SIGNAL_WRITABLE), in WriteData()