Lines Matching refs:pools
659 rml::MemoryPool *pools[MAX_POOLS]; in CheckPoolLeaks() local
670 pools[created] = p; in CheckPoolLeaks()
675 bool ok = pool_destroy(pools[i]); in CheckPoolLeaks()
722 rml::MemoryPool** const pools; member in PoolIdentityCheck
725 PoolIdentityCheck(rml::MemoryPool** p, AllocatedObject** o) : pools(p), objs(o) {} in PoolIdentityCheck()
727 objs[id] = (AllocatedObject*)pool_malloc(pools[id], BUF_SIZE/2); in operator ()()
730 REQUIRE(act_pool == pools[id]); in operator ()()
733 AllocatedObject *o = (AllocatedObject*)pool_malloc(pools[id], 256); in operator ()()
736 REQUIRE(act_pool == pools[id]); in operator ()()
741 objs[id] = (AllocatedObject*)pool_malloc(pools[id], 16); in operator ()()
753 rml::MemoryPool *pools[POOLS]; in TestPoolDetection() local
758 pool_create_v1((intptr_t)(head+i), &pol, &pools[i]); in TestPoolDetection()
762 PoolIdentityCheck check(pools, objs); in TestPoolDetection()
775 bool ok = pool_destroy(pools[i]); in TestPoolDetection()