Home
last modified time | relevance | path

Searched refs:puff_buffer_ (Results 1 – 2 of 2) sorted by relevance

/external/puffin/src/
Dpuffin_stream.cc136 puff_buffer_.reset(new Buffer(max_puff_length + 1)); in PuffinStream()
271 !GetPuffCache(cur_puff_idx, cur_puff_->length, &puff_buffer_)) { in Read()
281 : puff_buffer_->data(), in Read()
301 memcpy(bytes + bytes_read, puff_buffer_->data() + skip_bytes_, in Read()
365 TEST_AND_RETURN_FALSE(puff_buffer_->size() >= skip_bytes_ + copy_len); in Write()
366 memcpy(puff_buffer_->data() + skip_bytes_, bytes + bytes_wrote, copy_len); in Write()
378 BufferPuffReader puff_reader(puff_buffer_->data(), cur_puff_->length); in Write()
392 puff_buffer_->data()[cur_puff_->length] << (deflate_bit_pos_ & 7); in Write()
Dpuffin_stream.h155 std::shared_ptr<Buffer> puff_buffer_; variable