Home
last modified time | relevance | path

Searched refs:for_each (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/third_party/boost/boost/process/detail/posix/
Dexecutor.hpp333 boost::fusion::for_each(seq, call_on_setup(*this)); in invoke()
343 boost::fusion::for_each(seq, call_on_fork_error(*this, ec)); in invoke()
348 boost::fusion::for_each(seq, call_on_exec_setup(*this)); in invoke()
351 boost::fusion::for_each(seq, call_on_exec_error(*this, ec)); in invoke()
357 boost::fusion::for_each(seq, call_on_success(*this)); in invoke()
392 boost::fusion::for_each(seq, call_on_setup(*this)); in invoke()
396 boost::fusion::for_each(seq, call_on_error(*this, _ec)); in invoke()
408 boost::fusion::for_each(seq, call_on_fork_error(*this, _ec)); in invoke()
409 boost::fusion::for_each(seq, call_on_error(*this, _ec)); in invoke()
417 boost::fusion::for_each(seq, call_on_exec_setup(*this)); in invoke()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dfor_each_range.hpp37 namespace detail { namespace for_each namespace
112 : detail::for_each::fe_range_range<Linestring, Actor>
118 : detail::for_each::fe_range_range<Ring, Actor>
124 : detail::for_each::fe_range_polygon<Polygon, Actor>
130 : detail::for_each::fe_range_box<Box, Actor>
136 : detail::for_each::fe_range_range<MultiPoint, Actor>
142 : detail::for_each::fe_range_multi
146 detail::for_each::fe_range_range
161 : detail::for_each::fe_range_multi
165 detail::for_each::fe_range_polygon
/third_party/boost/libs/hana/test/_include/auto/
Dfor_each.hpp25 hana::for_each(MAKE_TUPLE(xs...), [&](int x) { in __anonfee1ae4e0102()
42 hana::for_each(MAKE_TUPLE(), undefined{}); in __anonfee1ae4e0102()
47 hana::for_each(MAKE_TUPLE(ct_eq<0>{}), [](auto) { }); in __anonfee1ae4e0102()
48 hana::for_each(MAKE_TUPLE(ct_eq<0>{}, ct_eq<1>{}), [](auto) { }); in __anonfee1ae4e0102()
49 hana::for_each(MAKE_TUPLE(ct_eq<0>{}, ct_eq<1>{}, ct_eq<2>{}), [](auto) { }); in __anonfee1ae4e0102()
50 hana::for_each(MAKE_TUPLE(ct_eq<0>{}, ct_eq<1>{}, ct_eq<2>{}, ct_eq<3>{}), [](auto) { }); in __anonfee1ae4e0102()
58 constexpr int i = (hana::for_each(MAKE_TUPLE(1, 2, 3), f{}), 0); in __anonfee1ae4e0102()
/third_party/boost/libs/multi_array/example/
Dfor_each.hpp24 void for_each (const boost::type<Element>& type_dispatch, in for_each() function
26 for_each(type_dispatch,A.begin(),A.end(),xform); in for_each()
30 void for_each (const boost::type<Element>&,Element& Val, Functor& xform) { in for_each() function
35 void for_each (const boost::type<Element>& type_dispatch, in for_each() function
39 for_each(type_dispatch,*begin,xform); in for_each()
46 void for_each (Array& A, Functor xform) { in for_each() function
48 for_each(boost::type<typename Array::element>(),A.begin(),A.end(),xform); in for_each()
/third_party/boost/libs/mpl/doc/src/refmanual/
Dfor_each.rst1 .. Algorithms/Runtime Algorithms//for_each |10
3 for_each title
15 void for_each( F f );
22 void for_each( F f );
28 ``for_each`` is a family of overloaded function templates:
30 * ``for_each<Sequence>( f )`` applies the runtime function object
33 * ``for_each<Sequence,TransformOp>( f )`` applies the runtime function
43 #include <boost/mpl/for_each.hpp>
68 for_each<s>( f );
96 for_each<s,op>( f );
[all …]
/third_party/boost/libs/lambda/test/
Dswitch_construct.cpp59 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
70 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
82 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
95 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
109 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
124 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
140 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
157 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
175 std::for_each(v.begin(), v.end(), in do_switch_no_defaults_tests()
212 std::for_each(v.begin(), v.end(), in do_switch_yes_defaults_tests()
[all …]
Dalgorithm_test.cpp35 std::for_each(a, a + 10, in test_foreach()
36 bind(ll::for_each(), _1, _1 + 20, in test_foreach()
40 std::for_each(a, a + 10, in test_foreach()
41 bind(ll::for_each(), _1, _1 + 20, in test_foreach()
Dphoenix_control_structures.cpp56 for_each(v.begin(), v.end(), in test_main()
67 for_each(v.begin(), v.end(), in test_main()
94 for_each(v.begin(), v.end(), in test_main()
112 for_each(v.begin(), v.end(), in test_main()
131 for_each(v.begin(), v.end(), in test_main()
/third_party/boost/libs/proto/test/
Dflatten.cpp97 boost::fusion::for_each(flatten(!!!!(a_ >> b_)), to_string(sout)); in test1()
102 boost::fusion::for_each(flatten(a_ >> b_ >> c_), to_string(sout)); in test1()
106 boost::fusion::for_each(flatten(a_ | b_ | c_), to_string(sout)); in test1()
110 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_), to_string(sout)); in test1()
114 boost::fusion::for_each(flatten(a_ | b_ >> c_ | d_), to_string(sout)); in test1()
118 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> f_ >> g_), to_string(sout)); in test1()
122 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> (f_ | g_) >> h_), to_string(sout)); in test1()
127 boost::fusion::for_each(flatten(a_(b_(c_ >> d_, e_ | f_), g_ >> h_)(i_)), to_string(sout)); in test1()
165 boost::fusion::for_each(flatten(!!!!(a_ >> b_)), to_string(sout)); in test2()
170 boost::fusion::for_each(flatten(a_ >> b_ >> c_), to_string(sout)); in test2()
[all …]
/third_party/boost/libs/phoenix/test/scope/
Dlambda_tests_phx2.cpp31 std::for_each(c.begin(), c.end(), f); in operator ()()
35 function<for_each_impl> const for_each = for_each_impl(); variable
66 using boost::phoenix::for_each; in main()
72 for_each(_1, lambda(_a = _2)[_a += _1])(v, x); in main()
77 using boost::phoenix::for_each; in main()
83 for_each(_1, lambda(_a = _2)[push_back(_1, _a)])(v, x); in main()
86 for_each(arg1, lambda[ref(y) += _1[0]])(v); in main()
/third_party/boost/libs/phoenix/test/object/
Dnew_delete_tests.cpp36 using std::for_each; in main()
42 for_each(v.begin(), v.end(), arg1 = new_<X>()); in main()
43 for_each(v.begin(), v.end(), delete_(arg1)); in main()
45 for_each(v.begin(), v.end(), arg1 = new_<X>(1, 2, 3)); in main()
46 for_each(v.begin(), v.end(), delete_(arg1)); in main()
52 for_each(v.begin(), v.end(), in main()
/third_party/boost/boost/geometry/algorithms/
Dfor_each.hpp51 namespace detail { namespace for_each namespace
236 : detail::for_each::fe_point_per_point
242 : detail::for_each::fe_range_per_point
248 : detail::for_each::fe_range_per_point
254 : detail::for_each::fe_polygon_per_point
268 : detail::for_each::fe_point_per_segment
274 : detail::for_each::fe_range_per_segment
280 : detail::for_each::fe_range_per_segment
286 : detail::for_each::fe_polygon_per_segment
292 : detail::for_each::for_each_multi
[all …]
/third_party/boost/libs/range/doc/reference/algorithm_ext/
Dfor_each.qbk6 [section:for_each for_each]
16 BinaryFunction for_each(const SinglePassRange1& rng1,
25 BinaryFunction for_each(const SinglePassRange1& rng1,
34 BinaryFunction for_each(SinglePassRange1& rng1,
43 BinaryFunction for_each(SinglePassRange1& rng1,
50 `for_each` traverses forward through `rng1` and `rng2` simultaneously.
59 Defined in the header file `boost/range/algorithm_ext/for_each.hpp`
/third_party/boost/libs/poly_collection/example/
Dperf.cpp152 void for_each(F f) in for_each() function
154 std::for_each(this->begin(),this->end(),f); in for_each()
185 void for_each(F f) in for_each() function
187 std::for_each(this->begin(),this->end(),f); in for_each()
197 void for_each(F f) in for_each() function
199 boost::poly_collection::for_each<T...>(this->begin(),this->end(),f); in for_each()
212 void for_each(F f) in for_each() function
214 std::for_each(this->begin(),this->end(),f); in for_each()
246 void for_each(F f) in for_each() function
248 std::for_each(this->begin(),this->end(),f); in for_each()
[all …]
/third_party/boost/boost/fusion/algorithm/iteration/
Dfor_each.hpp24 struct for_each struct
33 for_each(Sequence& seq, F f) in for_each() function
35 detail::for_each(seq, f, typename traits::is_segmented<Sequence>::type()); in for_each()
41 for_each(Sequence const& seq, F f) in for_each() function
43 detail::for_each(seq, f, typename traits::is_segmented<Sequence>::type()); in for_each()
/third_party/boost/libs/functional/test/
Dfunction_test.cpp249 std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::ptr_fun(do_set_name), &person)); in main()
252 std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::ptr_fun(do_set_name_ref), person)); in main()
255 std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::ptr_fun(do_set_name_ref), r)); in main()
259 std::for_each(v2.begin(), v2.end(), boost::bind1st(do_set_name, &person)); in main()
262 std::for_each(v2.begin(), v2.end(), boost::bind1st(do_set_name_ref, person)); in main()
265 std::for_each(v2.begin(), v2.end(), boost::bind1st(do_set_name_ref, r)); in main()
298 std::for_each(v3.begin(), v3.end(), boost::bind2nd(boost::mem_fun(&Person::print), std::cout)); in main()
301 std::for_each(v3.begin(), v3.end(), boost::bind2nd(boost::mem_fun(&Person::print), os)); in main()
305 …std::for_each(v1.begin(), v1.end(), boost::bind2nd(boost::mem_fun_ref(&Person::print), std::cout)); in main()
308 std::for_each(v1.begin(), v1.end(), boost::bind2nd(boost::mem_fun_ref(&Person::print), os)); in main()
[all …]
/third_party/boost/libs/array/test/
Darray0.cpp54 std::for_each( test_case.begin(), test_case.end(), BadValue< T > ); in RunTests()
55 std::for_each( test_case.rbegin(), test_case.rend(), BadValue< T > ); in RunTests()
56 std::for_each( test_case.cbegin(), test_case.cend(), BadValue< T > ); in RunTests()
57 std::for_each( const_test_case.begin(), const_test_case.end(), BadValue< T > ); in RunTests()
58 std::for_each( const_test_case.rbegin(), const_test_case.rend(), BadValue< T > ); in RunTests()
59 std::for_each( const_test_case.cbegin(), const_test_case.cend(), BadValue< T > ); in RunTests()
/third_party/boost/libs/range/doc/reference/algorithm/
Dfor_each.qbk6 [section:for_each for_each]
15 UnaryFunction for_each(SinglePassRange& rng, UnaryFunction fun);
21 UnaryFunction for_each(const SinglePassRange& rng, UnaryFunction fun);
26 `for_each` traverses forward through `rng` and for each element `x` it invokes `fun(x)`.
30 Defined in the header file `boost/range/algorithm/for_each.hpp`
/third_party/boost/boost/range/algorithm/
Dfor_each.hpp58 return std::for_each<Iterator, UnaryFunction>(first, last, fn); in for_each_impl()
70 inline UnaryFunction for_each(SinglePassRange & rng, UnaryFunction fun) in for_each() function
80 return std::for_each< in for_each()
89 inline UnaryFunction for_each(const SinglePassRange& rng, UnaryFunction fun) in for_each() function
99 return std::for_each< in for_each()
107 using range::for_each;
/third_party/boost/boost/test/utils/
Dforeach.hpp38 namespace for_each { namespace
225 #define BOOST_TEST_FE_ANY ::boost::unit_test::for_each::static_any_t
226 #define BOOST_TEST_FE_IS_CONST( COL ) ::boost::unit_test::for_each::is_const_coll( COL )
229 ::boost::unit_test::for_each::begin( \
235 ::boost::unit_test::for_each::end( \
241 ::boost::unit_test::for_each::done( \
249 ::boost::unit_test::for_each::next( \
256 ::boost::unit_test::for_each::prev( \
266 ::boost::unit_test::for_each::deref( \
/third_party/boost/libs/phoenix/test/statement/
Dswitch_tests.cpp28 using std::for_each; in main()
33 for_each(v.begin(), v.end(), in main()
42 for_each(v.begin(), v.end(), in main()
52 for_each(v.begin(), v.end(), in main()
64 for_each(v.begin(), v.end(), in main()
/third_party/boost/libs/phoenix/test/bll_compatibility/
Dbind_tests_advanced.cpp160 struct for_each {
205 { return std::for_each(a, b, c);}
224 std::for_each(a, a+3, in test_protect()
225 phoenix::bind(ll::for_each(), _1, _1 + 5, phoenix::lambda[_1 = ++phoenix::ref(i)])); in test_protect()
246 std::for_each(a, a+3, in test_protect()
247 phoenix::bind(ll::for_each(), _1, _1 + 5, in test_protect()
261 std::for_each(a, a+3, in test_protect()
262 phoenix::bind(ll::for_each(), _1, _1 + 5, in test_protect()
Dalgorithm_test.cpp53 std::for_each(a, a + 10, in test_foreach()
54 phoenix::for_each(_1, lambda[_1 = ref(sum), ++ref(sum)])); in test_foreach()
64 std::for_each(a, a + 10, in test_foreach()
65 phoenix::for_each( _1, in test_foreach()
Dphoenix_control_structures.cpp56 for_each(v.begin(), v.end(), in main()
67 for_each(v.begin(), v.end(), in main()
94 for_each(v.begin(), v.end(), in main()
112 for_each(v.begin(), v.end(), in main()
131 for_each(v.begin(), v.end(), in main()
/third_party/boost/libs/spirit/classic/phoenix/test/
Dstatements_tests.cpp83 for_each(v.begin(), v.end(), in main()
93 for_each(v.begin(), v.end(), in main()
115 for_each(v.begin(), v.end(), in main()
129 for_each(v.begin(), v.end(), in main()
145 for_each(v.begin(), v.end(), in main()

12345678910>>...21