Lines Matching refs:buf
104 void *buf; member
107 FixedPool(void *a_buf, size_t a_size) : buf(a_buf), size(a_size), used(false) {} in FixedPool()
117 return bytes? ((FixedPool*)pool_id)->buf : nullptr; in fixedBufGetMem()
125 char *buf; in TestSmallFixedSizePool() local
129 buf = (char*)malloc(sz); in TestSmallFixedSizePool()
132 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
151 FixedPool fixedPool(buf, sz); in TestSmallFixedSizePool()
161 free(buf); in TestSmallFixedSizePool()
197 static char buf[1024*1024*4]; variable
198 tbb::fixed_pool pool(buf, sizeof(buf));
209 char *p3 = (char*)pool.realloc( p2, sizeof(buf)-128*1024 );
212 for( size_t sz = 10; sz < sizeof(buf); sz *= 2) {
292 static char buf[1024*1024*4]; variable
293 tbb::fixed_pool fpool(buf, sizeof(buf));