Home
last modified time | relevance | path

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

/external/chromium_org/mojo/system/
Dsimple_dispatcher_unittest.cc32 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE) {} in MockSimpleDispatcher()
109 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
117 d->AddWaiter(&w, MOJO_HANDLE_SIGNAL_WRITABLE, 1, nullptr)); in TEST()
118 d->SetSatisfiedSignals(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()
125 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
126 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
133 d->AddWaiter(&w, MOJO_HANDLE_SIGNAL_WRITABLE, 2, nullptr)); in TEST()
134 d->SetSatisfiedSignals(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()
141 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
142 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
[all …]
Dwaiter_list_unittest.cc45 waiter_list.AddWaiter(thread.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2); in TEST()
77 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE)); in TEST()
87 waiter_list.AddWaiter(thread.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2); in TEST()
89 MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
90 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE)); in TEST()
108 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE)); in TEST()
126 MOJO_HANDLE_SIGNAL_NONE, MOJO_HANDLE_SIGNAL_WRITABLE)); in TEST()
136 waiter_list.AddWaiter(thread.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2); in TEST()
153 MOJO_HANDLE_SIGNAL_NONE, MOJO_HANDLE_SIGNAL_WRITABLE)); in TEST()
179 waiter_list.AddWaiter(thread2.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2); in TEST()
[all …]
Dmessage_pipe_unittest.cc421 mp->AddWaiter(0, &waiter, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &hss)); in TEST()
422 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
423 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
431 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
434 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
435 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
445 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
446 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
463 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
465 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
[all …]
Dcore_unittest.cc651 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[0].satisfied_signals); in TEST_F()
652 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
654 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[1].satisfied_signals); in TEST_F()
655 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
676 MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
679 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[0].satisfied_signals); in TEST_F()
680 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
685 MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
688 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss[0].satisfied_signals); in TEST_F()
689 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
[all …]
Dmessage_pipe_dispatcher_unittest.cc58 d0->AddWaiter(&w, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &hss)); in TEST()
59 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
60 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
81 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
83 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
91 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
93 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
118 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
119 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
134 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
[all …]
Dremote_message_pipe_unittest.cc218 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
220 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
252 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
254 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
335 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
337 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
396 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
398 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
563 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
565 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST_F()
[all …]
Dlocal_data_pipe_unittest.cc234 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
235 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfiable_signals); in TEST()
242 dp->ProducerAddWaiter(&waiter, MOJO_HANDLE_SIGNAL_WRITABLE, 34, &hss)); in TEST()
257 dp->ProducerAddWaiter(&waiter, MOJO_HANDLE_SIGNAL_WRITABLE, 56, nullptr)); in TEST()
263 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfiable_signals); in TEST()
269 dp->ProducerAddWaiter(&waiter, MOJO_HANDLE_SIGNAL_WRITABLE, 78, nullptr)); in TEST()
288 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
289 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfiable_signals); in TEST()
309 dp->ProducerAddWaiter(&waiter, MOJO_HANDLE_SIGNAL_WRITABLE, 90, nullptr)); in TEST()
333 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, hss.satisfied_signals); in TEST()
[all …]
Dmultiprocess_message_pipe_unittest.cc230 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
232 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
284 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
286 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
423 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
425 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
Dlocal_message_pipe_endpoint.cc137 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsState()
139 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE; in GetHandleSignalsState()
Dlocal_data_pipe.cc161 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in ProducerGetHandleSignalsStateImplNoLock()
162 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_WRITABLE; in ProducerGetHandleSignalsStateImplNoLock()
Ddata_pipe.cc188 if (new_producer_state.satisfies(MOJO_HANDLE_SIGNAL_WRITABLE)) in ProducerEndWriteData()
/external/chromium_org/mojo/public/c/system/
Dtypes.h158 const MojoHandleSignals MOJO_HANDLE_SIGNAL_WRITABLE = 1 << 1; variable
162 #define MOJO_HANDLE_SIGNAL_WRITABLE ((MojoHandleSignals)1 << 1) macro
/external/chromium_org/mojo/public/c/system/tests/
Dcore_unittest.cc96 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(h0, MOJO_HANDLE_SIGNAL_WRITABLE, 0)); in TEST()
138 h1, MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, 1000)); in TEST()
171 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(hp, MOJO_HANDLE_SIGNAL_WRITABLE, 0)); in TEST()
/external/chromium_org/mojo/services/public/cpp/network/
Dweb_socket_write_queue.cc73 MOJO_HANDLE_SIGNAL_WRITABLE, in Wait()
/external/chromium_org/device/serial/
Ddata_source_sender.cc121 MOJO_HANDLE_SIGNAL_WRITABLE, in StartWaiting()
Ddata_sender.cc173 MOJO_HANDLE_SIGNAL_WRITABLE, in SendInternal()
/external/chromium_org/mojo/public/python/mojo/
Dc_core.pxd58 const MojoHandleSignals MOJO_HANDLE_SIGNAL_WRITABLE
Dsystem.pyx51 HANDLE_SIGNAL_WRITABLE = c_core.MOJO_HANDLE_SIGNAL_WRITABLE
/external/chromium_org/mojo/spy/
Dspy.cc134 MOJO_HANDLE_SIGNAL_WRITABLE, in Start()
/external/chromium_org/mojo/services/network/
Durl_loader_impl.cc323 MOJO_HANDLE_SIGNAL_WRITABLE, in WaitToReadMore()
/external/chromium_org/mojo/bindings/js/
Dcore.cc286 .SetValue("HANDLE_SIGNAL_WRITABLE", MOJO_HANDLE_SIGNAL_WRITABLE) in GetModule()
/external/chromium_org/mojo/public/cpp/system/tests/
Dcore_unittest.cc172 sigs.push_back(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST()