Searched refs:MemoryPool (Results 1 – 4 of 4) sorted by relevance
/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 size_t MemoryPool<ElementType, kSize>::getFreeBlockCount() const { in getFreeBlockCount() 70 typename MemoryPool<ElementType, kSize>::MemoryPoolBlock 71 *MemoryPool<ElementType, kSize>::blocks() { in blocks()
|
D | memory_pool.h | 49 class MemoryPool : public NonCopyable { 55 MemoryPool();
|
D | synchronized_memory_pool.h | 65 MemoryPool<ElementType, kSize> mMemoryPool;
|
/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() 23 TEST(MemoryPool, ExhaustPoolThenDeallocateOneAndAllocateOne) { in TEST() argument 24 MemoryPool<int, 3> memoryPool; in TEST() 66 TEST(MemoryPool, ExhaustPoolThenRandomDeallocate) { in TEST() argument 72 MemoryPool<size_t, kMemoryPoolSize> memoryPool; in TEST()
|