Lines Matching full:buffer_
45 buffer_(SessionBackend::kFileReadBufferSize, 0),
64 // Shifts the unused portion of buffer_ to the beginning and fills the
74 std::string buffer_;
79 // Position in buffer_ of the data.
130 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size));
141 if (command_size > buffer_.size())
142 buffer_.resize((command_size / 1024 + 1) * 1024, 0);
148 const id_type command_id = buffer_[buffer_position_];
155 &(buffer_[buffer_position_ + sizeof(id_type)]),
166 memmove(&(buffer_[0]), &(buffer_[buffer_position_]), available_count_);
169 DCHECK(buffer_position_ + available_count_ < buffer_.size());
170 int to_read = static_cast<int>(buffer_.size() - available_count_);
171 int read_count = file_->ReadUntilComplete(&(buffer_[available_count_]),