HomeSort by relevance Sort by last modified time
    Searched full:functor (Results 1 - 25 of 712) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
callback.hpp 41 template<typename Functor>
42 R invoke( Functor& f ) { return f(); }
43 template<typename Functor, typename T1>
44 R invoke( Functor& f, T1 t1 ) { return f( t1 ); }
45 template<typename Functor, typename T1, typename T2>
46 R invoke( Functor& f, T1 t1, T2 t2 ) { return f( t1, t2 ); }
47 template<typename Functor, typename T1, typename T2, typename T3>
48 R invoke( Functor& f, T1 t1, T2 t2, T3 t3 ) { return f( t1, t2, t3 ); }
55 template<typename Functor>
56 unused invoke( Functor& f ) { f(); return unused();
    [all...]
  /external/ceres-solver/include/ceres/internal/
variadic_evaluate.h 45 // This block of quasi-repeated code calls the user-supplied functor, which may
49 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
52 static bool Call(const Functor& functor, T const *const *input, T* output) {
53 return functor(input[0],
67 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
69 struct VariadicEvaluate<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, 0> {
70 static bool Call(const Functor& functor, T const *const *input, T* output) {
71 return functor(input[0]
    [all...]
numeric_diff.h 50 // Helper templates that allow evaluation of a variadic functor or a
55 bool EvaluateImpl(const CostFunctor* functor,
62 *functor,
70 bool EvaluateImpl(const CostFunctor* functor,
74 return functor->Evaluate(parameters, residuals, NULL);
90 const CostFunctor* functor,
137 functor, parameters, residuals, functor)) {
154 functor, parameters, residuals, functor)) {
    [all...]
  /external/eigen/unsupported/Eigen/src/NumericalDiff/
NumericalDiff.h 25 * This class allows you to add a method df() to your functor, which will
27 * derivative for the functor. Of course, if you have an analytical form
39 typedef _Functor Functor;
40 typedef typename Functor::Scalar Scalar;
41 typedef typename Functor::InputType InputType;
42 typedef typename Functor::ValueType ValueType;
43 typedef typename Functor::JacobianType JacobianType;
45 NumericalDiff(Scalar _epsfcn=0.) : Functor(), epsfcn(_epsfcn) {}
46 NumericalDiff(const Functor& f, Scalar _epsfcn=0.) : Functor(f), epsfcn(_epsfcn) {
    [all...]
  /external/eigen/unsupported/Eigen/src/AutoDiff/
AutoDiffJacobian.h 16 template<typename Functor> class AutoDiffJacobian : public Functor
19 AutoDiffJacobian() : Functor() {}
20 AutoDiffJacobian(const Functor& f) : Functor(f) {}
24 AutoDiffJacobian(const T0& a0) : Functor(a0) {}
26 AutoDiffJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {}
28 AutoDiffJacobian(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2) {}
31 InputsAtCompileTime = Functor::InputsAtCompileTime,
32 ValuesAtCompileTime = Functor::ValuesAtCompileTim
    [all...]
  /external/eigen/unsupported/test/
NumericalDiff.cpp 11 // Generic functor
13 struct Functor
26 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {}
27 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {}
34 struct my_functor : Functor<double>
36 my_functor(void): Functor<double>(3,15) {}
75 my_functor functor; local
80 functor.actual_df(x, actual_jac);
84 NumericalDiff<my_functor> numDiff(functor);
96 my_functor functor; local
    [all...]
  /external/chromium_org/base/
bind.h 56 template <typename Functor>
59 typename internal::FunctorTraits<Functor>::RunnableType,
60 typename internal::FunctorTraits<Functor>::RunType,
63 Bind(Functor functor) {
64 // Typedefs for how to store and run the functor.
65 typedef typename internal::FunctorTraits<Functor>::RunnableType RunnableType;
66 typedef typename internal::FunctorTraits<Functor>::RunType RunType;
70 // functor is going to interpret the argument as.
78 new BindState(internal::MakeRunnable(functor)));
    [all...]
  /external/ceres-solver/internal/ceres/
numeric_diff_functor_test.cc 53 EasyFunctor functor; local
59 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
64 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
72 EasyFunctor functor; local
78 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
83 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
91 TranscendentalFunctor functor; local
97 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
102 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
110 TranscendentalFunctor functor; local
    [all...]
numeric_diff_cost_function_test.cc 57 EasyFunctor functor; local
58 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
70 EasyFunctor functor; local
71 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
83 EasyFunctor functor; local
84 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
96 EasyFunctor functor; local
97 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
109 TranscendentalFunctor functor; local
110 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL)
122 TranscendentalFunctor functor; local
135 TranscendentalFunctor functor; local
148 TranscendentalFunctor functor; local
    [all...]
  /system/core/include/utils/
Functor.h 24 class Functor {
26 Functor() {}
27 virtual ~Functor() {}
  /frameworks/base/include/private/hwui/
DrawGlInfo.h 51 * Values used as the "what" parameter of the functor.
54 // Indicates that the functor is called to perform a draw
56 // Indicates the the functor is called only to perform
66 // The functor is done
68 // The functor is requesting a redraw (the clip rect
72 // The functor needs to be invoked again but will
73 // not redraw. Only the functor is invoked again
74 // (unless another functor requests a redraw.)
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSSelectorList.cpp 124 template <typename Functor>
125 static bool forEachTagSelector(Functor& functor, const CSSSelector* selector)
130 if (functor(selector))
134 if (forEachTagSelector(functor, subSelector))
143 template <typename Functor>
144 static bool forEachSelector(Functor& functor, const CSSSelectorList* selectorList)
147 if (forEachTagSelector(functor, selector))
168 SelectorNeedsNamespaceResolutionFunctor functor; local
182 SelectorHasShadowDistributed functor; local
196 SelectorHasCombinatorCrossingTreeBoundary functor; local
    [all...]
  /external/eigen/unsupported/Eigen/
AdolcForward 98 template<typename Functor> class AdolcForwardJacobian : public Functor
103 AdolcForwardJacobian() : Functor() {}
104 AdolcForwardJacobian(const Functor& f) : Functor(f) {}
108 AdolcForwardJacobian(const T0& a0) : Functor(a0) {}
110 AdolcForwardJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {}
112 AdolcForwardJacobian(const T0& a0, const T1& a1, const T1& a2) : Functor(a0, a1, a2) {}
114 typedef typename Functor::InputType InputType;
115 typedef typename Functor::ValueType ValueType
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
formatter.hpp 28 // const format functor ----------------------------------------------------//
30 // constant format functor
63 // identity format functor ----------------------------------------------------//
65 // identity format functor
77 // empty format functor ( used by erase ) ------------------------------------//
79 // empty format functor
90 // dissect format functor ----------------------------------------------------//
92 // dissect format functor
  /external/eigen/doc/examples/
class_CwiseBinaryOp.cpp 6 // define a custom template binary functor
class_CwiseUnaryOp.cpp 6 // define a custom template unary functor
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkTSearch.h 34 // The most general form of SkTSearch takes an array of T and a key of type K. A functor, less, is
71 // Adapts a less-than function to a functor.
76 // Specialization for case when T==K and the caller wants to use a function rather than functor.
79 static SkTLessFunctionToFunctorAdaptor<T, LESS> functor; local
80 return SkTSearch(base, count, target, elemSize, functor);
83 // Adapts operator < to a functor.
91 static SkTLessFunctor<T> functor; local
92 return SkTSearch(base, count, target, elemSize, functor);
95 // Similar to SkLessFunctionToFunctorAdaptor but makes the functor interface take T* rather than T.
104 static SkTLessFunctionToPtrFunctorAdaptor<T, LESS> functor; local
    [all...]
  /external/skia/include/core/
SkTSearch.h 34 // The most general form of SkTSearch takes an array of T and a key of type K. A functor, less, is
71 // Adapts a less-than function to a functor.
76 // Specialization for case when T==K and the caller wants to use a function rather than functor.
79 static SkTLessFunctionToFunctorAdaptor<T, LESS> functor; local
80 return SkTSearch(base, count, target, elemSize, functor);
83 // Adapts operator < to a functor.
91 static SkTLessFunctor<T> functor; local
92 return SkTSearch(base, count, target, elemSize, functor);
95 // Similar to SkLessFunctionToFunctorAdaptor but makes the functor interface take T* rather than T.
104 static SkTLessFunctionToPtrFunctorAdaptor<T, LESS> functor; local
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.h 20 #include <utils/Functor.h>
47 class Functor;
57 class TextSetupFunctor: public Functor {
67 int alpha, SkXfermode::Mode mode, SkPaint* paint): Functor(),
108 Functor* functor, bool forceFinish = true);
113 Functor* functor);
159 void initRender(const Rect* clip, Rect* bounds, Functor* functor);
    [all...]
  /external/eigen/Eigen/src/Core/
CwiseUnaryOp.h 21 * \param UnaryOp template functor implementing the operator
73 /** \returns the functor representing the unary operation */
74 const UnaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryOp
103 return derived().functor()(derived().nestedExpression().coeff(row, col));
109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(row, col));
114 return derived().functor()(derived().nestedExpression().coeff(index));
120 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
CwiseUnaryView.h 20 * \param ViewOp template functor implementing the view
74 /** \returns the functor representing unary operation */
75 const ViewOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryView
114 return derived().functor()(derived().nestedExpression().coeff(row, col));
119 return derived().functor()(derived().nestedExpression().coeff(index));
124 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(row, col));
129 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(index));
  /frameworks/base/core/java/android/view/
HardwareCanvas.java 168 * Detaches the specified functor from the current functor execution queue.
170 * @param functor The native functor to remove from the execution queue.
178 abstract void detachFunctor(int functor);
181 * Attaches the specified functor to the current functor execution queue.
183 * @param functor The native functor to add to the execution queue.
191 abstract void attachFunctor(int functor);
    [all...]
  /external/ceres-solver/include/ceres/
numeric_diff_functor.h 31 // A wrapper class that takes a variadic functor evaluating a
33 // templated functor so that it can be easily used as part of Ceres'
47 // is a functor that implements the projection of a point in its local
51 // Now we would like to compose the action of this functor with the
62 // CameraProjection functor as follows.
111 template<typename Functor,
122 new NumericDiffCostFunction<Functor,
126 N5, N6, N7, N8, N9>(new Functor,
130 NumericDiffFunctor(Functor* functor, double relative_step_size = 1e-6
    [all...]
  /external/chromium/testing/gtest/test/
gtest_pred_impl_unittest.cc 91 // A unary predicate functor.
112 // A unary predicate-formatter functor.
182 // predicate-formatter is a functor on a built-in type (int).
190 // predicate-formatter is a functor on a user-defined type (Bool).
218 // predicate-formatter is a functor on a built-in type (int).
228 // predicate-formatter is a functor on a user-defined type (Bool).
254 // predicate-formatter is a functor on a built-in type (int).
262 // predicate-formatter is a functor on a user-defined type (Bool).
292 // predicate-formatter is a functor on a built-in type (int).
303 // predicate-formatter is a functor on a user-defined type (Bool)
    [all...]

Completed in 663 milliseconds

1 2 3 4 5 6 7 8 91011>>