Home | History | Annotate | Download | only in memory

Lines Matching refs:AutoWritableMemory

18 // set read-write by creating a scoped AutoWritableMemory object by calling
19 // AutoWritableMemory::Create(), the memory stays writable until the returned
36 // auto writer = base::AutoWritableMemory::Create(items);
136 // ProtectedMemory and AutoWritableMemory.
176 // AutoWritableMemory is in scope. This class implements the logic for setting
178 class AutoWritableMemory {
191 // code that constructs and destructs an AutoWritableMemory. After such a call
208 AutoWritableMemory(void* ptr, void* ptr_end) {
231 // construct AutoWritableMemory objects.
233 static AutoWritableMemory Create(ProtectedMemory<T>& PM) {
235 return AutoWritableMemory(ptr, ptr + 1);
239 AutoWritableMemory(AutoWritableMemory&& original) {
249 ~AutoWritableMemory() {
264 DISALLOW_IMPLICIT_CONSTRUCTORS(AutoWritableMemory);
270 AutoWritableMemory writer = AutoWritableMemory::Create(*PM);