Lines Matching refs:body

59                              requires( Body& body, const Range& range, Body& other ) {  in requires()  argument
60 body(range, tbb::detail::d1::pre_scan_tag{}); in requires()
61 body(range, tbb::detail::d1::final_scan_tag{}); in requires()
62 body.reverse_join(other); in requires()
63 body.assign(other); in requires()
99 final_sum( Body& body, wait_context& w_o, small_object_allocator& alloc ) : in final_sum()
100 m_body(body, split()), m_wait_context(w_o), m_allocator(alloc) { in final_sum()
156 void reverse_join( Body& body ) { in reverse_join()
157 m_body.reverse_join(body); in reverse_join()
159 void assign_to( Body& body ) { in assign_to()
160 body.assign(m_body); in assign_to()
224 …task* create_child( const Range& range, final_sum_type& body, sum_node* child, final_sum_type* inc… in create_child()
227 child->prepare_for_execution(body, incoming, stuff_last); in create_child()
230 body.finish_construction(this, range, stuff_last); in create_child()
231 return &body; in create_child()
242 void prepare_for_execution(final_sum_type& body, final_sum_type* incoming, Body *stuff_last) { in prepare_for_execution()
243 this->m_body = &body; in prepare_for_execution()
271 template<typename range,typename body,typename partitioner>
274 template<typename range,typename body>
410 …start_scan( sum_node_type*& return_slot, const Range& range, final_sum_type& body, const Partition… in start_scan()
413 m_body(body), in start_scan()
425 static void run( const Range& range, Body& body, const Partitioner& partitioner ) { in run()
434 auto& temp_body = *alloc.new_object<final_sum_type>(body, w_ctx, alloc); in run()
435 temp_body.reverse_join(body); in run()
441 root->prepare_for_execution(temp_body, nullptr, &body); in run()
445 temp_body.assign_to(body); in run()
564 void parallel_scan( const Range& range, Body& body ) { in __TBB_requires()
565 start_scan<Range, Body, auto_partitioner>::run(range,body,__TBB_DEFAULT_PARTITIONER()); in __TBB_requires()
572 void parallel_scan( const Range& range, Body& body, const simple_partitioner& partitioner ) { in __TBB_requires()
573 start_scan<Range, Body, simple_partitioner>::run(range, body, partitioner); in __TBB_requires()
580 void parallel_scan( const Range& range, Body& body, const auto_partitioner& partitioner ) { in __TBB_requires()
581 start_scan<Range,Body,auto_partitioner>::run(range, body, partitioner); in __TBB_requires()
590 lambda_scan_body<Range, Value, Scan, ReverseJoin> body(identity, scan, reverse_join); in __TBB_requires()
591 parallel_scan(range, body, __TBB_DEFAULT_PARTITIONER()); in __TBB_requires()
592 return body.result(); in __TBB_requires()
602 lambda_scan_body<Range, Value, Scan, ReverseJoin> body(identity, scan, reverse_join); in __TBB_requires()
603 parallel_scan(range, body, partitioner); in __TBB_requires()
604 return body.result(); in __TBB_requires()
614 lambda_scan_body<Range, Value, Scan, ReverseJoin> body(identity, scan, reverse_join); in __TBB_requires()
615 parallel_scan(range, body, partitioner); in __TBB_requires()
616 return body.result(); in __TBB_requires()