/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; 72 new BindState(internal::MakeRunnable(functor))); 75 template <typename Functor, typename P1 [all...] |
bind_helpers.h | 312 explicit IgnoreResultHelper(T functor) : functor_(functor) {} 319 explicit IgnoreResultHelper(const Callback<T>& functor) : functor_(functor) {}
|
/frameworks/base/libs/hwui/ |
RenderState.cpp | 94 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { 96 (*functor)(mode, info);
|
RenderState.h | 51 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
|
FontRenderer.h | 20 #include <utils/Functor.h> 55 class TextSetupFunctor: public Functor { 65 int alpha, SkXfermode::Mode mode, const SkPaint* paint): Functor(), 106 Rect* bounds, Functor* functor, bool forceFinish = true); 111 float hOffset, float vOffset, Rect* bounds, Functor* functor); 157 void initRender(const Rect* clip, Rect* bounds, Functor* functor); 198 Functor* mFunctor [all...] |
/external/eigen/test/ |
denseLM.cpp | 102 int test_minimizeLM(FunctorType& functor, VectorType& uv) 104 LevenbergMarquardt<FunctorType> lm(functor); 115 int test_lmder(FunctorType& functor, VectorType& uv) 119 LevenbergMarquardt<FunctorType> lm(functor); 128 int test_minimizeSteps(FunctorType& functor, VectorType& uv) 131 LevenbergMarquardt<FunctorType> lm(functor);
|
/external/eigen/Eigen/src/Core/ |
CwiseBinaryOp.h | 21 * \param BinaryOp template functor implementing the operator 89 // we require Lhs and Rhs to have the same scalar type. Currently there is no example of a binary functor 153 /** \returns the functor representing the binary operation */ 154 const BinaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseBinaryOp 174 return derived().functor()(derived().lhs().coeff(rowId, colId), 181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId), 187 return derived().functor()(derived().lhs().coeff(index), 194 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(index),
|
/external/eigen/unsupported/test/ |
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...] |
levenberg_marquardt.cpp | 69 lmder_functor functor; local 70 LevenbergMarquardt<lmder_functor> lm(functor); 98 lmder_functor functor; local 99 LevenbergMarquardt<lmder_functor> lm(functor); 171 lmdif_functor functor; local 173 info = LevenbergMarquardt<lmdif_functor>::lmdif1(functor, x, &nfev); 180 functor(x, fvec); 201 lmdif_functor functor; local 202 NumericalDiff<lmdif_functor> numDiff(functor); 287 chwirut2_functor functor; local 367 misra1a_functor functor; local 458 hahn1_functor functor; local 544 misra1d_functor functor; local 622 lanczos1_functor functor; local 708 rat42_functor functor; local 786 MGH10_functor functor; local 862 BoxBOD_functor functor; local 944 MGH17_functor functor; local 1033 MGH09_functor functor; local 1119 Bennett5_functor functor; local 1206 thurber_functor functor; local 1298 rat43_functor functor; local 1385 eckerle4_functor functor; local [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-local-class.cpp | 81 struct Functor { 86 forEach(Functor()); 168 struct functor { struct 169 functor(Func f) : func(f) {} function in struct:PR14373::functor 173 return functor(f);
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LevenbergMarquardt.h | 89 // to be defined in the functor 92 // to be defined in the functor if no automatic differentiation 123 LevenbergMarquardt(FunctorType& functor) 124 : m_functor(functor),m_nfev(0),m_njev(0),m_fnorm(0.0),m_gnorm(0), 139 FunctorType &functor, 349 FunctorType &functor, 356 Index m = functor.values(); 362 NumericalDiff<FunctorType> numDiff(functor);
|
/external/ceres-solver/include/ceres/ |
dynamic_autodiff_cost_function.h | 38 // The functor API differs slightly from the API for fixed size 81 explicit DynamicAutoDiffCostFunction(CostFunctor* functor) 82 : functor_(functor) {} 107 // is a large body of code that assumes inside a cost functor it is 126 // Make the parameter pack that is sent to the functor (reused).
|
numeric_diff_cost_function.h | 37 // a class with a operator() (a functor) that computes the residuals. 95 // "MyScalarCostFunctor", "1, 2, 2", describe the functor as computing 192 NumericDiffCostFunction(CostFunctor* functor, 196 :functor_(functor),
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
thread.h | 163 // Convenience method to invoke a functor on another thread. Caller must 169 ReturnT Invoke(const FunctorT& functor) { 170 FunctorMessageHandler<ReturnT, FunctorT> handler(functor);
|
bind.h.pump | 35 // returned functor knows nothing about the lifetime of the method's object or 36 // any arguments passed by pointer, and calling the functor with a destroyed 96 class Functor$i { 99 Functor$i(const FunctorT& functor$for j [[, P$j p$j]]) 100 : functor_(functor)$for j [[, 140 Functor$i<FP_T(NONAME), R$for j [[, P$j]]> 143 return Functor$i<FP_T(NONAME), R$for j [[, P$j]]>(
|
bind.h | 39 // returned functor knows nothing about the lifetime of the method's object or 40 // any arguments passed by pointer, and calling the functor with a destroyed 90 explicit Functor0(const FunctorT& functor) 91 : functor_(functor) {} 150 Functor1(const FunctorT& functor, P1 p1) 151 : functor_(functor), 223 Functor2(const FunctorT& functor, P1 p1, P2 p2) 224 : functor_(functor), 309 Functor3(const FunctorT& functor, P1 p1, P2 p2, P3 p3) 310 : functor_(functor), [all...] |
/external/chromium_org/third_party/webrtc/base/ |
thread.h | 146 // Convenience method to invoke a functor on another thread. Caller must 152 ReturnT Invoke(const FunctorT& functor) { 153 FunctorMessageHandler<ReturnT, FunctorT> handler(functor);
|
bind.h.pump | 18 // returned functor knows nothing about the lifetime of the method's object or 19 // any arguments passed by pointer, and calling the functor with a destroyed 79 class Functor$i { 82 Functor$i(const FunctorT& functor$for j [[, P$j p$j]]) 83 : functor_(functor)$for j [[, 123 Functor$i<FP_T(NONAME), R$for j [[, P$j]]> 126 return Functor$i<FP_T(NONAME), R$for j [[, P$j]]>(
|
bind.h | 22 // returned functor knows nothing about the lifetime of the method's object or 23 // any arguments passed by pointer, and calling the functor with a destroyed 73 explicit Functor0(const FunctorT& functor) 74 : functor_(functor) {} 133 Functor1(const FunctorT& functor, P1 p1) 134 : functor_(functor), 206 Functor2(const FunctorT& functor, P1 p1, P2 p2) 207 : functor_(functor), 292 Functor3(const FunctorT& functor, P1 p1, P2 p2, P3 p3) 293 : functor_(functor), [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseCwiseUnaryOp.h | 42 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 65 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 106 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 128 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor())
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
LevenbergMarquardt.h | 50 : functor(_functor) { nfev = njev = iter = 0; fnorm = gnorm = 0.; useExternalScaling=false; } 83 FunctorType &functor, 112 FunctorType &functor; member in class:Eigen::LevenbergMarquardt 134 m = functor.values(); 167 m = functor.values(); 194 if ( functor(x, fvec) < 0) 215 Index df_ret = functor.df(x, fjac); 280 if ( functor(wa2, wa4) < 0) 362 m = functor.values(); 381 m = functor.values() [all...] |
HybridNonLinearSolver.h | 49 : functor(_functor) { nfev=njev=iter = 0; fnorm= 0.; useExternalScaling=false;} 100 FunctorType &functor; member in class:Eigen::HybridNonLinearSolver 170 if ( functor(x, fvec) < 0) 198 if ( functor.df(x, fjac) < 0) 249 if ( functor(wa2, wa4) < 0) 410 if ( functor(x, fvec) < 0) 441 if (internal::fdjac1(functor, x, fvec, fjac, parameters.nb_of_subdiagonals, parameters.nb_of_superdiagonals, parameters.epsfcn) <0) 492 if ( functor(wa2, wa4) < 0)
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
DrawGLFunctor.java | 111 private static native void nativeDestroyGLFunctor(long functor);
|
/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);
|
/frameworks/base/libs/hwui/renderthread/ |
CanvasContext.h | 25 #include <utils/Functor.h> 82 static void invokeFunctor(RenderThread& thread, Functor* functor);
|