Lines Matching refs:pool_malloc
102 REQUIRE(pool_malloc(pool, 8)); in TestPoolReset()
103 REQUIRE(pool_malloc(pool, 50*1024)); in TestPoolReset()
109 REQUIRE(pool_malloc(pool, 8)); in TestPoolReset()
110 REQUIRE(pool_malloc(pool, 50*1024)); in TestPoolReset()
144 afterTerm[i] = pool_malloc(pool, i%2? 8*1024 : 9*1024); in operator ()()
146 crossThread[i] = pool_malloc(pool, i%2? 9*1024 : 8*1024); in operator ()()
151 local[i-1] = pool_malloc(pool, 6*1024); in operator ()()
153 local[i] = pool_malloc(pool, 16*1024); in operator ()()
186 void *hugeObj = pool_malloc(pool, 10*1024*1024); in TestSharedPool()
247 obj[id] = (char*)pool_malloc(pool[id], objLen); in operator ()()
253 void *ptrLarge = pool_malloc(pool[id], lrgSz); in operator ()()
257 while (pool_malloc(pool[id], 5 * 1024)); in operator ()()
261 CHECK(!pool_malloc(pool[id], 5*1024)); in operator ()()
350 void *o = pool_malloc(pool, reqSize); in operator ()()
367 void *o = pool_malloc(pool, id%2? 64 : 128*1024); in operator ()()
381 void *o = pool_malloc(pool, id%2? 64 : 128*1024); in operator ()()
389 if (void *p = pool_malloc(pool, sz)) { in haveEnoughSpace()
412 ptrs[i] = pool_malloc(pool, MAX_OBJECT/ITERS); in TestFixedBufferPool()
449 void *largeObj = pool_malloc(pool, maxSz); in TestFixedBufferPool()
451 void *o = pool_malloc(pool, 64); in TestFixedBufferPool()
458 largeObj = pool_malloc(pool, maxSz-512*1024); in TestFixedBufferPool()
503 void *p = pool_malloc(pool, sz); in TestPoolGranularity()
545 ptrs[i] = pool_malloc(pool, 7*1024); in TestPoolKeepTillDestroy()
546 ptrs[i+1] = pool_malloc(pool, 10*1024); in TestPoolKeepTillDestroy()
548 ptrs[2*ITERS] = pool_malloc(pool, 8*1024*1024); in TestPoolKeepTillDestroy()
561 void *p = pool_malloc(pool, 8*1024*1024); in TestPoolKeepTillDestroy()
640 void *o = pool_malloc(pool, size); in CreateUsablePool()
727 objs[id] = (AllocatedObject*)pool_malloc(pools[id], BUF_SIZE/2); in operator ()()
733 AllocatedObject *o = (AllocatedObject*)pool_malloc(pools[id], 256); in operator ()()
741 objs[id] = (AllocatedObject*)pool_malloc(pools[id], 16); in operator ()()
799 void *p = pool_malloc(pool, id%2? 8 : 9000); in operator ()()
842 void *ptr = pool_malloc(pool, 16); in TestDestroyFailed()
865 void* obj = pool_malloc(pool, requestedSz[i]); in TestPoolMSize()