/frameworks/base/libs/hwui/tests/unit/ |
CanvasContextTests.cpp | 47 TestUtils::MockFunctor functor; local 48 CanvasContext::invokeFunctor(renderThread, &functor); 51 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeProcessNoContext); 53 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeProcess);
|
SkiaDisplayListTests.cpp | 93 TestUtils::MockFunctor functor; local 94 skiaDL.mChildFunctors.emplace_back(&functor, nullptr, &dummyCanvas); 101 // ensure that the functor and vectorDrawable are properly synced 104 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeSync);
|
/external/eigen/Eigen/src/Core/ |
CwiseUnaryOp.h | 40 * \tparam UnaryOp template functor implementing the operator 73 /** \returns the functor representing the unary operation */ 75 const UnaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryOp
|
CwiseUnaryView.h | 49 * \tparam ViewOp template functor implementing the view 75 /** \returns the functor representing unary operation */ 76 const ViewOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryView
|
CwiseBinaryOp.h | 62 * \tparam BinaryOp template functor implementing the operator 87 typedef typename internal::remove_all<BinaryOp>::type Functor; 136 /** \returns the functor representing the binary operation */ 138 const BinaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseBinaryOp
|
CwiseNullaryOp.h | 29 * \brief Generic expression of a matrix where all coefficients are defined by a functor 31 * \tparam NullaryOp template functor implementing the operator 41 * The functor NullaryOp must expose one of the following method: 82 /** \returns the functor representing the nullary operation */ 84 const NullaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseNullaryOp 93 /** \returns an expression of a matrix defined by a custom functor \a func 102 * The template parameter \a CustomNullaryOp is the type of the functor. 114 /** \returns an expression of a matrix defined by a custom functor \a func 125 * The template parameter \a CustomNullaryOp is the type of the functor. 142 /** \returns an expression of a matrix defined by a custom functor \a fun [all...] |
CwiseTernaryOp.h | 61 * \tparam TernaryOp template functor implementing the operator 173 /** \returns the functor representing the ternary operation */ 175 const TernaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseTernaryOp
|
VectorwiseOp.h | 22 * \tparam MemberOp type of the member functor 77 const MemberOp& functor() const { return m_functor; } function in class:Eigen::PartialReduxExpr 166 template<template<typename _Scalar> class Functor, 170 Functor<Scalar_>, 263 * The template parameter \a BinaryOp is the type of the functor
|
/external/skia/include/private/ |
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/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorReductionSycl.h | 144 Op functor = reducer; local 156 const auto device_self_expr= TensorReductionOp<Op, Dims, decltype(device_expr.expr) ,MakeGlobalPointer>(device_expr.expr, dims, functor); 164 tmp_global_accessor.get_pointer()[globalid]=InnerMostDimReducer<decltype(device_self_evaluator), Op, false>::reduce(device_self_evaluator, red_factor*globalid, red_factor, const_cast<Op&>(functor)); 170 tmp_global_accessor.get_pointer()[globalid]+=InnerMostDimReducer<decltype(device_self_evaluator), Op, false>::reduce(device_self_evaluator, red_factor*(rng), remaining, const_cast<Op&>(functor)); 206 Op functor = reducer; local 219 const auto device_self_expr= TensorReductionOp<Op, Dims, decltype(device_expr.expr) ,MakeGlobalPointer>(device_expr.expr, dims, functor); 227 typename DeiceSelf::CoeffReturnType accum = functor.initialize(); 228 GenericDimReducer<DeiceSelf::NumReducedDims-1, DeiceSelf, Op>::reduce(device_self_evaluator, device_self_evaluator.firstInput(globalid),const_cast<Op&>(functor), &accum); 229 functor.finalize(accum);
|
TensorEvaluator.h | 242 : m_functor(op.functor()), m_argImpl(op.nestedExpression(), device), m_wrapper() 279 NullaryOp functor() const { return m_functor; } function in struct:Eigen::TensorEvaluator 306 : m_functor(op.functor()), 349 UnaryOp functor() const { return m_functor; } function in struct:Eigen::TensorEvaluator 375 : m_functor(op.functor()), 430 BinaryOp functor() const { return m_functor; } function in struct:Eigen::TensorEvaluator 455 : m_functor(op.functor()),
|
TensorExpr.h | 70 const NullaryOp& functor() const { return m_functor; } function in class:Eigen::TensorCwiseNullaryOp 127 const UnaryOp& functor() const { return m_functor; } function in class:Eigen::TensorCwiseUnaryOp 203 const BinaryOp& functor() const { return m_functor; } function in class:Eigen::TensorCwiseBinaryOp 278 const TernaryOp& functor() const { return m_functor; } function in class:Eigen::TensorCwiseTernaryOp
|
/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...] |
levenberg_marquardt.cpp | 75 lmder_functor functor; local 76 LevenbergMarquardt<lmder_functor> lm(functor); 104 lmder_functor functor; local 105 LevenbergMarquardt<lmder_functor> lm(functor); 177 lmdif_functor functor; local 179 info = LevenbergMarquardt<lmdif_functor>::lmdif1(functor, x, &nfev); 186 functor(x, fvec); 207 lmdif_functor functor; local 208 NumericalDiff<lmdif_functor> numDiff(functor); 293 chwirut2_functor functor; local 373 misra1a_functor functor; local 464 hahn1_functor functor; local 550 misra1d_functor functor; local 628 lanczos1_functor functor; local 714 rat42_functor functor; local 792 MGH10_functor functor; local 885 BoxBOD_functor functor; local 972 MGH17_functor functor; local 1062 MGH09_functor functor; local 1148 Bennett5_functor functor; local 1235 thurber_functor functor; local 1327 rat43_functor functor; local 1414 eckerle4_functor functor; local [all...] |
NonLinearOptimization.cpp | 106 // Generic functor 108 struct Functor 121 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} 122 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} 131 struct lmder_functor : Functor<double> 133 lmder_functor(void): Functor<double>(3,15) {} 177 lmder_functor functor; local 178 LevenbergMarquardt<lmder_functor> lm(functor); 206 lmder_functor functor; local 207 LevenbergMarquardt<lmder_functor> lm(functor); 291 hybrj_functor functor; local 324 hybrj_functor functor; local 380 hybrd_functor functor; local 407 hybrd_functor functor; local 482 lmstr_functor functor; local 511 lmstr_functor functor; local 567 lmdif_functor functor; local 597 lmdif_functor functor; local 683 chwirut2_functor functor; local 763 misra1a_functor functor; local 853 hahn1_functor functor; local 939 misra1d_functor functor; local 1017 lanczos1_functor functor; local 1105 rat42_functor functor; local 1183 MGH10_functor functor; local 1259 BoxBOD_functor functor; local 1341 MGH17_functor functor; local 1435 MGH09_functor functor; local 1521 Bennett5_functor functor; local 1608 thurber_functor functor; local 1700 rat43_functor functor; local 1787 eckerle4_functor functor; local [all...] |
/external/v8/tools/testrunner/local/ |
progress.py | 102 def functor(self, *args, **kwargs): function in function:.Register.wrap_functor 106 return functor
|
/external/webrtc/webrtc/base/ |
bind_unittest.cc | 168 auto functor = Bind(&LifeTimeCheck::NullaryVoid, &object); local 184 auto functor = Bind(&LifeTimeCheck::NullaryVoid, scoped_object); local 192 // Test Bind where method object is captured as scoped_refptr<> and the functor 213 auto functor = local 234 auto functor = Bind(&Ref, x); local 235 EXPECT_NE(&x, functor());
|
/frameworks/base/core/jni/ |
android_view_DisplayListCanvas.cpp | 81 virtual void onGlFunctorReleased(Functor* functor) override { 105 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local 110 canvas->callDrawGLFunction(functor, bridge.get());
|
android_view_RenderNode.cpp | 467 auto functor = std::bind( local 473 info.canvasContext.enqueueFrameWork(std::move(functor));
|
android_view_ThreadedRenderer.cpp | 724 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local 725 RenderProxy::invokeFunctor(functor, waitForCompletion); [all...] |
/frameworks/base/libs/hwui/ |
DisplayList.h | 68 Functor* functor; member in struct:android::uirenderer::FunctorContainer
|
RecordedOp.h | 273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) 275 , functor(functor) {} 276 Functor* functor; member in struct:android::uirenderer::FunctorOp
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
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)
|
LevenbergMarquardt.h | 56 : functor(_functor) { nfev = njev = iter = 0; fnorm = gnorm = 0.; useExternalScaling=false; } 89 FunctorType &functor, 119 FunctorType &functor; member in class:Eigen::LevenbergMarquardt 141 m = functor.values(); 174 m = functor.values(); 201 if ( functor(x, fvec) < 0) 222 Index df_ret = functor.df(x, fjac); 287 if ( functor(wa2, wa4) < 0) 369 m = functor.values(); 388 m = functor.values() [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-local-class.cpp | 83 struct Functor { 88 forEach(Functor()); 170 struct functor { struct 171 functor(Func f) : func(f) {} function in struct:PR14373::functor 175 return functor(f);
|