Searched refs:new_storage_size (Results 1 – 2 of 2) sorted by relevance
165 int new_storage_size = 2 * storage_size_; in Reserve() local166 if (new_storage_size < size + read_size) { in Reserve()167 new_storage_size = size + read_size; in Reserve()171 char* new_storage = new char[new_storage_size]; in Reserve()180 storage_size_ = new_storage_size; in Reserve()
127 const size_t new_storage_size = old_storage_size_used + sp.size(); in WriteToContiguousBuffer() local128 char* new_storage = new char[new_storage_size]; in WriteToContiguousBuffer()136 blocks_[0].buffer_size = new_storage_size; in WriteToContiguousBuffer()