Home
last modified time | relevance | path

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

/external/puffin/src/
Dpuffin_stream.cc173 cur_puff_ = std::next(puffs_.begin(), next_puff_idx); in Seek()
176 if (offset < cur_puff_->offset) { in Seek()
179 auto back_track_bytes = cur_puff_->offset - puff_pos_; in Seek()
181 if (cur_puff_ != puffs_.begin()) { in Seek()
189 puff_pos_ = cur_puff_->offset; in Seek()
208 if (cur_puff_ == puffs_.end()) { in Read()
215 if (puff_pos_ < cur_puff_->offset) { in Read()
255 TEST_AND_RETURN_FALSE(puff_pos_ <= cur_puff_->offset); in Read()
267 (length - bytes_read >= cur_puff_->length); in Read()
269 auto cur_puff_idx = std::distance(puffs_.begin(), cur_puff_); in Read()
[all …]
Dpuffin_stream.h123 std::vector<ByteExtent>::iterator cur_puff_; variable