Home
last modified time | relevance | path

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

/external/puffin/src/
Dextent_stream.cc49 cur_extent_ = extents_.begin(); in ExtentStream()
70 cur_extent_ = std::next(extents_.begin(), extent_idx); in Seek()
74 stream_->Seek(cur_extent_->offset + cur_extent_offset_)); in Seek()
99 if (cur_extent_ == extents_.end()) { in DoReadOrWrite()
103 cur_extent_->length - cur_extent_offset_); in DoReadOrWrite()
120 if (cur_extent_offset_ == cur_extent_->length) { in DoReadOrWrite()
122 cur_extent_++; in DoReadOrWrite()
124 if (cur_extent_ != extents_.end()) { in DoReadOrWrite()
125 TEST_AND_RETURN_FALSE(stream_->Seek(cur_extent_->offset)); in DoReadOrWrite()
Dextent_stream.h54 std::vector<ByteExtent>::iterator cur_extent_; variable