Lines Matching refs:o
350 void *o = pool_malloc(pool, reqSize); in operator ()() local
351 ASSERT(o, "Invalid object"); in operator ()()
352 pool_free(pool, o); in operator ()()
367 void *o = pool_malloc(pool, id%2? 64 : 128*1024); in operator ()() local
368 ASSERT(!o, "All memory must be consumed."); in operator ()()
381 void *o = pool_malloc(pool, id%2? 64 : 128*1024); in operator ()() local
383 pool_free(pool, o); in operator ()()
451 void *o = pool_malloc(pool, 64); in TestFixedBufferPool() local
452 if (o) // pool fragmented, skip FixedPoolNomem in TestFixedBufferPool()
453 pool_free(pool, o); in TestFixedBufferPool()
640 void *o = pool_malloc(pool, size); in CreateUsablePool() local
643 REQUIRE_MESSAGE(!o, "The pool must be unusable."); in CreateUsablePool()
646 REQUIRE_MESSAGE(o, "Created pool must be useful."); in CreateUsablePool()
650 pool_free(pool, o); in CreateUsablePool()
725 PoolIdentityCheck(rml::MemoryPool** p, AllocatedObject** o) : pools(p), objs(o) {} in PoolIdentityCheck() argument
733 AllocatedObject *o = (AllocatedObject*)pool_malloc(pools[id], 256); in operator ()() local
734 REQUIRE(o); in operator ()()
735 act_pool = rml::pool_identify(o); in operator ()()
737 pool_free(act_pool, o); in operator ()()