Home
last modified time | relevance | path

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

/external/puffin/src/
Dpuff_writer.cc43 if ((cur_literals_length_ + length) > 127) { in Insert()
50 &puff_buf_out_[len_index_ + 1], cur_literals_length_); in Insert()
70 cur_literals_length_ += length; in Insert()
75 if (cur_literals_length_ == kLiteralsMaxLength) { in Insert()
162 if (cur_literals_length_ == 0) { in FlushLiterals()
167 TEST_AND_RETURN_FALSE(cur_literals_length_ == (index_ - len_index_ - 1)); in FlushLiterals()
170 kLiteralsHeader | static_cast<uint8_t>(cur_literals_length_ - 1); in FlushLiterals()
174 DVLOG(2) << "Write small literals length: " << cur_literals_length_; in FlushLiterals()
178 TEST_AND_RETURN_FALSE(cur_literals_length_ == (index_ - len_index_ - 3)); in FlushLiterals()
182 static_cast<uint16_t>(cur_literals_length_ - 127 - 1), in FlushLiterals()
[all …]
Dpuff_writer.h51 cur_literals_length_(0), in BufferPuffWriter()
78 size_t cur_literals_length_; variable