Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DFileStream.cpp41 : buffer_capacity_(buffer_capacity) { in FileInputStream()
47 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()
52 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileInputStream()
56 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()
74 ssize_t n = TEMP_FAILURE_RETRY(read(fd_, buffer_.get(), buffer_capacity_)); in Next()
112 : buffer_capacity_(buffer_capacity) { in FileOutputStream()
119 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()
129 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileOutputStream()
133 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()
147 if (buffer_offset_ == buffer_capacity_) { in Next()
[all …]
DStringStream.cpp56 buffer_capacity_(buffer_capacity), in StringOutputStream()
66 if (buffer_offset_ == buffer_capacity_) { in Next()
71 *size = buffer_capacity_ - buffer_offset_; in Next()
72 buffer_offset_ = buffer_capacity_; in Next()
DFileStream.h57 size_t buffer_capacity_ = 0u; variable
99 size_t buffer_capacity_ = 0u; variable
DStringStream.h85 size_t buffer_capacity_; variable