Lines Matching full:offset_
94 : backend_(backend->GetWeakPtr()), offset_(0), grow_allowed_(true) {
125 int Start() { return offset_; }
126 int End() { return offset_ + Size(); }
133 int offset_;
145 if (offset < offset_)
153 // buffer offset_ at 0.
157 int required = offset - offset_ + len;
163 DCHECK_GE(offset, offset_);
164 DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_;
166 offset -= offset_;
175 DCHECK_GE(offset, offset_);
176 DVLOG(3) << "Buffer write at " << offset << " current " << offset_;
179 offset_ = offset;
181 offset -= offset_;
207 if (offset < offset_) {
214 *len = std::min(*len, offset_ - offset);
225 return (offset - offset_ < Size());
231 DCHECK(Size() || offset < offset_);
234 if (offset < offset_) {
236 clean_bytes = std::min(offset_ - offset, len);
240 offset = offset_;
244 int start = offset - offset_;
262 offset_ = 0;