Lines Matching refs:m_pool
44 deMemPool* getRawPool (void) { return m_pool; } in getRawPool()
46 int getNumChildren (void) const { return deMemPool_getNumChildren(m_pool); } in getNumChildren()
48 …ocatedBytes (bool recurse) const { return deMemPool_getNumAllocatedBytes(m_pool, recurse ? DE_TRUE… in getNumAllocatedBytes()
49 …deUintptr getCapacity (bool recurse) const { return deMemPool_getCapacity(m_pool, recurse ? DE… in getCapacity()
58 deMemPool* m_pool; member in de::MemPool
69 m_pool = deMemPool_createRoot(util, flags); in MemPool()
70 if (!m_pool) in MemPool()
76 m_pool = deMemPool_create(parent->m_pool); in MemPool()
77 if (!m_pool) in MemPool()
83 deMemPool_destroy(m_pool); in ~MemPool()
90 void* ptr = deMemPool_alloc(m_pool, (int)numBytes); in alloc()
100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignBytes); in alignedAlloc()