Home
last modified time | relevance | path

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

/external/chromium_org/base/memory/
Ddiscardable_memory_ashmem_allocator.cc239 const FreeChunk reused_chunk = RemoveFreeChunkFromIterator_Locked( in ReuseFreeChunk_Locked() local
241 if (reused_chunk.is_null()) in ReuseFreeChunk_Locked()
245 std::make_pair(reused_chunk.start, reused_chunk.previous_chunk)); in ReuseFreeChunk_Locked()
246 size_t reused_chunk_size = reused_chunk.size; in ReuseFreeChunk_Locked()
251 DCHECK_GE(reused_chunk.size, client_requested_size); in ReuseFreeChunk_Locked()
253 reused_chunk.size - client_requested_size; in ReuseFreeChunk_Locked()
261 static_cast<char*>(reused_chunk.start) + actual_size; in ReuseFreeChunk_Locked()
262 if (reused_chunk.start == highest_allocated_chunk_) { in ReuseFreeChunk_Locked()
267 DCHECK_GT(reused_chunk.size, actual_size); in ReuseFreeChunk_Locked()
268 const size_t new_chunk_size = reused_chunk.size - actual_size; in ReuseFreeChunk_Locked()
[all …]