Searched refs:block_size_ (Results 1 – 5 of 5) sorted by relevance
30 if (block.block_size_ - block.size >= size) { in NextBlockImpl()38 const size_t actual_size = std::max(block_size_, size); in NextBlockImpl()47 block.block_size_ = actual_size; in NextBlockImpl()57 if (block.size != block.block_size_) { in NextBlock()59 size_t size = block.block_size_ - block.size; in NextBlock()60 block.size = block.block_size_; in NextBlock()69 block.buffer = std::unique_ptr<uint8_t[]>(new uint8_t[block_size_]()); in NextBlock()71 block.size = block_size_; in NextBlock()72 block.block_size_ = block_size_; in NextBlock()74 size_ += block_size_; in NextBlock()[all …]
60 size_t block_size_; member131 size_t block_size_; variable137 : block_size_(block_size), size_(0) {} in BigBuffer()140 : block_size_(rhs.block_size_), in BigBuffer()146 inline size_t BigBuffer::block_size() const { return block_size_; } in block_size()
51 : data_(data), block_size_(block_size) {} in MockByteSource()55 return data_.substr(0, block_size_); in Peek()61 int block_size_; member in google::protobuf::strings::__anon62d99d070111::MockByteSource
62 block_size_(block_size > 0 ? block_size : size), in ArrayInputStream()72 last_returned_size_ = std::min(block_size_, size_ - position_); in Next()115 block_size_(block_size > 0 ? block_size : size), in ArrayOutputStream()125 last_returned_size_ = std::min(block_size_, size_ - position_); in Next()
88 const int block_size_; // How many bytes to return at a time. variable120 const int block_size_; // How many bytes to return at a time. variable