Lines Matching refs:Iterator
117 template<class Body, class Iterator> friend void TestBody(size_t);
118 template<class Body, class Iterator> friend void TestBodyMove(size_t);
119 template<class Body, class Iterator> friend void TestBodyWithMove(size_t);
166 template<class Body, class Iterator>
168 typedef typename std::iterator_traits<Iterator>::value_type value_type; in TestBodyMove()
171 typedef std::move_iterator<Iterator> MoveIterator; in TestBodyMove()
172 MoveIterator mbegin(Iterator{a_depths}); in TestBodyMove()
173 MoveIterator mend(Iterator{a_depths + depth}); in TestBodyMove()
179 template<class Body, class Iterator>
181 typedef typename std::iterator_traits<Iterator>::value_type value_type; in TestBody()
184 Iterator begin(a_depths); in TestBody()
185 Iterator end(a_depths + depth); in TestBody()
191 template<class Body, class Iterator>
193 TestBody<Body, Iterator>(depth); in TestBodyWithMove()
194 TestBodyMove<Body, Iterator>(depth); in TestBodyWithMove()
197 template<class Iterator>
199 TestBodyWithMove<FakeTaskGeneratorBody, Iterator>(depth); in TestIterator_Common()
200 TestBodyWithMove<FakeTaskGeneratorBody_ConstRefVersion, Iterator>(depth); in TestIterator_Common()
201 TestBodyWithMove<TaskGeneratorBody, Iterator>(depth); in TestIterator_Common()
202 TestBodyWithMove<TaskGeneratorBody_ConstVersion, Iterator>(depth); in TestIterator_Common()
203 TestBodyWithMove<TaskGeneratorBody_ConstRefVersion, Iterator>(depth); in TestIterator_Common()
206 template<class Iterator>
208 TestIterator_Common<Iterator>(depth); in TestIterator_Const()
209 TestBody<TaskGeneratorBody_ConstVolatileRefVersion, Iterator>(depth); in TestIterator_Const()
213 template<class Iterator, class GenericBody>
215 typedef typename std::iterator_traits<Iterator>::value_type value_type; in TestGenericLambda()
218 Iterator begin(a_depths); in TestGenericLambda()
219 Iterator end(a_depths + depth); in TestGenericLambda()
225 template <class Iterator, class GenericBody>
227 typedef typename std::iterator_traits<Iterator>::value_type value_type; in TestGenericLambdaMove()
230 typedef std::move_iterator<Iterator> MoveIterator; in TestGenericLambdaMove()
231 Iterator begin(a_depths); in TestGenericLambdaMove()
232 Iterator end(a_depths + depth); in TestGenericLambdaMove()
240 template <class Iterator, class GenericBody>
242 TestGenericLambda<Iterator>(depth, body); in TestGenericLambdaWithMove()
243 TestGenericLambdaMove<Iterator>(depth, body); in TestGenericLambdaWithMove()
246 template<class Iterator>
248 …TestGenericLambdaWithMove<Iterator>(depth, [](auto item){g_tasks_observed += FindNumOfTasks(item.v… in TestGenericLambdasCommon()
249 …TestGenericLambdaWithMove<Iterator>(depth, [](const auto item){g_tasks_observed += FindNumOfTasks(… in TestGenericLambdasCommon()
250 …TestGenericLambda<Iterator>(depth, [](volatile auto& item){g_tasks_observed += FindNumOfTasks(item… in TestGenericLambdasCommon()
251 …TestGenericLambda<Iterator>(depth, [](const volatile auto& item){g_tasks_observed += FindNumOfTask… in TestGenericLambdasCommon()
252 …TestGenericLambda<Iterator>(depth, [](auto& item){g_tasks_observed += FindNumOfTasks(item.value())… in TestGenericLambdasCommon()
253 …TestGenericLambdaWithMove<Iterator>(depth, [](const auto& item){g_tasks_observed += FindNumOfTasks… in TestGenericLambdasCommon()
254 …TestGenericLambdaWithMove<Iterator>(depth, [](auto&& item){g_tasks_observed += FindNumOfTasks(item… in TestGenericLambdasCommon()
256 TestGenericLambdaWithMove<Iterator>(depth, [](auto item, auto& feeder){do_work(item, feeder);}); in TestGenericLambdasCommon()
257 …TestGenericLambdaWithMove<Iterator>(depth, [](const auto item, auto& feeder){do_work(item, feeder)… in TestGenericLambdasCommon()
258 …TestGenericLambda<Iterator>(depth, [](volatile auto& item, auto& feeder){do_work(const_cast<value_… in TestGenericLambdasCommon()
259 …TestGenericLambda<Iterator>(depth, [](const volatile auto& item, auto& feeder){do_work(const_cast<… in TestGenericLambdasCommon()
260 TestGenericLambda<Iterator>(depth, [](auto& item, auto& feeder){do_work(item, feeder);}); in TestGenericLambdasCommon()
261 …TestGenericLambdaWithMove<Iterator>(depth, [](const auto& item, auto& feeder){do_work(item, feeder… in TestGenericLambdasCommon()
262 … TestGenericLambdaWithMove<Iterator>(depth, [](auto&& item, auto& feeder){do_work(item, feeder);}); in TestGenericLambdasCommon()
266 template<class Iterator>
268 TestBodyMove<FakeTaskGeneratorBody_RvalueRefVersion, Iterator>(depth); in TestIterator_Move()
269 TestBodyMove<TaskGeneratorBody_RvalueRefVersion, Iterator>(depth); in TestIterator_Move()
272 template<class Iterator>
274 TestIterator_Const<Iterator>(depth); in TestIterator_Modifiable()
275 TestIterator_Move<Iterator>(depth); in TestIterator_Modifiable()
276 TestBody<FakeTaskGeneratorBody_RefVersion, Iterator>(depth); in TestIterator_Modifiable()
277 TestBody<FakeTaskGeneratorBody_VolatileRefVersion, Iterator>(depth); in TestIterator_Modifiable()
278 TestBody<TaskGeneratorBody_RefVersion, Iterator>(depth); in TestIterator_Modifiable()
279 TestBody<TaskGeneratorBody_VolatileRefVersion, Iterator>(depth); in TestIterator_Modifiable()
281 TestGenericLambdasCommon<Iterator>(depth); in TestIterator_Modifiable()
378 template<typename Iterator, typename Body>
380 typedef typename std::iterator_traits<Iterator>::value_type value_type; in TestMoveIterator()
386 …tbb::parallel_for_each(std::make_move_iterator(Iterator(a)), std::make_move_iterator(Iterator(a+si… in TestMoveIterator()