| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_lru_cache.cpp | 65 animals.emplace_back(std::move(sheep)); 66 animals.emplace_back(std::move(horse)); 67 animals[0] = std::move(bull); 89 preset1::handle_type handle1(std::move(handle)); 91 handle = std::move(handle1);
|
| H A D | conformance_task_arena.cpp | 141 arena.enqueue(std::move(task_handle)); 160 oneapi::tbb::this_task_arena::enqueue(std::move(task_handle)); in __anon3e0b77410702() 211 arena.enqueue(std::move(h)); 228 oneapi::tbb::this_task_arena::enqueue(std::move(h));
|
| H A D | conformance_combinable.cpp | 232 oneapi::tbb::combinable<T> moved1(std::move(sums)); in RunParallelScalarTests() 237 moved2=std::move(finit_combinable); in RunParallelScalarTests() 313 CombinableType vs4(std::move(vs2)); in RunParallelVectorTests() 318 vs4=std::move(vs3); in RunParallelVectorTests() 369 oneapi::tbb::combinable<T> move1(std::move(create1)); in RunAssignmentAndCopyConstructorTest() 374 move2=std::move(copy1); in RunAssignmentAndCopyConstructorTest() 412 oneapi::tbb::combinable< StateTrackable<true> > move1(std::move(create1)); in RunMoveSemanticsForStateTrackableObjectTest() 416 copy1=std::move(move1); in RunMoveSemanticsForStateTrackableObjectTest()
|
| H A D | conformance_task_group.cpp | 62 tg.run(std::move(h)); 83 tg.run_and_wait(std::move(h)); 167 tg.run(std::move(h)); in __anon0c2008c70902() 187 tg.run(std::move(h));
|
| H A D | conformance_concurrent_priority_queue.cpp | 181 container_type dst{std::move(fixture.cpq_src)}; in test_steal_move_ctor() 196 fixture_type::cpq_type dst(std::move(fixture.cpq_src), arena_fixture.source_allocator); in test_steal_move_ctor_with_allocator() 213 fixture_type::cpq_type dst(std::move(fixture.cpq_src), arena_fixture.dst_allocator); in test_per_element_move_ctor_with_allocator() 228 dst = std::move(fixture.cpq_src); in test_steal_move_assign_operator() 246 dst = std::move(fixture.cpq_src); in test_steal_move_assign_operator_with_stateful_allocator() 264 dst = std::move(fixture.cpq_src); in test_per_element_move_assign_operator() 341 q1.push(std::move(ob)); in test_move_support_in_push_pop() 609 TQueue qm(std::move(qv)); in TestDeductionGuides() 613 TQueue qma(std::move(qva), std::allocator<ComplexType>()); in TestDeductionGuides()
|
| H A D | conformance_concurrent_queue.cpp | 49 case 1: q.push( std::move(v)); break; in push() 564 CQ dst_queue(std::move(src_queue)); in TestConstructors() 1188 CHECK(pusher<push_op>::push( q, std::move(ob) )); in TestMoveSupport() 1455 TQueue q5(std::move(q1)); in TestDeductionGuides() 1699 q2 = std::move(q3); in test_queue_helper() 1738 q1 = std::move(q2); in TestMoveQueue() 1797 q1 = std::move(q2); in TestMoveQueueUnequal() 1829 dst = std::move(src); in test_move_assignment_test_equal() 1836 dst_bnd = std::move(src_bnd); in test_move_assignment_test_equal() 1862 dst = std::move(src); in test_move_assignment_test_unequal() [all …]
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_priority_queue.h | 115 data(std::move(other.data)) in concurrent_priority_queue() 122 data(std::move(other.data), alloc) in concurrent_priority_queue() 139 data = std::move(other.data); 278 *(tmp->elem) = std::move(data.back()); in handle_operations() 323 *(tmp->elem) = std::move(data.back()); in handle_operations() 328 *(tmp->elem) = std::move(data[0]); in handle_operations() 349 value_type to_place = std::move(data[mark]); in heapify() 354 data[cur_pos] = std::move(data[parent]); in heapify() 357 data[cur_pos] = std::move(to_place); in heapify() 373 data[cur_pos] = std::move(data[target]); in reheap() [all …]
|
| H A D | concurrent_set.h | 84 …concurrent_set( concurrent_set&& other, const allocator_type& alloc ) : base_type(std::move(other)… in concurrent_set() 101 this->internal_merge(std::move(source)); in merge() 111 this->internal_merge(std::move(source)); in merge() 185 … concurrent_multiset&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_multiset() 202 this->internal_merge(std::move(source)); in merge() 212 this->internal_merge(std::move(source)); in merge()
|
| H A D | concurrent_map.h | 101 …concurrent_map( concurrent_map&& other, const allocator_type& alloc ) : base_type(std::move(other)… in concurrent_map() 138 …it = this->emplace(std::piecewise_construct, std::forward_as_tuple(std::move(key)), std::tuple<>()… 166 this->internal_merge(std::move(source)); in merge() 176 this->internal_merge(std::move(source)); in merge() 252 … concurrent_multimap&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_multimap() 283 this->internal_merge(std::move(source)); in merge() 293 this->internal_merge(std::move(source)); in merge()
|
| H A D | concurrent_queue.h | 112 concurrent_queue(std::move(src.my_allocator)) in concurrent_queue() 158 my_allocator = std::move(other.my_allocator); 192 internal_push(std::move(value)); in push() 264 new (location) value_type(std::move(*static_cast<value_type*>(const_cast<void*>(src)))); in move_construct_item() 390 concurrent_bounded_queue(std::move(src.my_allocator)) in concurrent_bounded_queue() 437 my_allocator = std::move(other.my_allocator); 471 internal_push(std::move(value)); in push() 482 return internal_push_if_not_full(std::move(value)); in try_push() 651 new (location) value_type(std::move(*static_cast<value_type*>(const_cast<void*>(src)))); in move_construct_item()
|
| H A D | concurrent_unordered_set.h | 77 …urrent_unordered_set&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_unordered_set() 94 this->internal_merge(std::move(source)); in merge() 104 this->internal_merge(std::move(source)); in merge() 216 …t_unordered_multiset&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_unordered_multiset() 233 this->internal_merge(std::move(source)); in merge() 243 this->internal_merge(std::move(source)); in merge()
|
| H A D | concurrent_unordered_map.h | 79 …urrent_unordered_map&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_unordered_map() 103 …where = this->emplace(std::piecewise_construct, std::forward_as_tuple(std::move(key)), std::tuple<… 147 this->internal_merge(std::move(source)); in merge() 157 this->internal_merge(std::move(source)); in merge() 279 …t_unordered_multimap&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc) {} in concurrent_unordered_multimap() 308 this->internal_merge(std::move(source)); in merge() 318 this->internal_merge(std::move(source)); in merge()
|
| H A D | task_arena.h | 55 return std::move(*(my_return_storage.begin())); in consume_result() 227 enqueue_task(F&& f, small_object_allocator& alloc) : m_allocator(alloc), m_func(std::move(f)) {} in enqueue_task() 395 d2::enqueue_impl(std::move(th), this); in enqueue() 467 d2::enqueue_impl(std::move(th), nullptr); in enqueue()
|
| H A D | parallel_pipeline.h | 61 filter( filter&& rhs ) : my_root(std::move(rhs.my_root)) {} in filter() 67 my_root = std::move(rhs.my_root);
|
| /oneTBB/test/common/ |
| H A D | container_move_support.h | 187 Foo( Foo&& foo ) : state_trackable_type(std::move(foo)) { in Foo() 212 state_trackable_type::operator=(std::move(x)); 262 return static_cast<FooWithAssign&>(Foo::operator=(std::move(f))); 404 dst_allocator_copy = std::move(source_allocator_copy); in TwoMemoryArenasFixture() 657 container_type dst(std::move(fixture.source)); in test_move_ctor_single_argument() 672 container_type dst(std::move(fixture.source), fixture.source.get_allocator()); in test_move_ctor_with_equal_allocator() 687 container_type dst(std::move(fixture.source), alloc); in test_move_ctor_with_unequal_allocator() 700 dst = std::move(fixture.source); in test_move_assignment_POCMA_true_stateful_allocator() 721 dst = std::move(fixture.source); in test_move_assignment_POCMA_true_stateless_allocator() 737 dst = std::move(fixture.source); in test_move_assignment_POCMA_false_equal_allocator() [all …]
|
| H A D | containers_common.h | 44 c2 = std::move(c1); in test_allocator_traits() 82 container1 = std::move(container2); 90 ContainerType container1(alloc), container2(std::move(container1), alloc); 92 container1 = std::move(container2);
|
| H A D | node_handling_support.h | 91 node_type nh2(std::move(nh)); in test_node_handle() 208 auto result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads() 217 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads() 223 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads() 330 test_merge_basic(table1, std::move(table_backup)); in test_merge_overloads()
|
| H A D | concurrent_priority_queue_common.h | 57 q.push(std::move(t)); in push() 76 QueuePushHelper<HasCopyCtor>::push(q2, std::move(elem)); in examine() 227 queue_type q3(std::move(q1)); in type_tester_unique_ptr() 238 case 1: q.push(std::move(e)); break; in push_selector()
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | README.md | 39 * `w` - move the active fractal up. 40 * `a` - move the active fractal to the left. 41 * `s` - move the active fractal down. 42 * `d` - move the active fractal to the right.
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _concurrent_unordered_base.h | 317 my_segments(std::move(other.my_segments)) in concurrent_unordered_base() 319 move_content(std::move(other)); in concurrent_unordered_base() 428 return insert(std::move(value)).first; in insert() 463 return insert(std::move(nh)).first; in insert() 822 : base_type(std::move(other), alloc) {} in unordered_segment_table() 1374 move_content(std::move(other)); in internal_move_construct_with_allocator() 1381 move_content(std::move(other)); in internal_move_construct_with_allocator() 1384 internal_move(std::move(other)); in internal_move_construct_with_allocator() 1394 move_content(std::move(other)); in internal_move_assign() 1401 move_content(std::move(other)); in internal_move_assign() [all …]
|
| H A D | _segment_table.h | 98 …: my_segment_table_allocator(std::move(other.my_segment_table_allocator)), my_segment_table(nullpt… in segment_table() 103 internal_move(std::move(other)); 113 internal_move_construct_with_allocator(std::move(other), alloc, is_equal_type()); 136 … internal_move_assign(std::move(other), tbb::detail::disjunction<is_equal_type, pocma_type>()); in noexcept() 400 internal_move(std::move(other)); in internal_move_construct_with_allocator() 409 internal_move(std::move(other)); in internal_move_construct_with_allocator() 423 internal_move(std::move(other)); in internal_move_assign() 431 internal_move(std::move(other)); in internal_move_assign()
|
| H A D | _concurrent_skip_list.h | 336 internal_move(std::move(other)); in concurrent_skip_list() 368 my_compare = std::move(other.my_compare); 369 my_rng = std::move(other.my_rng); 391 return internal_insert(std::move(value)); in insert() 401 return insert(std::move(value)).first; in insert() 430 return insert(std::move(nh)).first; in insert() 755 internal_move(std::move(other)); in internal_move_construct_with_allocator() 761 internal_move(std::move(other)); in internal_move_construct_with_allocator() 1073 source.insert(std::move(handle)); in internal_merge() 1166 internal_move(std::move(other)); in internal_move_assign() [all …]
|
| /oneTBB/test/tbb/ |
| H A D | test_collaborative_call_once.cpp | 88 auto func = [&] { tbb::detail::d0::call(std::forward<Fn>(body), std::move(stored_pack)); }; in call_once_in_parallel_for() 109 auto func = [&] { tbb::detail::d0::call(std::forward<Fn>(body), std::move(stored_pack)); }; in call_once_threads() 193 call_once_in_parallel_for(512, func, std::move(mv)); 202 call_once_threads(utils::get_platform_max_threads(), func, std::move(mv));
|
| H A D | test_concurrent_priority_queue.cpp | 205 c2.push(std::move(data2)); in test_scoped_allocator() 211 c2 = std::move(c1); in test_scoped_allocator()
|
| /oneTBB/examples/parallel_reduce/primes/ |
| H A D | primes.cpp | 136 void move(Multiples& other) { in move() function in Multiples 275 multiples.move(other.multiples); in join()
|