Lines Matching refs:sz
73 void *allocate(size_t sz) { in allocate() argument
74 void *p = cnt_provider_t::allocate(sz); in allocate()
78 void deallocate(void *p, size_t sz) { in deallocate() argument
81 cnt_provider_t::deallocate(std::allocator_traits<cnt_provider_t>::pointer(p), sz); in deallocate()
128 for (size_t sz = 0; sz < 64*1024; sz = sz? 3*sz : 3) { in TestSmallFixedSizePool() local
129 buf = (char*)malloc(sz); in TestSmallFixedSizePool()
132 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
139 REQUIRE_MESSAGE(!sz, "expect std::invalid_argument for zero-sized pool only"); in TestSmallFixedSizePool()
151 FixedPool fixedPool(buf, sz); in TestSmallFixedSizePool()
212 for( size_t sz = 10; sz < sizeof(buf); sz *= 2) { variable
213 REQUIRE( pool.malloc( sz ) );