Home
last modified time | relevance | path

Searched refs:allocator_data_type (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_concurrent_priority_queue.cpp190 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<std::allocator<int>>>; in test_scoped_allocator() typedef
191 using basic_allocator_type = std::scoped_allocator_adaptor<std::allocator<allocator_data_type>>; in test_scoped_allocator()
192 …tor_type = std::allocator_traits<basic_allocator_type>::template rebind_alloc<allocator_data_type>; in test_scoped_allocator()
193 …ng container_type = tbb::concurrent_priority_queue<allocator_data_type, std::less<allocator_data_t… in test_scoped_allocator()
196 allocator_data_type data1(1, allocator); in test_scoped_allocator()
197 allocator_data_type data2(1, allocator); in test_scoped_allocator()
202 allocator_data_type::activate(); in test_scoped_allocator()
213 allocator_data_type::deactivate(); in test_scoped_allocator()
H A Dtest_concurrent_vector.cpp205 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<std::allocator<int>>>; in test_scoped_allocator() typedef
206 using allocator_type = std::scoped_allocator_adaptor<std::allocator<allocator_data_type>>; in test_scoped_allocator()
207 using container_type = tbb::concurrent_vector<allocator_data_type, allocator_type>; in test_scoped_allocator()
210 allocator_data_type data1(1, allocator); in test_scoped_allocator()
211 allocator_data_type data2(2, allocator); in test_scoped_allocator()
217 allocator_data_type::activate(); in test_scoped_allocator()
254 allocator_data_type::deactivate(); in test_scoped_allocator()
H A Dtest_concurrent_hash_map.cpp393 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<tbb::tbb_allocator<in… in TestScopedAllocator() typedef
394 …ed_allocator_adaptor<tbb::tbb_allocator<std::pair<const allocator_data_type, allocator_data_type>>… in TestScopedAllocator()
395 using hash_map_type = tbb::concurrent_hash_map<allocator_data_type, allocator_data_type, in TestScopedAllocator()
399 allocator_data_type key1(1, allocator), key2(2, allocator); in TestScopedAllocator()
400 allocator_data_type data1(1, allocator), data2(data1, allocator); in TestScopedAllocator()
407 allocator_data_type::assert_on_constructions = true; in TestScopedAllocator()
426 map2.insert(a, allocator_data_type(3)); in TestScopedAllocator()
/oneTBB/test/common/
H A Dconcurrent_associative_common.h1189 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<std::allocator<int>>>;
1190 using basic_allocator_type = std::scoped_allocator_adaptor<std::allocator<allocator_data_type>>;
1191 …ontainer_value_type = typename ContainerTraits::template container_value_type<allocator_data_type>;
1193 …using container_type = typename ContainerTraits::template container_type<allocator_data_type, allo…
1196 allocator_data_type key1(1, allocator);
1197 allocator_data_type key2(2, allocator);
1207 allocator_data_type::activate();
1227 allocator_data_type::deactivate();