Searched refs:buffer_size_ (Results 1 – 4 of 4) sorted by relevance
61 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 …]
66 if (buffer_offset_ != buffer_size_) { 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()82 buffer_size_ = static_cast<size_t>(n); in Next()83 buffer_offset_ = buffer_size_; in Next()84 total_byte_count_ += buffer_size_; in Next()87 *size = buffer_size_; in Next()88 return buffer_size_ != 0u; in Next()
59 size_t buffer_size_ = 0u; variable
141 size_t GetBufferUnreadBytes() { return buffer_size_ - cursor_; } in GetBufferUnreadBytes()184 size_t buffer_size_; variable