/system/core/include/utils/ |
Functor.h | 24 class Functor { 26 Functor() {} 27 virtual ~Functor() {}
|
/frameworks/base/libs/hwui/ |
GlFunctorLifecycleListener.h | 19 #include <utils/Functor.h> 28 virtual void onGlFunctorReleased(Functor* functor) = 0;
|
/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/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...] |
/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...] |
/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/ |
autodiff_local_parameterization.h | 47 // a class with a templated operator() (a functor) that computes 102 // WARNING: Since the functor will get instantiated with different types for 107 template <typename Functor, int kGlobalSize, int kLocalSize> 111 functor_(new Functor()) {} 113 // Takes ownership of functor. 114 explicit AutoDiffLocalParameterization(Functor* functor) : 115 functor_(functor) {} 137 return internal::AutoDiff<Functor, double, kGlobalSize, kLocalSize> 149 internal::scoped_ptr<Functor> functor_ [all...] |
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, 132 NumericDiffFunctor(Functor* functor, double relative_step_size = 1e-6 [all...] |
/external/libchrome/base/ |
bind.h | 50 template <typename Functor, typename... Args> 53 typename internal::FunctorTraits<Functor>::RunnableType, 54 typename internal::FunctorTraits<Functor>::RunType, 57 Bind(Functor functor, const Args&... args) { 58 // Type aliases for how to store and run the functor. 59 using RunnableType = typename internal::FunctorTraits<Functor>::RunnableType; 60 using RunType = typename internal::FunctorTraits<Functor>::RunType; 64 // functor is going to interpret the argument as. 96 new BindState(internal::MakeRunnable(functor), args...)) [all...] |
bind_internal_win.h | 21 template <typename Functor>
|
/external/libweave/third_party/chromium/base/ |
bind.h | 50 template <typename Functor, typename... Args> 53 typename internal::FunctorTraits<Functor>::RunnableType, 54 typename internal::FunctorTraits<Functor>::RunType, 57 Bind(Functor functor, const Args&... args) { 58 // Type aliases for how to store and run the functor. 59 using RunnableType = typename internal::FunctorTraits<Functor>::RunnableType; 60 using RunType = typename internal::FunctorTraits<Functor>::RunType; 64 // functor is going to interpret the argument as. 96 new BindState(internal::MakeRunnable(functor), args...)) [all...] |
/external/libcxx/test/std/utilities/function.objects/func.invoke/ |
invoke.pass.cpp | 80 template <class Signature, class Expect, class Functor> 81 void test_b12(Functor&& f) { 91 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)) 96 typedef typename std::result_of<ClassFunc&&(Functor&&, NonCopyable&&)>::type 102 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)); 106 template <class Expect, class Functor> 107 void test_b34(Functor&& f) { 114 std::invoke(func_ptr, std::forward<Functor>(f)) 119 typedef typename std::result_of<ClassFunc&&(Functor&&)>::type 125 std::invoke(func_ptr, std::forward<Functor>(f)) [all...] |
/external/clang/test/SemaCXX/ |
typo-correction-cxx11.cpp | 30 auto Functor = [x]() {}; 31 long Alignment = __alignof__(Functor);
|
/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...] |
NonLinearOptimization.cpp | 105 // Generic functor 107 struct Functor 120 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} 121 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} 130 struct lmder_functor : Functor<double> 132 lmder_functor(void): Functor<double>(3,15) {} 176 lmder_functor functor; local 177 LevenbergMarquardt<lmder_functor> lm(functor); 205 lmder_functor functor; local 206 LevenbergMarquardt<lmder_functor> lm(functor); 290 hybrj_functor functor; local 323 hybrj_functor functor; local 379 hybrd_functor functor; local 406 hybrd_functor functor; local 481 lmstr_functor functor; local 510 lmstr_functor functor; local 566 lmdif_functor functor; local 596 lmdif_functor functor; local 682 chwirut2_functor functor; local 762 misra1a_functor functor; local 852 hahn1_functor functor; local 938 misra1d_functor functor; local 1016 lanczos1_functor functor; local 1102 rat42_functor functor; local 1180 MGH10_functor functor; local 1256 BoxBOD_functor functor; local 1338 MGH17_functor functor; local 1427 MGH09_functor functor; local 1513 Bennett5_functor functor; local 1600 thurber_functor functor; local 1692 rat43_functor functor; local 1779 eckerle4_functor functor; local [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
fdjac1.h | 7 const FunctorType &Functor, 44 iflag = Functor(x, wa1); 60 iflag = Functor(x, wa1);
|
/external/clang/test/SemaTemplate/ |
member-function-template.cpp | 53 struct Functor { 60 void test_Functor(Functor f) {
|
/external/eigen/Eigen/src/Core/products/ |
Parallelizer.h | 85 template<bool Condition, typename Functor, typename Index> 86 void parallelize_gemm(const Functor& func, Index rows, Index cols, bool transpose)
|
/external/webrtc/webrtc/base/ |
bind.h.pump | 19 // Bind(); the returned functor knows nothing about the lifetime of a non 21 // functor with a destroyed object will surely do bad things. 46 // // The functor passed to AsyncInvoke() will keep this object alive. 53 // auto functor = rtc::Bind(&Bar::Test, bar); 55 // // The functor stores an internal scoped_refptr<Bar>, so this is safe. 56 // functor(); 155 class Functor$i { 158 Functor$i(const FunctorT& functor$for j [[, P$j p$j]]) 159 : functor_(functor)$for j [[ [all...] |
/frameworks/base/libs/hwui/renderstate/ |
RenderState.h | 35 #include <utils/Functor.h> 70 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
|
/frameworks/base/libs/hwui/tests/unit/ |
RenderNodeTests.cpp | 72 void onGlFunctorReleased(Functor* functor) override { 81 Functor noopFunctor;
|
/frameworks/native/vulkan/libvulkan/ |
layers_extensions.cpp | 322 template <typename Functor> 323 void ForEachFileInDir(const std::string& dirname, Functor functor) { 338 functor(entry->d_name); 341 template <typename Functor> 344 Functor functor) { 377 functor(filename); 383 template <typename Functor> 384 void ForEachFileInPath(const std::string& path, Functor functor) [all...] |
/frameworks/base/libs/hwui/renderthread/ |
RenderProxy.h | 26 #include <utils/Functor.h> 91 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
|
/frameworks/webview/chromium/plat_support/ |
draw_gl_functor.cpp | 18 // GL Functor data types into the types the chromium stack expects, and back. 30 #include <utils/Functor.h> 41 class DrawGLFunctor : public Functor { 46 // Functor 126 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) { 127 delete reinterpret_cast<DrawGLFunctor*>(functor);
|
/external/ceres-solver/internal/ceres/ |
cost_function_to_functor_test.cc | 252 NAME##Functor, 2, PARAMETER_BLOCK_SIZES >( \ 253 new NAME##Functor)))); \ 256 new AutoDiffCostFunction<NAME##Functor, 2, PARAMETER_BLOCK_SIZES >( \ 257 new NAME##Functor)); \
|