Searched refs:MemoryPool (Results 1 – 4 of 4) sorted by relevance
/system/chre/util/tests/ |
D | memory_pool_test.cc | 8 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/ |
D | memory_pool_impl.h | 27 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()
|
D | memory_pool.h | 50 class MemoryPool : public NonCopyable { 56 MemoryPool();
|
D | synchronized_memory_pool.h | 60 MemoryPool<ElementType, kSize> mMemoryPool;
|