Lines Matching refs:pool
56 // do we already have a child pool?
60 // create the pool object
61 DebugAllocPool* pool
63 if (pool == NULL)
68 Free(pool);
75 pool->Init(header + 1, header->size * 8);
76 pool->fParent = this;
78 return fChild = pool;
239 DebugAllocPool* pool = sCurrentPool->CreateChildPool();
240 if (pool == NULL)
243 sCurrentPool = pool;
249 delete_debug_alloc_pool(debug_alloc_pool* pool)
251 if (pool == NULL || sCurrentPool == NULL)
254 // find the pool in the hierarchy
256 while (otherPool != NULL && otherPool != pool)
262 // destroy the pool
263 sCurrentPool = pool->Parent();
264 pool->Destroy();
266 if (pool != &sInitialPool)
267 debug_free(pool);