Home
last modified time | relevance | path

Searched refs:UnaryFunction (Results 1 – 25 of 42) sorted by relevance

12

/third_party/boost/libs/compute/include/boost/compute/iterator/
Dtransform_iterator.hpp32 template<class InputIterator, class UnaryFunction>
38 template<class InputIterator, class UnaryFunction>
43 typedef typename boost::compute::result_of<UnaryFunction(value_type)>::type type;
48 template<class InputIterator, class UnaryFunction>
53 ::boost::compute::transform_iterator<InputIterator, UnaryFunction>,
55 typename make_transform_iterator_value_type<InputIterator, UnaryFunction>::type,
57 typename make_transform_iterator_value_type<InputIterator, UnaryFunction>::type
61 template<class InputIterator, class UnaryFunction, class IndexExpr>
67 UnaryFunction
71 const UnaryFunction &transform_expr, in transform_iterator_index_expr()
[all …]
/third_party/boost/boost/compute/iterator/
Dtransform_iterator.hpp32 template<class InputIterator, class UnaryFunction>
38 template<class InputIterator, class UnaryFunction>
43 typedef typename boost::compute::result_of<UnaryFunction(value_type)>::type type;
48 template<class InputIterator, class UnaryFunction>
53 ::boost::compute::transform_iterator<InputIterator, UnaryFunction>,
55 typename make_transform_iterator_value_type<InputIterator, UnaryFunction>::type,
57 typename make_transform_iterator_value_type<InputIterator, UnaryFunction>::type
61 template<class InputIterator, class UnaryFunction, class IndexExpr>
67 UnaryFunction
71 const UnaryFunction &transform_expr, in transform_iterator_index_expr()
[all …]
/third_party/boost/libs/random/test/
Dintegrate.hpp19 template<class UnaryFunction>
20 inline typename UnaryFunction::result_type
21 trapezoid(UnaryFunction f, typename UnaryFunction::argument_type a, in trapezoid()
22 typename UnaryFunction::argument_type b, int n) in trapezoid()
24 typename UnaryFunction::result_type tmp = 0; in trapezoid()
30 template<class UnaryFunction>
31 inline typename UnaryFunction::result_type
32 simpson(UnaryFunction f, typename UnaryFunction::argument_type a, in simpson()
33 typename UnaryFunction::argument_type b, int n) in simpson()
35 typename UnaryFunction::result_type tmp1 = 0; in simpson()
[all …]
/third_party/boost/boost/range/algorithm/
Dfor_each.hpp32 template<typename Iterator, typename UnaryFunction>
33 inline UnaryFunction
34 for_each_impl(Iterator first, Iterator last, UnaryFunction fun, in for_each_impl() argument
36 is_reference_wrapper<UnaryFunction>, in for_each_impl()
50 template<typename Iterator, typename UnaryFunction>
51 inline UnaryFunction
52 for_each_impl(Iterator first, Iterator last, UnaryFunction fn, in for_each_impl() argument
54 is_reference_wrapper<UnaryFunction>, in for_each_impl()
58 return std::for_each<Iterator, UnaryFunction>(first, last, fn); in for_each_impl()
69 template< class SinglePassRange, class UnaryFunction >
[all …]
/third_party/boost/boost/range/adaptor/
Dtransformed.hpp77 template< class SinglePassRange, class UnaryFunction >
78 inline transformed_range<UnaryFunction,SinglePassRange>
80 const transform_holder<UnaryFunction>& f ) in operator |()
85 return transformed_range<UnaryFunction,SinglePassRange>( f.val, r ); in operator |()
88 template< class SinglePassRange, class UnaryFunction >
89 inline transformed_range<UnaryFunction, const SinglePassRange>
91 const transform_holder<UnaryFunction>& f ) in operator |()
96 return transformed_range<UnaryFunction, const SinglePassRange>( in operator |()
113 template<class UnaryFunction, class SinglePassRange>
114 inline transformed_range<UnaryFunction, SinglePassRange>
[all …]
/third_party/boost/boost/iterator/
Dfunction_output_iterator.hpp19 template <class UnaryFunction>
31 explicit function_output_iterator(const UnaryFunction& f) in function_output_iterator()
35 output_proxy(UnaryFunction& f) : m_f(f) { } in output_proxy()
40 UnaryFunction& m_f;
46 UnaryFunction m_f;
49 template <class UnaryFunction>
50 inline function_output_iterator<UnaryFunction>
51 make_function_output_iterator(const UnaryFunction& f = UnaryFunction()) { in make_function_output_iterator()
52 return function_output_iterator<UnaryFunction>(f); in make_function_output_iterator()
/third_party/boost/boost/container/detail/
Dtransform_iterator.hpp61 template <class Iterator, class UnaryFunction>
63 : public UnaryFunction
66 , typename dtl::remove_reference<typename UnaryFunction::result_type>::type
68 , operator_arrow_proxy<typename UnaryFunction::result_type>
69 , typename UnaryFunction::result_type>
72 explicit transform_iterator(const Iterator &it, const UnaryFunction &f = UnaryFunction()) in transform_iterator()
73 : UnaryFunction(f), m_it(it) in transform_iterator()
77 : UnaryFunction(), m_it() in transform_iterator()
130 typename UnaryFunction::result_type operator*() const in operator *()
133 operator_arrow_proxy<typename UnaryFunction::result_type>
[all …]
/third_party/boost/boost/intrusive/detail/
Dtransform_iterator.hpp61 template <class Iterator, class UnaryFunction>
66 … typedef typename detail::remove_reference<typename UnaryFunction::result_type>::type value_type;
68 typedef operator_arrow_proxy<typename UnaryFunction::result_type> pointer;
69 typedef typename UnaryFunction::result_type reference;
71 explicit transform_iterator(const Iterator &it, const UnaryFunction &f = UnaryFunction()) in transform_iterator()
122 BOOST_INTRUSIVE_FORCEINLINE typename UnaryFunction::result_type operator*() const in operator *()
125 BOOST_INTRUSIVE_FORCEINLINE operator_arrow_proxy<typename UnaryFunction::result_type>
127 { return operator_arrow_proxy<typename UnaryFunction::result_type>(dereference()); } in operator ->()
131 : UnaryFunction
133 BOOST_INTRUSIVE_FORCEINLINE members(const Iterator &it, const UnaryFunction &f) in members()
[all …]
/third_party/boost/libs/range/doc/reference/algorithm/
Dfor_each.qbk13 class UnaryFunction
15 UnaryFunction for_each(SinglePassRange& rng, UnaryFunction fun);
19 class UnaryFunction
21 UnaryFunction for_each(const SinglePassRange& rng, UnaryFunction fun);
35 * `UnaryFunction` is a model of the `UnaryFunctionConcept`.
36 * `UnaryFunction` does not apply any non-constant operation through its argument.
37 * `SinglePassRange`'s value type is convertible to `UnaryFunction`'s argument type.
41 Linear. Exactly `distance(rng)` applications of `UnaryFunction`.
/third_party/boost/libs/iterator/doc/
Dmake_transform_iterator.rst7 template <class UnaryFunction, class Iterator>
8 transform_iterator<UnaryFunction, Iterator>
9 make_transform_iterator(Iterator it, UnaryFunction fun);
11 :Returns: An instance of ``transform_iterator<UnaryFunction, Iterator>`` with ``m_f``
18 template <class UnaryFunction, class Iterator>
19 transform_iterator<UnaryFunction, Iterator>
22 :Returns: An instance of ``transform_iterator<UnaryFunction, Iterator>`` with ``m_f``
Dfunc_output_iter_ref.rst14 template <class UnaryFunction>
25 explicit function_output_iterator(const UnaryFunction& f);
31 UnaryFunction m_f; // exposition only
39 ``UnaryFunction`` must be Assignable and Copy Constructible.
54 ``explicit function_output_iterator(const UnaryFunction& f = UnaryFunction());``
Dtransform_iterator_ref.rst9 template <class UnaryFunction,
23 transform_iterator(Iterator const& x, UnaryFunction f);
29 , typename enable_if_convertible<F2, UnaryFunction>::type* = 0 // exposition only
31 UnaryFunction functor() const;
38 UnaryFunction m_f; // exposition only
44 ``result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type``.
66 The type ``UnaryFunction`` must be Assignable, Copy Constructible, and
68 type ``UnaryFunction``, ``i`` is an object of type ``Iterator``, and
70 ``result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type``.
129 ``transform_iterator(Iterator const& x, UnaryFunction f);``
[all …]
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dtransform_if.hpp33 template<class InputIterator, class OutputIterator, class UnaryFunction, class Predicate>
37 UnaryFunction function, in transform_if_impl()
84 template<class InputIterator, class UnaryFunction, class Predicate>
88 UnaryFunction function, in transform_if_impl()
105 template<class InputIterator, class OutputIterator, class UnaryFunction, class Predicate>
109 UnaryFunction function, in transform_if()
Dfor_each.hpp54 template<class InputIterator, class UnaryFunction>
55 inline UnaryFunction for_each(InputIterator first, in for_each()
57 UnaryFunction function, in for_each()
62 detail::for_each_kernel<InputIterator, UnaryFunction> kernel(first, last, function); in for_each()
Dfor_each_n.hpp28 template<class InputIterator, class Size, class UnaryFunction>
29 inline UnaryFunction for_each_n(InputIterator first, in for_each_n()
31 UnaryFunction function, in for_each_n()
/third_party/boost/boost/compute/algorithm/
Dtransform_if.hpp33 template<class InputIterator, class OutputIterator, class UnaryFunction, class Predicate>
37 UnaryFunction function, in transform_if_impl()
84 template<class InputIterator, class UnaryFunction, class Predicate>
88 UnaryFunction function, in transform_if_impl()
105 template<class InputIterator, class OutputIterator, class UnaryFunction, class Predicate>
109 UnaryFunction function, in transform_if()
Dfor_each.hpp54 template<class InputIterator, class UnaryFunction>
55 inline UnaryFunction for_each(InputIterator first, in for_each()
57 UnaryFunction function, in for_each()
62 detail::for_each_kernel<InputIterator, UnaryFunction> kernel(first, last, function); in for_each()
Dfor_each_n.hpp28 template<class InputIterator, class Size, class UnaryFunction>
29 inline UnaryFunction for_each_n(InputIterator first, in for_each_n()
31 UnaryFunction function, in for_each_n()
/third_party/boost/libs/iterator/doc/quickbook/
Dtransform_iterator.qbk54 template <class UnaryFunction,
68 transform_iterator(Iterator const& x, UnaryFunction f);
74 , typename enable_if_convertible<F2, UnaryFunction>::type* = 0 // exposition only
76 UnaryFunction functor() const;
83 UnaryFunction m_f; // exposition only
89 `result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type`.
112 The type `UnaryFunction` must be Assignable, Copy Constructible, and
114 type `UnaryFunction`, `i` is an object of type `Iterator`, and
116 `result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type`.
172 transform_iterator(Iterator const& x, UnaryFunction f);
[all …]
Dfunction_output_iterator.qbk48 template <class UnaryFunction>
59 explicit function_output_iterator(const UnaryFunction& f);
65 UnaryFunction m_f; // exposition only
70 `UnaryFunction` must be Assignable and Copy Constructible.
79 explicit function_output_iterator(const UnaryFunction& f = UnaryFunction());
/third_party/boost/boost/compute/experimental/
Dtabulate.hpp23 template<class Iterator, class UnaryFunction>
26 UnaryFunction function, in tabulate()
/third_party/boost/libs/compute/include/boost/compute/experimental/
Dtabulate.hpp23 template<class Iterator, class UnaryFunction>
26 UnaryFunction function, in tabulate()
/third_party/skia/modules/skparagraph/include/
DDartTypes.h83 template<typename C, typename UnaryFunction>
84 UnaryFunction directional_for_each(C& c, bool forwards, UnaryFunction f) { in directional_for_each()
/third_party/boost/boost/accumulators/numeric/detail/
Dfunction1.hpp54 BOOST_CONCEPT_ASSERT((UnaryFunction<impl, type, arg0>)); in operator ()()
67 BOOST_CONCEPT_ASSERT((UnaryFunction<impl, type, arg0>)); in operator ()()
/third_party/boost/boost/accumulators/framework/
Daccumulator_set.hpp300 template<typename UnaryFunction>
301 void visit(UnaryFunction const &func) in visit()
310 template<typename FilterPred, typename UnaryFunction>
311 void visit_if(UnaryFunction const &func) in visit_if()

12