Searched refs:test_read_buffer_ (Results 1 – 3 of 3) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | memory_containers_unittest.cc | 55 void* const test_read_buffer_ = IntToPtr(12345); member in brillo::MemoryContainerTest 73 CopyMemoryBlock(test_read_buffer_, const_buffer_, 50)).Times(1); in TEST_F() 77 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 10, &read, &error)); in TEST_F() 89 CopyMemoryBlock(test_read_buffer_, const_buffer_, 20)).Times(1); in TEST_F() 92 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 80, &read, nullptr)); in TEST_F() 99 EXPECT_TRUE(container_.Read(test_read_buffer_, 50, 100, &read, nullptr)); in TEST_F() 116 EXPECT_FALSE(container_.Read(test_read_buffer_, 10, 0, &read, &error)); in TEST_F()
|
D | file_stream_unittest.cc | 188 char* const test_read_buffer_ = IntToPtr(12345); member in brillo::FileStreamTest 382 EXPECT_CALL(fd_mock(), Read(test_read_buffer_, 100)) in TEST_F() 387 test_read_buffer_, in TEST_F() 395 EXPECT_CALL(fd_mock(), Read(test_read_buffer_, 100)).WillOnce(Return(83)); in TEST_F() 404 EXPECT_CALL(fd_mock(), Read(test_read_buffer_, _)) in TEST_F() 406 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F() 411 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 0, &size, &eos, in TEST_F() 416 EXPECT_CALL(fd_mock(), Read(test_read_buffer_, _)).WillOnce(Return(0)); in TEST_F() 417 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &size, &eos, in TEST_F() 422 EXPECT_CALL(fd_mock(), Read(test_read_buffer_, _)) in TEST_F() [all …]
|
D | memory_stream_unittest.cc | 69 void* const test_read_buffer_ = IntToPtr(12345); member in brillo::MemoryStreamTest 147 EXPECT_CALL(container_mock(), Read(test_read_buffer_, 10, 0, _, nullptr)) in TEST_F() 150 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F() 156 EXPECT_CALL(container_mock(), Read(test_read_buffer_, 100, 5, _, nullptr)) in TEST_F() 159 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 100, &read, &eos, in TEST_F() 165 EXPECT_CALL(container_mock(), Read(test_read_buffer_, 10, 105, _, nullptr)) in TEST_F() 168 EXPECT_TRUE(stream_->ReadNonBlocking(test_read_buffer_, 10, &read, &eos, in TEST_F()
|