Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DStringStream.cpp57 buffer_offset_(0u), in StringOutputStream()
66 if (buffer_offset_ == buffer_capacity_) { in Next()
70 *data = buffer_.get() + buffer_offset_; in Next()
71 *size = buffer_capacity_ - buffer_offset_; in Next()
72 buffer_offset_ = buffer_capacity_; in Next()
77 if (count > buffer_offset_) { in BackUp()
78 buffer_offset_ = 0u; in BackUp()
80 buffer_offset_ -= count; in BackUp()
85 return str_->size() + buffer_offset_; in ByteCount()
89 if (buffer_offset_ != 0u) { in Flush()
[all …]
DFileStream.cpp66 if (buffer_offset_ != buffer_size_) { in Next()
67 *data = buffer_.get() + buffer_offset_; in Next()
68 *size = buffer_size_ - buffer_offset_; in Next()
69 total_byte_count_ += buffer_size_ - buffer_offset_; in Next()
70 buffer_offset_ = buffer_size_; in Next()
83 buffer_offset_ = buffer_size_; in Next()
92 if (count > buffer_offset_) { in BackUp()
93 count = buffer_offset_; in BackUp()
95 buffer_offset_ -= count; in BackUp()
147 if (buffer_offset_ == buffer_capacity_) { in Next()
[all …]
DFileStream.h58 size_t buffer_offset_ = 0u; variable
100 size_t buffer_offset_ = 0u; variable
DStringStream.h86 size_t buffer_offset_; variable