• Home
  • Raw
  • Download

Lines Matching refs:deMemPool

89 	deMemPool*		parent;				/*!< Pointer to parent (null for root pools).		*/
92 deMemPool* firstChild; /*!< Pointer to first child pool in linked list. */
93 deMemPool* prevPool; /*!< Previous pool in parent's linked list. */
94 deMemPool* nextPool; /*!< Next pool in parent's linked list. */
169 static deMemPool* createPoolInternal (deMemPool* parent) in createPoolInternal()
171 deMemPool* pool; in createPoolInternal()
188 DE_ASSERT((int)sizeof(deMemPool) <= initialPage->capacity); in createPoolInternal()
189 pool = (deMemPool*)(initialPage + 1); in createPoolInternal()
190 initialPage->bytesAllocated += (int)sizeof(deMemPool); in createPoolInternal()
192 memset(pool, 0, sizeof(deMemPool)); in createPoolInternal()
219 deMemPool* root = pool; in createPoolInternal()
241 deMemPool* deMemPool_createRoot (const deMemPoolUtil* util, deUint32 flags) in deMemPool_createRoot()
243 deMemPool* pool = createPoolInternal(DE_NULL); in deMemPool_createRoot()
281 deMemPool* deMemPool_create (deMemPool* parent) in deMemPool_create()
283 deMemPool* pool; in deMemPool_create()
298 void deMemPool_destroy (deMemPool* pool) in deMemPool_destroy()
300 deMemPool* iter; in deMemPool_destroy()
301 deMemPool* iterNext; in deMemPool_destroy()
307 deMemPool* root = pool->parent; in deMemPool_destroy()
332 deMemPool* parent = pool->parent; in deMemPool_destroy()
378 int deMemPool_getNumChildren (const deMemPool* pool) in deMemPool_getNumChildren()
390 int deMemPool_getNumAllocatedBytes (const deMemPool* pool, deBool recurse) in deMemPool_getNumAllocatedBytes()
400 deMemPool* child; in deMemPool_getNumAllocatedBytes()
408 int deMemPool_getCapacity (const deMemPool* pool, deBool recurse) in deMemPool_getCapacity()
418 deMemPool* child; in deMemPool_getCapacity()
426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, size_t numBytes, deUint32 alignBytes) in deMemPool_allocInternal()
499 void* deMemPool_alloc (deMemPool* pool, size_t numBytes) in deMemPool_alloc()
517 void* deMemPool_alignedAlloc (deMemPool* pool, size_t numBytes, deUint32 alignBytes) in deMemPool_alignedAlloc()
536 void* deMemPool_memDup (deMemPool* pool, const void* ptr, size_t numBytes) in deMemPool_memDup()
550 char* deMemPool_strDup (deMemPool* pool, const char* str) in deMemPool_strDup()
566 char* deMemPool_strnDup (deMemPool* pool, const char* str, int maxLength) in deMemPool_strnDup()
583 int deMemPool_getMaxNumAllocatedBytes (const deMemPool* pool) in deMemPool_getMaxNumAllocatedBytes()
589 int deMemPool_getMaxCapacity (const deMemPool* pool) in deMemPool_getMaxCapacity()