Home
last modified time | relevance | path

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

/system/chre/util/tests/
Dmemory_pool_test.cc8 using chre::MemoryPool;
10 TEST(MemoryPool, ExhaustPool) { in TEST() argument
11 MemoryPool<int, 3> memoryPool; in TEST()
18 TEST(MemoryPool, ExhaustPoolThenDeallocateOneAndAllocateOne) { in TEST() argument
19 MemoryPool<int, 3> memoryPool; in TEST()
60 TEST(MemoryPool, ExhaustPoolThenRandomDeallocate) { in TEST() argument
66 MemoryPool<size_t, kMemoryPoolSize> memoryPool; in TEST()
/system/chre/util/include/chre/util/
Dmemory_pool_impl.h27 MemoryPool<ElementType, kSize>::MemoryPool() { in MemoryPool() function
39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { in allocate()
53 void MemoryPool<ElementType, kSize>::deallocate(ElementType *element) { in deallocate()
65 MemoryPool<ElementType, kSize>::MemoryPoolBlock::MemoryPoolBlock( in MemoryPoolBlock()
Dmemory_pool.h50 class MemoryPool : public NonCopyable {
56 MemoryPool();
Dsynchronized_memory_pool.h60 MemoryPool<ElementType, kSize> mMemoryPool;