| /oneTBB/test/common/ |
| H A D | containers_common.h | 47 c1.swap(c2); in test_allocator_traits() 52 using std::swap; in test_allocator_traits() 53 swap(c1, c2); in test_allocator_traits() 94 container1.swap(container2); 96 using std::swap; 97 swap(container1, container2);
|
| H A D | node_handling_support.h | 113 nh3.swap(nh2); in test_node_handle() 121 using std::swap; in test_node_handle() 122 swap(nh2, nh3); in test_node_handle() 131 nh3.swap(empty_node); in test_node_handle() 136 swap(empty_node, nh3); in test_node_handle() 141 empty_node.swap(nh3); in test_node_handle()
|
| H A D | custom_allocators.h | 64 friend void swap( ArenaAllocator& lhs, ArenaAllocator& rhs ) { in swap() function 65 using std::swap; in swap() 66 swap(lhs.my_data, rhs.my_data); in swap() 570 void swap( PropagatingAllocator<Allocator, POCMA, POCCA, POCS>& lhs,
|
| H A D | common_arena_constraints.h | 113 std::swap(cpuset, src.cpuset); 134 std::swap(cpuset, src.cpuset);
|
| H A D | concurrent_lru_cache_common.h | 113 std::swap(this->my_p_count, other.my_p_count);
|
| H A D | utils.h | 184 using std::swap; 185 template <typename T> using is_swappable = decltype(swap(std::declval<T&>(), std::declval<T&>()));
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _node_handle.h | 75 void swap( node_handle_base& nh ) { in swap() function 76 using std::swap; in swap() 77 swap(my_node, nh.my_node); in swap() 153 void swap( node_handle<Key, Value, Node, Allocator>& lhs, in swap() function 155 return lhs.swap(rhs); in swap()
|
| H A D | _allocator_traits.h | 89 using std::swap; 90 swap(lhs, rhs);
|
| H A D | _template_helpers.h | 249 using std::swap; 252 using has_swap = decltype(swap(std::declval<T&>(), std::declval<T&>())); 258 static const bool value = noexcept(swap(std::declval<T&>(), std::declval<T&>())); 264 struct is_nothrow_swappable_impl : std::integral_constant<bool, noexcept(swap(std::declval<T&>(), s…
|
| H A D | _concurrent_unordered_base.h | 387 …void swap( concurrent_unordered_base& other ) noexcept(unordered_segment_table::is_noexcept_swap) { in swap() function 1431 using std::swap; in internal_swap_fields() 1432 swap(my_max_load_factor, other.my_max_load_factor); in internal_swap_fields() 1433 swap(my_hash_compare, other.my_hash_compare); in internal_swap_fields() 1434 my_segments.swap(other.my_segments); in internal_swap_fields()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_queue.h | 180 void swap ( concurrent_queue& other ) { in swap() function 239 using std::swap; in internal_swap() 240 swap(my_queue_representation, src.my_queue_representation); in internal_swap() 270 friend void swap( concurrent_queue& lhs, concurrent_queue& rhs ) { in swap() function 271 lhs.swap(rhs); in swap() 459 void swap ( concurrent_bounded_queue& other ) { in swap() function 550 std::swap(my_queue_representation, src.my_queue_representation); in internal_swap() 551 std::swap(my_monitors, src.my_monitors); in internal_swap() 664 friend void swap( concurrent_bounded_queue& lhs, concurrent_bounded_queue& rhs ) { in swap() function 665 lhs.swap(rhs); in swap()
|
| H A D | concurrent_priority_queue.h | 213 void swap( concurrent_priority_queue& other ) { in swap() function 215 using std::swap; in swap() 216 swap(data, other.data); in swap() 217 swap(mark, other.mark); in swap() 476 void swap( concurrent_priority_queue<T, Compare, Allocator>& lhs, in swap() function 479 lhs.swap(rhs); in swap()
|
| H A D | concurrent_set.h | 149 void swap( concurrent_set<Key, Compare, Allocator>& lhs, in swap() function 152 lhs.swap(rhs); in swap() 249 void swap( concurrent_multiset<Key, Compare, Allocator>& lhs, in swap() function 252 lhs.swap(rhs); in swap()
|
| H A D | global_control.h | 132 std::swap(m_ctl, other.m_ctl); in task_scheduler_handle() 135 std::swap(m_ctl, other.m_ctl);
|
| H A D | concurrent_map.h | 214 void swap( concurrent_map<Key, Value, Compare, Allocator>& lhs, in swap() function 217 lhs.swap(rhs); in swap() 332 void swap( concurrent_multimap<Key, Value, Compare, Allocator>& lhs, in swap() function 335 lhs.swap(rhs); in swap()
|
| H A D | concurrent_unordered_set.h | 178 void swap( concurrent_unordered_set<Key, Hash, KeyEqual, Allocator>& lhs, in swap() function 180 lhs.swap(rhs); in swap() 316 void swap( concurrent_unordered_multiset<Key, Hash, KeyEqual, Allocator>& lhs, in swap() function 318 lhs.swap(rhs); in swap()
|
| H A D | concurrent_unordered_map.h | 239 void swap( concurrent_unordered_map<Key, T, Hash, KeyEqual, Allocator>& lhs, in swap() function 241 lhs.swap(rhs); in swap() 397 void swap( concurrent_unordered_multimap<Key, T, Hash, KeyEqual, Allocator>& lhs, in swap() function 399 lhs.swap(rhs); in swap()
|
| H A D | enumerable_thread_specific.h | 335 using std::swap; 337 swap(my_key, other.my_key); 940 using std::swap; 942 swap(my_construct_callback, other.my_construct_callback); 945 swap(my_locals, other.my_locals);
|
| H A D | concurrent_vector.h | 522 void swap(concurrent_vector& other) noexcept(is_noexcept_swap) { in swap() function 523 base_type::swap(other); in swap() 1056 void swap(concurrent_vector<T, Allocator> &lhs, in swap() function 1059 lhs.swap(rhs); in swap()
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Divide_and_Conquer.rst | 75 swap( *begin, mid[-1] ); 94 swap( *begin, mid[-1] ); 112 swap( *begin, mid[-1] );
|
| /oneTBB/examples/common/utility/ |
| H A D | utility.hpp | 160 this->swap(a); in operator =() 163 void swap(argument& other) { in swap() function in utility::internal::argument 164 std::swap(p_type, other.p_type); in swap() 165 std::swap(matched_, other.matched_); in swap()
|
| /oneTBB/examples/parallel_reduce/primes/ |
| H A D | primes.cpp | 139 std::swap(my_striker, other.my_striker); in move() 140 std::swap(my_is_composite, other.my_is_composite); in move()
|
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_vector.cpp | 298 c.swap( c2 ); in Examine() 301 c.swap( c2 ); in Examine() 450 std::swap(local_operations[i - 1], local_operations[j]); in TestConcurrentOperationsWithUnSafeOperations() 683 swap(vec1, vec2);
|
| H A D | test_concurrent_hash_map.cpp | 234 c2.swap( c ); in Examine() 239 swap( c, c2 ); in Examine() 830 swap(map1, map2);
|
| /oneTBB/doc/main/intro/ |
| H A D | Benefits.rst | 79 - The expression ``swap(*i,*j)`` swaps two elements.
|