Lines Matching refs:buffer_offset_
77 if (buffer_offset_ != buffer_size_) { in Next()
78 *data = buffer_.get() + buffer_offset_; in Next()
79 *size = buffer_size_ - buffer_offset_; in Next()
80 total_byte_count_ += buffer_size_ - buffer_offset_; in Next()
81 buffer_offset_ = buffer_size_; in Next()
99 buffer_offset_ = buffer_size_; in Next()
108 if (count > buffer_offset_) { in BackUp()
109 count = buffer_offset_; in BackUp()
111 buffer_offset_ -= count; in BackUp()
167 if (buffer_offset_ == buffer_capacity_) { in Next()
173 const size_t buffer_size = buffer_capacity_ - buffer_offset_; in Next()
174 *data = buffer_.get() + buffer_offset_; in Next()
177 buffer_offset_ = buffer_capacity_; in Next()
182 if (count > buffer_offset_) { in BackUp()
183 count = buffer_offset_; in BackUp()
185 buffer_offset_ -= count; in BackUp()
201 ssize_t n = TEMP_FAILURE_RETRY(write(fd_, buffer_.get(), buffer_offset_)); in FlushImpl()
210 buffer_offset_ = 0u; in FlushImpl()