| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _allocator_traits.h | 37 template <typename Allocator> 44 template <typename Allocator> 57 template <typename Allocator> 62 template <typename Allocator> 66 template <typename Allocator> 67 void copy_assign_allocators( Allocator& lhs, const Allocator& rhs ) { 72 template <typename Allocator> 77 template <typename Allocator> 82 void move_assign_allocators( Allocator& lhs, Allocator& rhs ) { 94 void swap_allocators_impl( Allocator&, Allocator&, /*pocs = */ std::false_type ) {} [all …]
|
| H A D | _node_handle.h | 47 template<typename Value, typename Node, typename Allocator> 50 using allocator_type = Allocator; 105 template<typename Key, typename Value, typename Node, typename Allocator> 106 class node_handle : public node_handle_base<Value, Node, Allocator> { 107 using base_type = node_handle_base<Value, Node, Allocator>; 132 template<typename Key, typename Node, typename Allocator> 133 class node_handle<Key, Key, Node, Allocator> : public node_handle_base<Key, Node, Allocator> { 134 using base_type = node_handle_base<Key, Node, Allocator>; 152 template <typename Key, typename Value, typename Node, typename Allocator> 153 void swap( node_handle<Key, Value, Node, Allocator>& lhs, in swap() [all …]
|
| H A D | _concurrent_queue_base.h | 42 template <typename T, typename Allocator> 45 template <typename Container, typename T, typename Allocator> 57 template <typename T, typename Allocator> 61 using self_type = micro_queue<T, Allocator>; 68 using allocator_type = Allocator; 368 using allocator_type = Allocator; 398 Allocator& allocator; 407 template <typename T, typename Allocator> 412 using allocator_type = Allocator; 485 friend class micro_queue<T, Allocator>; [all …]
|
| H A D | _hash_compare.h | 124 template <typename CharT, typename Traits, typename Allocator> 125 struct hash<std::basic_string<CharT, Traits, Allocator>> { 127 std::size_t operator()( const std::basic_string<CharT, Traits, Allocator>& s ) const {
|
| /oneTBB/test/conformance/ |
| H A D | conformance_allocators.cpp | 35 using Allocator = oneapi::tbb::cache_aligned_allocator<int>; typedef 36 Allocator allocator; 37 AssertSameType(allocator.max_size(), typename std::allocator_traits<Allocator>::size_type(0)); 40 …REQUIRE_MESSAGE((allocator.max_size() * typename std::allocator_traits<Allocator>::size_type(sizeo… 71 using Allocator = oneapi::tbb::tbb_allocator<int>; Allocator tbb_alloc; typedef 75 Allocator::malloc_type a_type = tbb_alloc.allocator_type(); 76 …bool is_available_type = (a_type == Allocator::malloc_type::scalable) || (a_type == Allocator::sta…
|
| H A D | conformance_enumerable_thread_specific.cpp | 297 template <typename T, template<class> class Allocator> 314 template< typename T, template<class> class Allocator> 484 template< typename T, template<class> class Allocator> 586 template <typename T, template<class> class Allocator> 635 template< typename T, template<class> class Allocator> 720 template<typename T, template<class> class Allocator> 824 template<template<class>class Allocator> 886 ets_type&& rvref_binder = MakeETS<T, Allocator>(init1); in ets_copy_assign_test() 918 template <typename T, template<class> class Allocator> 941 template< template<class> class Allocator> [all …]
|
| H A D | conformance_concurrent_set.cpp | 34 using Allocator = LocalCountingAllocator<std::allocator<Key>>; typedef 36 using set_type = oneapi::tbb::concurrent_set<int, std::less<int>, Allocator<int>>; 37 using multiset_type = oneapi::tbb::concurrent_multiset<int, std::less<int>, Allocator<int>>; 131 template <typename T, typename Allocator> 132 using container_type = oneapi::tbb::concurrent_set<T, std::less<T>, Allocator>; 141 template <typename T, typename Allocator> 142 using container_type = oneapi::tbb::concurrent_multiset<T, std::less<T>, Allocator>;
|
| H A D | conformance_concurrent_map.cpp | 38 using Allocator = LocalCountingAllocator<std::allocator<std::pair<const Key, Mapped>>>; typedef 40 using map_type = oneapi::tbb::concurrent_map<int, int, std::less<int>, Allocator<int, int>>; 41 using multimap_type = oneapi::tbb::concurrent_multimap<int, int, std::less<int>, Allocator<int, int… 150 template <typename T, typename Allocator> 151 using container_type = oneapi::tbb::concurrent_map<T, T, std::less<T>, Allocator>; 160 template <typename T, typename Allocator> 161 using container_type = oneapi::tbb::concurrent_multimap<T, T, std::less<T>, Allocator>;
|
| H A D | conformance_concurrent_unordered_set.cpp | 36 using Allocator = LocalCountingAllocator<std::allocator<Key>>; typedef 38 …e = oneapi::tbb::concurrent_unordered_set<int, std::hash<int>, std::equal_to<int>, Allocator<int>>; 39 …neapi::tbb::concurrent_unordered_multiset<int, std::hash<int>, std::equal_to<int>, Allocator<int>>; 110 template <typename T, typename Allocator> 111 …ntainer_type = oneapi::tbb::concurrent_unordered_set<T, std::hash<T>, std::equal_to<T>, Allocator>; 120 template <typename T, typename Allocator> 121 …er_type = oneapi::tbb::concurrent_unordered_multiset<T, std::hash<T>, std::equal_to<T>, Allocator>;
|
| H A D | conformance_concurrent_unordered_map.cpp | 35 using Allocator = LocalCountingAllocator<std::allocator<std::pair<const Key, Mapped>>>; typedef 37 …::tbb::concurrent_unordered_map<int, int, std::hash<int>, std::equal_to<int>, Allocator<int, int>>; 38 …::concurrent_unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, Allocator<int, int>>; 225 template <typename T, typename Allocator> 226 …iner_type = oneapi::tbb::concurrent_unordered_map<T, T, std::hash<T>, std::equal_to<T>, Allocator>; 235 template <typename T, typename Allocator> 236 …type = oneapi::tbb::concurrent_unordered_multimap<T, T, std::hash<T>, std::equal_to<T>, Allocator>;
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_set.h | 40 using allocator_type = Allocator; 51 template <typename Key, typename Compare, typename Allocator> 64 using allocator_type = Allocator; 95 void merge(concurrent_set<key_type, OtherCompare, Allocator>& source) { in merge() 148 template <typename Key, typename Compare, typename Allocator> 149 void swap( concurrent_set<Key, Compare, Allocator>& lhs, in swap() 150 concurrent_set<Key, Compare, Allocator>& rhs ) in swap() 165 using allocator_type = Allocator; 248 template <typename Key, typename Compare, typename Allocator> 249 void swap( concurrent_multiset<Key, Compare, Allocator>& lhs, in swap() [all …]
|
| H A D | concurrent_map.h | 32 typename Allocator, bool AllowMultimapping> 42 using allocator_type = Allocator; 67 template <typename Key, typename Value, typename Compare, typename Allocator> 81 using allocator_type = Allocator; 213 template <typename Key, typename Value, typename Compare, typename Allocator> 214 void swap( concurrent_map<Key, Value, Compare, Allocator>& lhs, in swap() 215 concurrent_map<Key, Value, Compare, Allocator>& rhs ) in swap() 231 using allocator_type = Allocator; 331 template <typename Key, typename Value, typename Compare, typename Allocator> 332 void swap( concurrent_multimap<Key, Value, Compare, Allocator>& lhs, in swap() [all …]
|
| H A D | concurrent_vector.h | 67 template <typename T, typename Allocator> 228 …: private segment_table<T, Allocator, concurrent_vector<T, Allocator>, embedded_table_num_segments> 264 using allocator_type = Allocator; 1055 template <typename T, typename Allocator> 1062 template <typename T, typename Allocator> 1070 template <typename T, typename Allocator> 1079 template <typename T, typename Allocator> 1091 template <typename T, typename Allocator> 1098 template <typename T, typename Allocator> 1105 template <typename T, typename Allocator> [all …]
|
| H A D | concurrent_unordered_set.h | 32 using allocator_type = Allocator; 41 template <typename Key, typename Hash, typename KeyEqual, typename Allocator> 45 typename Allocator = tbb::tbb_allocator<Key>> 49 using traits_type = concurrent_unordered_set_traits<Key, Hash, KeyEqual, Allocator, false>; 177 template <typename Key, typename Hash, typename KeyEqual, typename Allocator> 178 void swap( concurrent_unordered_set<Key, Hash, KeyEqual, Allocator>& lhs, in swap() 179 concurrent_unordered_set<Key, Hash, KeyEqual, Allocator>& rhs ) { in swap() 184 typename Allocator = tbb::tbb_allocator<Key>> 315 template <typename Key, typename Hash, typename KeyEqual, typename Allocator> 316 void swap( concurrent_unordered_multiset<Key, Hash, KeyEqual, Allocator>& lhs, in swap() [all …]
|
| H A D | concurrent_unordered_map.h | 33 using allocator_type = Allocator; 42 template <typename Key, typename T, typename Hash, typename KeyEqual, typename Allocator> 46 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> > 50 using traits_type = concurrent_unordered_map_traits<Key, T, Hash, KeyEqual, Allocator, false>; 238 template <typename Key, typename T, typename Hash, typename KeyEqual, typename Allocator> 239 void swap( concurrent_unordered_map<Key, T, Hash, KeyEqual, Allocator>& lhs, in swap() 240 concurrent_unordered_map<Key, T, Hash, KeyEqual, Allocator>& rhs ) { in swap() 245 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> > 396 template <typename Key, typename T, typename Hash, typename KeyEqual, typename Allocator> 397 void swap( concurrent_unordered_multimap<Key, T, Hash, KeyEqual, Allocator>& lhs, in swap() [all …]
|
| H A D | concurrent_queue.h | 31 template <typename QueueRep, typename Allocator> 52 template <typename T, typename Allocator = tbb::cache_aligned_allocator<T>> 54 using allocator_traits_type = tbb::detail::allocator_traits<Allocator>; 55 using queue_representation_type = concurrent_queue_rep<T, Allocator>; 65 using allocator_type = Allocator; 69 using iterator = concurrent_queue_iterator<concurrent_queue, T, Allocator>; 321 template <typename T, typename Allocator = tbb::cache_aligned_allocator<T>> 323 using allocator_traits_type = tbb::detail::allocator_traits<Allocator>; 324 using queue_representation_type = concurrent_queue_rep<T, Allocator>; 340 using allocator_type = Allocator; [all …]
|
| /oneTBB/test/common/ |
| H A D | allocator_stl_test_common.h | 94 template<typename Allocator> 95 void TestAllocatorWithSTL(const Allocator &a = Allocator()) { 98 using Ai = typename std::allocator_traits<Allocator>::template rebind_alloc<int>; 99 …using Acii = typename std::allocator_traits<Allocator>::template rebind_alloc<std::pair<const int,… 101 using Aci = typename std::allocator_traits<Allocator>::template rebind_alloc<const int>; 102 …using Aii = typename std::allocator_traits<Allocator>::template rebind_alloc<std::pair<int, int> >; 110 …using Amot = typename std::allocator_traits<Allocator>::template rebind_alloc<MoveOperationTracker…
|
| H A D | custom_allocators.h | 130 template <typename Allocator> 437 template <typename Allocator> 441 using allocator_type = Allocator; 481 template <typename Allocator> 484 template <typename Allocator> 485 bool operator==( const AllocatorAwareData<Allocator>& lhs, const AllocatorAwareData<Allocator>& rhs… 489 template <typename Allocator> 490 bool operator<( const AllocatorAwareData<Allocator>& lhs, const AllocatorAwareData<Allocator>& rhs … 495 template <typename Allocator> 534 : Allocator(other), [all …]
|
| H A D | allocator_test_common.h | 276 template<typename Allocator> 277 void TestAllocator(TestName name, const Allocator &a = Allocator()) { 284 using AllocatorFooChar = typename Allocator::template rebind<FooChar>::other; 285 using AllocatorFooDouble = typename Allocator::template rebind<FooDouble>::other; 289 …using AllocatorFooChar = typename std::allocator_traits<Allocator>::template rebind_alloc<FooChar>; 290 …using AllocatorFooDouble = typename std::allocator_traits<Allocator>::template rebind_alloc<FooDou… 296 Allocator a_cpy(a);
|
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_vector.cpp | 84 template <typename T, typename Allocator> 85 using container_type = tbb::concurrent_vector<T, Allocator>; 190 template <typename Type, typename Allocator> 192 tbb::concurrent_vector<Type, Allocator> &my_c; 264 template <typename Type, typename Allocator> 265 …reVectors( const tbb::concurrent_vector<Type, Allocator> &c1, const tbb::concurrent_vector<Type, A… in CompareVectors() 270 template <typename Type, typename Allocator> 271 …:concurrent_vector<std::weak_ptr<Type>, Allocator> &, const tbb::concurrent_vector<std::weak_ptr<T… in CompareVectors() argument 275 template <bool default_construction_present, typename Type, typename Allocator> 277 using vector_t = tbb::concurrent_vector<Type, Allocator>; in Examine() [all …]
|
| H A D | test_concurrent_unordered_set.cpp | 50 template <typename T, typename Allocator> 51 …using container_type = tbb::concurrent_unordered_set<T, std::hash<T>, std::equal_to<T>, Allocator>; 60 template <typename T, typename Allocator> 61 … container_type = tbb::concurrent_unordered_multiset<T, std::hash<T>, std::equal_to<T>, Allocator>;
|
| H A D | test_concurrent_set.cpp | 44 template <typename T, typename Allocator> 45 using container_type = tbb::concurrent_set<T, std::less<T>, Allocator>; 54 template <typename T, typename Allocator> 55 using container_type = tbb::concurrent_multiset<T, std::less<T>, Allocator>;
|
| H A D | test_concurrent_map.cpp | 59 template <typename T, typename Allocator> 60 using container_type = tbb::concurrent_map<T, T, std::less<T>, Allocator>; 69 template <typename T, typename Allocator> 70 using container_type = tbb::concurrent_multimap<T, T, std::less<T>, Allocator>;
|
| H A D | test_concurrent_unordered_map.cpp | 49 template <typename T, typename Allocator> 50 …ng container_type = tbb::concurrent_unordered_map<T, T, std::hash<T>, std::equal_to<T>, Allocator>; 59 template <typename T, typename Allocator> 60 …ntainer_type = tbb::concurrent_unordered_multimap<T, T, std::hash<T>, std::equal_to<T>, Allocator>;
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Which_Dynamic_Libraries_to_Use.rst | 9 described in **Scalable Memory Allocator**. It does not require the 35 … - |full_name| scalable memory allocator library. See **Scalable Memory Allocator**.
|