Lines Matching refs:tbb

52 typedef StaticCountingAllocator<tbb::memory_pool_allocator<char>> cnt_alloc_t;
97 tbb::memory_pool<NullAllocator> pool; in TestZeroSpaceMemoryPool()
132 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
166 tbb::fixed_pool pool(nullptr, 10*1024*1024); in TestSmallFixedSizePool()
188 TestAllocator<tbb::scalable_allocator<void>>(Concept);
190 tbb::memory_pool<tbb::scalable_allocator<int>> pool;
191 TestAllocator(Concept, tbb::memory_pool_allocator<void>(pool));
198 tbb::fixed_pool pool(buf, sizeof(buf));
206 TestAllocator(Concept, tbb::memory_pool_allocator<void>(pool) );
217 TestAllocator(Concept, tbb::memory_pool_allocator<void>(pool) );
221 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool;
224 tbb::fixed_pool fixedPool(buffer, sizeof(buffer));
226 tbb::memory_pool_allocator<char, tbb::fixed_pool> fixedPoolAllocator(fixedPool);
230 tbb::memory_pool_allocator<char, NestedPool> nestedAllocator(nestedPool);
234 tbb::memory_pool<tbb::scalable_allocator<int>> mpool;
236 tbb::memory_pool_allocator<int> mpalloc(mpool);
238 TestAllocator<tbb::memory_pool_allocator<int>>(Concept, mpalloc);
239 TestAllocator<tbb::memory_pool_allocator<void>>(Concept, mpalloc);
242 TestAllocator<tbb::scalable_allocator<void>>(Comparison);
243 …TestAllocator<tbb::memory_pool_allocator<void>>(Comparison, tbb::memory_pool_allocator<void>(mpool…
244 TestAllocator<tbb::memory_pool_allocator<int>>(Comparison, mpalloc);
245 TestAllocator<tbb::memory_pool_allocator<void>>(Comparison, mpalloc);
252 TestAllocator<tbb::scalable_allocator<void>>(Exceptions);
259 TestAllocator<tbb::scalable_allocator<void>>(ThreadSafety);
278 TestAllocator<tbb::scalable_allocator<void>>(Broken);
280 tbb::memory_pool<tbb::scalable_allocator<int>> mpool;
281 … TestAllocator<tbb::memory_pool_allocator<void>>(Broken, tbb::memory_pool_allocator<void>(mpool));
289 TestAllocatorWithSTL<tbb::scalable_allocator<void> >();
290 tbb::memory_pool<tbb::scalable_allocator<int> > mpool;
291 TestAllocatorWithSTL(tbb::memory_pool_allocator<void>(mpool) );
293 tbb::fixed_pool fpool(buf, sizeof(buf));
294 TestAllocatorWithSTL(tbb::memory_pool_allocator<void>(fpool) );
301 REQUIRE_MESSAGE(!tbb::scalable_memory_resource()->is_equal(*std::pmr::get_default_resource()),
303 REQUIRE_MESSAGE(tbb::scalable_memory_resource()->is_equal(*tbb::scalable_memory_resource()),
307 TestAllocatorWithSTL(pmr_alloc_t(tbb::scalable_memory_resource()));