Home
last modified time | relevance | path

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

/external/chromium_org/base/memory/
Ddiscardable_memory_ashmem_allocator.cc468 DCHECK(ashmem_regions_.empty()); in ~DiscardableMemoryAshmemAllocator()
481 DCHECK_LE(ashmem_regions_.size(), 5U); in Allocate()
482 for (ScopedVector<AshmemRegion>::iterator it = ashmem_regions_.begin(); in Allocate()
483 it != ashmem_regions_.end(); ++it) { in Allocate()
501 ashmem_regions_.push_back(new_region.release()); in Allocate()
502 return ashmem_regions_.back()->Allocate_Locked(size, aligned_size); in Allocate()
518 DCHECK_LE(ashmem_regions_.size(), 5U); in DeleteAshmemRegion_Locked()
520 ashmem_regions_.begin(), ashmem_regions_.end(), region); in DeleteAshmemRegion_Locked()
521 DCHECK_NE(ashmem_regions_.end(), it); in DeleteAshmemRegion_Locked()
522 std::swap(*it, ashmem_regions_.back()); in DeleteAshmemRegion_Locked()
[all …]
Ddiscardable_memory_ashmem_allocator.h85 ScopedVector<AshmemRegion> ashmem_regions_; variable