Lines Matching defs:memory
5 #include "base/memory/discardable_memory_ashmem_allocator.h"
21 #include "base/memory/scoped_vector.h"
82 DPLOG(ERROR) << "Failed to map memory.";
93 DPLOG(ERROR) << "Failed to unmap memory.";
107 DLOG(ERROR) << "Failed to unpin memory.";
162 scoped_ptr<DiscardableAshmemChunk> memory = ReuseFreeChunk_Locked(
164 if (memory)
165 return memory.Pass();
173 memory.reset(
182 return memory.Pass();
260 // memory pressure.
278 scoped_ptr<DiscardableAshmemChunk> memory(
282 return memory.Pass();
291 // kernel if needed (under memory pressure) but they are not immediately
296 // fragmentation in order not to cause "artificial" memory pressure.
485 scoped_ptr<DiscardableAshmemChunk> memory(
487 if (memory)
488 return memory.Pass();