Home
last modified time | relevance | path

Searched refs:new_buffer (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/
Dserializable.cpp73 uint8_t* new_buffer = new (std::nothrow) uint8_t[new_size]; in reserve() local
74 if (!new_buffer) in reserve()
76 memcpy(new_buffer, buffer_.get() + read_position_, available_read()); in reserve()
78 buffer_.reset(new_buffer); in reserve()
/system/tools/aidl/
Daidl_language.cpp263 unique_ptr<string> new_buffer = io_delegate_.GetFileContents(filename); in ParseFile() local
264 if (!new_buffer) { in ParseFile()
275 raw_buffer_ = std::move(new_buffer); in ParseFile()