Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/bcinfo/Wrap/
Dbitcode_wrapperer.cpp61 buffer_size_(0), in BitcodeWrapperer()
93 buffer_size_ = 0; in ClearBuffer()
121 if (cursor_ < buffer_size_) { in FillBuffer()
123 while (cursor_ < buffer_size_) { in FillBuffer()
127 buffer_size_ = i; in FillBuffer()
132 buffer_size_ = 0; in FillBuffer()
141 size_t needed = buffer_.size() - buffer_size_; in FillBuffer()
143 while (buffer_.size() > buffer_size_) { in FillBuffer()
144 int actually_read = infile_->Read(&buffer_[buffer_size_], needed); in FillBuffer()
149 buffer_size_ += actually_read; in FillBuffer()
[all …]
/frameworks/base/libs/androidfw/
DFileStream.cpp77 if (buffer_offset_ != buffer_size_) { 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()
98 buffer_size_ = static_cast<size_t>(n); in Next()
99 buffer_offset_ = buffer_size_; in Next()
100 total_byte_count_ += buffer_size_; in Next()
103 *size = buffer_size_; in Next()
104 return buffer_size_ != 0u; in Next()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
Dbitcode_wrapperer.h141 size_t GetBufferUnreadBytes() { return buffer_size_ - cursor_; } in GetBufferUnreadBytes()
184 size_t buffer_size_; variable
/frameworks/base/libs/androidfw/include/androidfw/
DFileStream.h70 size_t buffer_size_ = 0u; variable