Home
last modified time | relevance | path

Searched refs:Functor (Results 1 – 24 of 24) sorted by relevance

/external/eigen/unsupported/Eigen/src/NumericalDiff/
DNumericalDiff.h39 typedef _Functor Functor; typedef
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) {} in Functor() function
46 NumericalDiff(const Functor& f, Scalar _epsfcn=0.) : Functor(f), epsfcn(_epsfcn) {} in Functor() function
50 NumericalDiff(const T0& a0) : Functor(a0), epsfcn(0) {} in NumericalDiff()
52 NumericalDiff(const T0& a0, const T1& a1) : Functor(a0, a1), epsfcn(0) {} in NumericalDiff()
54 NumericalDiff(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2), epsfcn(0) {} in NumericalDiff()
[all …]
/external/eigen/unsupported/Eigen/src/AutoDiff/
DAutoDiffJacobian.h16 template<typename Functor> class AutoDiffJacobian : public Functor
19 AutoDiffJacobian() : Functor() {} in AutoDiffJacobian()
20 AutoDiffJacobian(const Functor& f) : Functor(f) {} in AutoDiffJacobian()
24 AutoDiffJacobian(const T0& a0) : Functor(a0) {} in AutoDiffJacobian()
26 AutoDiffJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {} in AutoDiffJacobian()
28 AutoDiffJacobian(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2) {} in AutoDiffJacobian()
31 InputsAtCompileTime = Functor::InputsAtCompileTime,
32 ValuesAtCompileTime = Functor::ValuesAtCompileTime
35 typedef typename Functor::InputType InputType;
36 typedef typename Functor::ValueType ValueType;
[all …]
/external/eigen/unsupported/Eigen/
DAdolcForward98 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;
116 typedef typename Functor::JacobianType JacobianType;
126 Functor::operator()(x, v);
[all …]
/external/eigen/unsupported/test/
DNumericalDiff.cpp13 struct Functor struct
26 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() argument
27 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} in Functor() function
34 struct my_functor : Functor<double> argument
36 my_functor(void): Functor<double>(3,15) {} in my_functor()
DNonLinearOptimization.cpp105 struct Functor struct
118 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() function
119 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} in Functor() function
128 struct lmder_functor : Functor<double> argument
130 lmder_functor(void): Functor<double>(3,15) {} in lmder_functor()
240 struct hybrj_functor : Functor<double>
242 hybrj_functor(void) : Functor<double>(9,9) {} in hybrj_functor()
346 struct hybrd_functor : Functor<double>
348 hybrd_functor(void) : Functor<double>(9,9) {} in hybrd_functor()
428 struct lmstr_functor : Functor<double>
[all …]
/external/webkit/Source/JavaScriptCore/heap/
DMarkedSpace.h80 template<typename Functor> void forEach(Functor&);
152 template <typename Functor> inline void MarkedSpace::forEach(Functor& functor) in forEach()
DHeap.h100 template <typename Functor> void forEach(Functor&);
171 template <typename Functor> inline void Heap::forEach(Functor& functor) in forEach()
DMarkedBlock.h77 template <typename Functor> void forEach(Functor&);
213 template <typename Functor> inline void MarkedBlock::forEach(Functor& functor) in forEach()
/external/webkit/Source/WebCore/css/
DCSSSelectorList.cpp117 template <typename Functor>
118 static bool forEachTagSelector(Functor& functor, CSSSelector* selector) in forEachTagSelector()
136 template <typename Functor>
137 static bool forEachSelector(Functor& functor, const CSSSelectorList* selectorList) in forEachSelector()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java200 testFunctorParameter(instance, new Functor() { in testMethodParameter()
227 testFunctorParameter(null, new Functor() { in testConstructorParameter()
251 private void testFunctorParameter(Object instance, Functor func, in testFunctorParameter()
275 Functor func, int paramIndex) { in parameterIsPrimitiveOrNullable()
288 private Object[] buildParamList(Functor func, int indexOfParamToSetToNull) { in buildParamList()
304 private interface Functor { interface in NullPointerTester
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dfdjac1.h7 const FunctorType &Functor, in fdjac1() argument
41 iflag = Functor(x, wa1); in fdjac1()
57 iflag = Functor(x, wa1); in fdjac1()
/external/clang/test/SemaTemplate/
Dmember-function-template.cpp53 struct Functor { struct
60 void test_Functor(Functor f) { in test_Functor() argument
/external/eigen/Eigen/src/Core/products/
DParallelizer.h85 template<bool Condition, typename Functor, typename Index>
86 void parallelize_gemm(const Functor& func, Index rows, Index cols, bool transpose) in parallelize_gemm()
/external/webkit/Source/WebKit/android/nav/
DWebView.cpp550 void setFunctor(Functor* functor) { in setFunctor()
555 Functor* getFunctor() { in getFunctor()
768 Functor* m_glDrawFunctor;
782 class GLDrawFunctor : Functor {
921 wvInstance->setFunctor((Functor*) functor); in nativeCreateDrawGLFunction()
/external/chromium/testing/gtest/src/
Dgtest-internal-inl.h278 template <class Container, typename Functor>
279 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/gtest/src/
Dgtest-internal-inl.h285 template <class Container, typename Functor>
286 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h284 template <class Container, typename Functor>
285 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/eigen/Eigen/src/Core/
DVectorwiseOp.h176 template<template<typename _Scalar> class Functor,
180 Functor<Scalar>,
DFunctors.h654 template<typename Functor> struct functor_has_linear_access { enum { ret = 1 }; };
660 template<typename Functor> struct functor_allows_mixing_real_and_complex { enum { ret = 0 }; };
/external/chromium/testing/gmock/include/gmock/
Dgmock-matchers.h1790 template <typename Functor>
1792 typedef typename Functor::result_type ResultType;
1793 typedef Functor StorageType;
1795 static void CheckIsValid(Functor /* functor */) {} in CheckIsValid()
1797 static ResultType Invoke(Functor f, T arg) { return f(arg); } in Invoke()
/external/chromium/testing/gmock/test/
Dgmock-more-actions_test.cc349 TEST(InvokeTest, Functor) { in TEST() argument
Dgmock-actions_test.cc1113 TEST(InvokeWithoutArgsTest, Functor) { in TEST() argument
Dgmock-matchers_test.cc3341 struct Functor : public ::std::unary_function<int, string> { struct
3348 Matcher<int> matcher = ResultOf(Functor(), Eq(string("foo"))); in TEST()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-105222 Functor to be passed to forEachSelector to determine if a selector
5228 Functor to resolve namespaces for the selector.