HomeSort by relevance Sort by last modified time
    Searched refs:test_read_buffer_ (Results 1 - 3 of 3) sorted by null

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

Completed in 104 milliseconds