Lines Matching refs:EndWriteData
118 MojoResult EndWriteData(uint32_t num_bytes_written) { in EndWriteData() function in mojo::edk::__anon3dd879de0111::DataPipeTest
395 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(static_cast<uint32_t>( in TEST_F()
695 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(2u * sizeof(elements[0]))); in TEST_F()
795 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(1u * sizeof(int32_t))); in TEST_F()
836 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(0u)); in TEST_F()
1092 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(0)); in TEST_F()
1265 ASSERT_EQ(MOJO_RESULT_OK, EndWriteData(kTestDataSize)); in TEST_F()
1445 EndWriteData(1u * sizeof(int32_t))); in TEST_F()
1461 EndWriteData(num_bytes + static_cast<uint32_t>(sizeof(int32_t)))); in TEST_F()
1464 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION, EndWriteData(0u)); in TEST_F()
1480 ASSERT_EQ(MOJO_RESULT_INVALID_ARGUMENT, EndWriteData(1u)); in TEST_F()
1483 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION, EndWriteData(0u)); in TEST_F()