Lines Matching refs:buffer_
84 memcpy(new_buffer, buffer_.get() + read_position_, available_read()); in reserve()
85 memset_s(buffer_.get(), 0, buffer_size_); in reserve()
86 buffer_.reset(new_buffer); in reserve()
96 buffer_.reset(new (std::nothrow) uint8_t[size]); in Reinitialize()
97 if (!buffer_.get()) in Reinitialize()
109 buffer_.reset(new (std::nothrow) uint8_t[data_len]); in Reinitialize()
110 if (!buffer_.get()) in Reinitialize()
113 memcpy(buffer_.get(), data, data_len); in Reinitialize()
133 memcpy(buffer_.get() + write_position_, src, write_length); in write()
141 memcpy(dest, buffer_.get() + read_position_, read_length); in read()
156 if (!copy_size_and_data_from_buf(buf_ptr, end, &buffer_size_, &buffer_)) { in Deserialize()
157 buffer_.reset(); in Deserialize()
166 memset_s(buffer_.get(), 0, buffer_size_); in Clear()
167 buffer_.reset(); in Clear()