| /oneTBB/include/oneapi/tbb/ |
| H A D | tbb_allocator.h | 41 class tbb_allocator { 55 tbb_allocator() = default; 56 template<typename U> tbb_allocator(const tbb_allocator<U>&) noexcept {} in tbb_allocator() function 81 using other = tbb_allocator<U>; 99 class tbb_allocator<void> { 105 using other = tbb_allocator<U>; 111 inline bool operator==(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return true; } 115 inline bool operator!=(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return false; } 122 using detail::d1::tbb_allocator;
|
| H A D | concurrent_set.h | 54 template <typename Key, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<… 119 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>, 128 typename Alloc = tbb::tbb_allocator<Key>, 155 template <typename Key, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<… 220 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>, 229 typename Alloc = tbb::tbb_allocator<Key>,
|
| H A D | concurrent_map.h | 70 …e Value, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<std::pair<cons… 184 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>, 193 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>, 220 …e Value, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<std::pair<cons… 301 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>, 310 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
|
| H A D | concurrent_unordered_set.h | 45 typename Allocator = tbb::tbb_allocator<Key>> 113 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>, 125 typename Alloc = tbb::tbb_allocator<T>, 184 typename Allocator = tbb::tbb_allocator<Key>> 251 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>, 263 typename Alloc = tbb::tbb_allocator<T>,
|
| H A D | concurrent_unordered_map.h | 46 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> > 165 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>, 178 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>, 245 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> > 327 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>, 339 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
|
| /oneTBB/test/conformance/ |
| H A D | conformance_allocators.cpp | 32 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Concept); 44 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Comparison); 52 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Exceptions); 60 TestAllocator<oneapi::tbb::tbb_allocator<void>>(ThreadSafety); 61 oneapi::tbb::tbb_allocator<int> tbb_alloc; 71 using Allocator = oneapi::tbb::tbb_allocator<int>; Allocator tbb_alloc;
|
| H A D | conformance_enumerable_thread_specific.cpp | 588 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; 613 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; 637 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; in run_parallel_vector_tests() 700 …ets_type vvs( typename container_type::size_type(25), minus_one, oneapi::tbb::tbb_allocator<T>() ); in run_parallel_vector_tests() 723 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; in run_cross_type_vector_tests() 802 std::vector<T, oneapi::tbb::tbb_allocator<T> > v; in run_serial_vector_tests() 806 …for (typename std::vector<T, oneapi::tbb::tbb_allocator<T> >::const_iterator i = v.begin(); i != v… in run_serial_vector_tests() 1063 …if(oneapi::tbb::tbb_allocator<int>::allocator_type() == oneapi::tbb::tbb_allocator<int>::standard)… in init_tbb_alloc_mask() 1198 TestInstantiation<oneapi::tbb::tbb_allocator>("oneapi::tbb::tbb_allocator"); 1207 …run_assignment_and_copy_constructor_tests<oneapi::tbb::tbb_allocator>("oneapi::tbb::tbb_allocator"… [all …]
|
| H A D | conformance_combinable.cpp | 126 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType; 257 oneapi::tbb::combinable< std::vector<T, oneapi::tbb::tbb_allocator<T> > > &locals; 261 …ParallelVectorForBody ( oneapi::tbb::combinable< std::vector<T, oneapi::tbb::tbb_allocator<T> > > … in ParallelVectorForBody() 275 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType; in RunParallelVectorTests()
|
| H A D | conformance_concurrent_set.cpp | 44 …::is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<int>>::value, in test_member_types()
|
| H A D | conformance_concurrent_map.cpp | 62 …is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<std::pair<cons… in test_member_types()
|
| H A D | conformance_concurrent_unordered_set.cpp | 48 …::is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<int>>::value, in test_member_types()
|
| H A D | conformance_concurrent_hash_map.cpp | 186 …static_assert(std::is_same<typename container_type::allocator_type, oneapi::tbb::tbb_allocator<std… in test_member_types() 428 container_type vd(il, tbb::tbb_allocator<std::pair<element_type, element_type>>{}); in test() 472 …using allocator_type = only_node_counting_allocator<oneapi::tbb::tbb_allocator<std::pair<const MyK… in TestExceptions() 1093 using DefaultAllocator = oneapi::tbb::tbb_allocator<ComplexTypeConst>; in TestDeductionGuides()
|
| /oneTBB/test/tbb/ |
| H A D | test_allocators.cpp | 77 TestAllocator<tbb::tbb_allocator<void>>(Broken); 85 TestAllocatorWithSTL<tbb::tbb_allocator<void>>();
|
| H A D | test_enumerable_thread_specific.cpp | 387 if(tbb::tbb_allocator<int>::allocator_type() == tbb::tbb_allocator<int>::standard) { in init_tbb_alloc_mask() 421 TestConstructorWithBigType<tbb::tbb_allocator>("tbb::tbb_allocator");
|
| H A D | test_hw_concurrency.cpp | 77 tbb::tbb_allocator<std::size_t> ta;
|
| H A D | test_concurrent_hash_map.cpp | 367 …using tbb_string_key_type = std::basic_string<char, std::char_traits<char>, tbb::tbb_allocator<cha… in TestSpecificTypes() 393 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<tbb::tbb_allocator<in… in TestScopedAllocator() 394 …using allocator_type = std::scoped_allocator_adaptor<tbb::tbb_allocator<std::pair<const allocator_… in TestScopedAllocator() 599 tbb::tbb_allocator<std::pair<const int, int>>, in test_with_minimalistic_mutex() 875 …tbb::tbb_hash_compare<Key>, tbb::tbb_allocator<std::pair<const Key, Mapped>>, RWMutexes> == Expect…
|
| H A D | test_tbb_header.cpp | 273 TestTypeDefinitionPresence( tbb_allocator<int> ); in DefinitionPresence()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Which_Dynamic_Libraries_to_Use.rst | 14 The templates ``tbb_allocator<T>`` and ``cache_aligned_allocator<T>`` 37 * - \ ``tbb_allocator<T>`` \ ``cache_aligned_allocator<T>``
|
| H A D | Working_on_the_Assembly_Line_pipeline.rst | 79 …TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size… 86 …oneapi::tbb::tbb_allocator<char>().deallocate((char*)this, sizeof(TextSlice)+(physical_end-begin()…
|
| /oneTBB/src/tbb/ |
| H A D | market.h | 70 using clients_container_type = std::vector<pm_client*, tbb::tbb_allocator<pm_client*>>;
|
| H A D | global_control.cpp | 49 …std::set<d1::global_control*, control_storage_comparator, tbb_allocator<d1::global_control*>> my_l…
|
| /oneTBB/doc/main/reference/ |
| H A D | custom_mutex_chmap.rst | 40 typename Allocator = tbb_allocator<std::pair<const Key, T>>, 154 … oneapi::tbb::tbb_allocator<std::pair<const int, int>>,
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | square.cpp | 50 TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate(sizeof(TextSlice) + in allocate() 58 oneapi::tbb::tbb_allocator<char>().deallocate( in free()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | rpolygon.hpp | 183 typedef class std::vector<RPolygon_flagged, oneapi::tbb::tbb_allocator<RPolygon_flagged>>
|
| /oneTBB/examples/concurrent_hash_map/count_strings/ |
| H A D | count_strings.cpp | 68 typedef std::basic_string<char, std::char_traits<char>, oneapi::tbb::tbb_allocator<char>> MyString;
|