Lines Matching refs:objs
723 AllocatedObject** const objs; 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 ()()
728 REQUIRE(objs[id]); in operator ()()
729 rml::MemoryPool *act_pool = rml::pool_identify(objs[id]); in operator ()()
740 pool_free(act_pool, objs[id]); in operator ()()
741 objs[id] = (AllocatedObject*)pool_malloc(pools[id], 16); in operator ()()
742 REQUIRE(objs[id]); in operator ()()
744 objs[id]->pool = act_pool; in operator ()()
755 AllocatedObject *objs[POOLS]; in TestPoolDetection() local
762 PoolIdentityCheck check(pools, objs); in TestPoolDetection()
769 rml::MemoryPool *p = rml::pool_identify(objs[i]); in TestPoolDetection()
770 REQUIRE(p == objs[i]->pool); in TestPoolDetection()
771 pool_free(p, objs[i]); in TestPoolDetection()