Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DStringStream.cpp74 buffer_offset_(0u), in StringOutputStream()
83 if (buffer_offset_ == buffer_capacity_) { in Next()
87 *data = buffer_.get() + buffer_offset_; in Next()
88 *size = buffer_capacity_ - buffer_offset_; in Next()
89 buffer_offset_ = buffer_capacity_; in Next()
94 if (count > buffer_offset_) { in BackUp()
95 buffer_offset_ = 0u; in BackUp()
97 buffer_offset_ -= count; in BackUp()
102 return str_->size() + buffer_offset_; in ByteCount()
106 if (buffer_offset_ != 0u) { in Flush()
[all …]
DStringStream.h87 size_t buffer_offset_; variable
/frameworks/base/libs/androidfw/
DFileStream.cpp77 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()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DFileStream.h69 size_t buffer_offset_ = 0u; variable
111 size_t buffer_offset_ = 0u; variable