Home
last modified time | relevance | path

Searched refs:MOJO_RESULT_SHOULD_WAIT (Results 1 – 19 of 19) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Ddata_pipe_utils.cc28 } else if (result == MOJO_RESULT_SHOULD_WAIT) { in BlockingCopyHelper()
82 } else if (result == MOJO_RESULT_SHOULD_WAIT) { in BlockingCopyFromString()
Ddata_pipe_drainer.cc41 } else if (rv != MOJO_RESULT_SHOULD_WAIT) { in ReadData()
Dstring_data_pipe_producer.cc36 if (result == MOJO_RESULT_SHOULD_WAIT) { in WriteDataToProducerHandle()
Dfile_data_pipe_producer.cc151 if (result == MOJO_RESULT_SHOULD_WAIT) in TransferSomeBytes()
/external/libchrome/mojo/public/c/system/
Dtypes.h105 const MojoResult MOJO_RESULT_SHOULD_WAIT = 17; variable
124 #define MOJO_RESULT_SHOULD_WAIT ((MojoResult)17) macro
DREADME.md266 We'll get a `result` of `MOJO_RESULT_SHOULD_WAIT`, indicating that the pipe is
392 `MOJO_RESULT_SHOULD_WAIT`.
/external/libchrome/mojo/public/cpp/bindings/lib/
Dconnector.cc466 } else if (rv == MOJO_RESULT_SHOULD_WAIT) { in ReadSingleMessage()
492 DCHECK(rv == MOJO_RESULT_OK || rv == MOJO_RESULT_SHOULD_WAIT); in ReadAllAvailableMessages()
494 if (rv == MOJO_RESULT_SHOULD_WAIT) { in ReadAllAvailableMessages()
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc94 EXPECT_EQ(MOJO_RESULT_SHOULD_WAIT, MojoReadMessage(h0, nullptr, &message)); in TEST()
181 EXPECT_EQ(MOJO_RESULT_SHOULD_WAIT, in TEST()
186 EXPECT_EQ(MOJO_RESULT_SHOULD_WAIT, in TEST()
Dcore_perftest.cc88 if (result == MOJO_RESULT_SHOULD_WAIT) { in Run()
151 assert(result == MOJO_RESULT_SHOULD_WAIT); in MessagePipe_EmptyRead()
/external/libchrome/mojo/core/
Dmessage_pipe_unittest.cc115 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F()
124 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F()
146 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F()
182 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadMessage(pipe1_, buffer, &buffer_size)); in TEST_F()
Dwatch.cc30 MojoResult rv = MOJO_RESULT_SHOULD_WAIT; in NotifyState()
Ddata_pipe_producer_dispatcher.cc127 return MOJO_RESULT_SHOULD_WAIT; in WriteData()
175 : MOJO_RESULT_SHOULD_WAIT; in BeginWriteData()
Ddata_pipe_consumer_dispatcher.cc155 : MOJO_RESULT_SHOULD_WAIT; in ReadData()
210 : MOJO_RESULT_SHOULD_WAIT; in BeginReadData()
Ddata_pipe_unittest.cc240 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadData(elements, &num_bytes)); in TEST_F()
249 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, DiscardData(&num_bytes)); in TEST_F()
1675 EXPECT_EQ(MOJO_RESULT_SHOULD_WAIT, result); in WriteAllData()
1715 EXPECT_EQ(MOJO_RESULT_SHOULD_WAIT, result); in ReadAllData()
2015 } while (result == MOJO_RESULT_SHOULD_WAIT); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dmessage_pipe_dispatcher.cc183 return MOJO_RESULT_SHOULD_WAIT; in ReadMessage()
Dcore_unittest.cc164 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, in TEST_F()
Dmultiprocess_message_pipe_unittest.cc1291 } while (result == MOJO_RESULT_SHOULD_WAIT); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libchrome/mojo/public/cpp/system/tests/
Dstring_data_pipe_producer_unittest.cc60 if (read_result == MOJO_RESULT_SHOULD_WAIT) in OnDataAvailable()
Dfile_data_pipe_producer_unittest.cc65 if (read_result == MOJO_RESULT_SHOULD_WAIT) in OnDataAvailable()