Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DData.h46 : data_(std::move(data)), offset_(offset), len_(len), next_read_(offset) {} in DataSegment()
56 if (next_read_ == offset_ + len_) { in Next()
59 *data = static_cast<const uint8_t*>(data_->data()) + next_read_; in Next()
60 *size = len_ - (next_read_ - offset_); in Next()
61 next_read_ = offset_ + len_; in Next()
66 if (count > next_read_ - offset_) { in BackUp()
67 next_read_ = offset_; in BackUp()
69 next_read_ -= count; in BackUp()
76 next_read_ = offset_; in Rewind()
80 size_t ByteCount() const override { return next_read_ - offset_; } in ByteCount()
[all …]