Home
last modified time | relevance | path

Searched refs:puff_buffer (Results 1 – 5 of 5) sorted by relevance

/external/puffin/src/
Dpuff_io_unittest.cc240 Buffer puff_buffer = {0x00, 0x03, 0x02, 0x00, 0x00}; in TEST() local
241 BufferPuffReader pr(puff_buffer.data(), puff_buffer.size()); in TEST()
247 Buffer puff_buffer(20); in TEST() local
248 BufferPuffWriter pw(puff_buffer.data(), puff_buffer.size()); in TEST()
279 puff_buffer = {0x00, 0x00, 0xFF, 0xFF, 0x80, 0x00, in TEST()
281 BufferPuffReader pr(puff_buffer.data(), puff_buffer.size()); in TEST()
291 Buffer puff_buffer(5); in TEST() local
297 BufferPuffWriter pw(puff_buffer.data(), i); in TEST()
303 BufferPuffWriter pw(puff_buffer.data(), i); in TEST()
308 puff_buffer = {0x00, 0x00, 0xFF, 0xFF, 0x80, 0x00}; in TEST()
[all …]
Dpuffin_unittest.cc188 const Buffer& puff_buffer, in CheckBitExtentsPuffAndHuff() argument
197 EXPECT_EQ(puff_size, puff_buffer.size()); in CheckBitExtentsPuffAndHuff()
204 Buffer out_puff_buffer(puff_buffer.size()); in CheckBitExtentsPuffAndHuff()
207 EXPECT_EQ(out_puff_buffer, puff_buffer); in CheckBitExtentsPuffAndHuff()
218 src_puffin_stream->Write(puff_buffer.data(), puff_buffer.size())); in CheckBitExtentsPuffAndHuff()
271 Buffer puff_buffer(11); // Same size as |uncomp_puff| below. in TEST_F() local
272 BufferPuffWriter puff_writer(puff_buffer.data(), puff_buffer.size()); in TEST_F()
278 EXPECT_EQ(puff_buffer, kPuff); in TEST_F()
Dpuffdiff.cc109 Buffer* puff_buffer, vector<ByteExtent>* puffs) { in PuffDiff() argument
117 puff_buffer->resize(puff_size); in PuffDiff()
119 src_puffin_stream->Read(puff_buffer->data(), puff_buffer->size())); in PuffDiff()
Dfuzzer.cc50 Buffer puff_buffer(size * 2); in FuzzPuff() local
51 BufferPuffWriter puff_writer(puff_buffer.data(), puff_buffer.size()); in FuzzPuff()
Dmain.cc253 Buffer puff_buffer; in Main() local
255 ? MemoryStream::CreateForWrite(&puff_buffer) in Main()
275 auto read_puff_stream = MemoryStream::CreateForRead(puff_buffer); in Main()