Home
last modified time | relevance | path

Searched refs:for_each_n (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/
Dfor_each_n.pass.cpp30 auto it = std::for_each_n(std::begin(ia), N, [](int &a) { a += 2; }); in test_constexpr()
52 Iter it = std::for_each_n(Iter(ia), 0, std::ref(f)); in main()
59 Iter it = std::for_each_n(Iter(ia), s, std::ref(f)); in main()
69 Iter it = std::for_each_n(Iter(ia), 1, std::ref(f)); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DParallelTest.cpp44 for_each_n(parallel::par, 0, 2049, [&range](size_t I) { ++range[I]; }); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DParallel.h214 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n() function
238 void for_each_n(parallel_execution_policy policy, IndexTy Begin, IndexTy End, in for_each_n() function
/external/libcxx/include/
Dalgorithm40 for_each_n(InputIterator first, Size n, Function f); // C++17
864 // for_each_n
869 for_each_n(_InputIterator __first, _Size __orig_n, _Function __f)