/external/ceres-solver/internal/ceres/ |
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 196 EasyFunctor functor; local [all...] |
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...] |
autodiff_test.cc | 360 // Use a single functor, but tweak it to produce different numbers of 362 VaryingResidualFunctor functor; local 366 functor.num_residuals = num_residuals; 370 functor, parameters, num_residuals, residuals, jacobians))); 529 Residual1Param functor; local 532 functor, parameters, 1, &residual, jacobians))); 540 Residual2Param functor; local 543 functor, parameters, 1, &residual, jacobians))); 551 Residual3Param functor; local 554 functor, parameters, 1, &residual, jacobians))) 562 Residual4Param functor; local 573 Residual5Param functor; local 584 Residual6Param functor; local 597 Residual7Param functor; local 610 Residual8Param functor; local 623 Residual9Param functor; local 637 Residual10Param functor; local [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/chromium_org/third_party/WebKit/Source/core/css/ |
CSSSelectorList.cpp | 124 template <typename Functor> 125 static bool forEachTagSelector(Functor& functor, const CSSSelector& selector) 128 if (functor(*current)) 132 if (forEachTagSelector(functor, *subSelector)) 141 template <typename Functor> 142 static bool forEachSelector(Functor& functor, const CSSSelectorList* selectorList) 145 if (forEachTagSelector(functor, *selector)) 166 SelectorNeedsNamespaceResolutionFunctor functor; local 180 SelectorHasShadowDistributed functor; local 194 SelectorCrossesTreeScopes functor; local [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(rowId, colId)); 109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId)); 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 118 return derived().functor()(derived().nestedExpression().coeff(row, col)); 123 return derived().functor()(derived().nestedExpression().coeff(index)); 128 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(row, col)); 133 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(index));
|
SelfCwiseBinaryOp.h | 158 const BinaryOp& functor() const function in class:Eigen::SelfCwiseBinaryOp
|
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),
|
CwiseNullaryOp.h | 18 * \brief Generic expression of a matrix where all coefficients are defined by a functor 20 * \param NullaryOp template functor implementing the operator 91 /** \returns the functor representing the nullary operation */ 92 const NullaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseNullaryOp 101 /** \returns an expression of a matrix defined by a custom functor \a func 110 * The template parameter \a CustomNullaryOp is the type of the functor. 122 /** \returns an expression of a matrix defined by a custom functor \a func 133 * The template parameter \a CustomNullaryOp is the type of the functor. 147 /** \returns an expression of a matrix defined by a custom functor \a func 152 * The template parameter \a CustomNullaryOp is the type of the functor [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...] |
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...] |
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/chromium_org/third_party/skia/src/gpu/ |
GrResourceCache.cpp | 190 // This functor just searches for an entry with only a single ref (from 206 GrTFindUnreffedFunctor functor; local 208 entry = fCache.find<GrTFindUnreffedFunctor>(key, functor); 363 // default find functor that gives us back resources whether we own
|
/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/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 | 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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
CompositedLayerMapping.cpp | 1426 UpdateRenderingContextFunctor functor = { id }; local 1440 UpdateShouldFlattenTransformFunctor functor = { !m_owningLayer.shouldPreserve3D() }; local 2053 SetContentsNeedsDisplayInRectFunctor functor = { local [all...] |