Home
last modified time | relevance | path

Searched refs:evaluator (Results 1 – 25 of 31) sorted by relevance

12

/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliExpressionEvaluator.java46 private final ExpressionEvaluator evaluator; field in SmaliExpressionEvaluator
48 public SmaliExpressionEvaluator(PsiElement fragment, ExpressionEvaluator evaluator) { in SmaliExpressionEvaluator() argument
50 this.evaluator = evaluator; in SmaliExpressionEvaluator()
60 return evaluator.evaluate(context); in evaluate()
64 return evaluator.getValue(); in getValue()
68 return evaluator.getModifier(); in getModifier()
/external/ceres-solver/internal/ceres/
Devaluator_test.cc142 scoped_ptr<Evaluator> evaluator( in EvaluateAndCompare() local
155 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in EvaluateAndCompare()
157 ASSERT_EQ(expected_num_rows, evaluator->NumResiduals()); in EvaluateAndCompare()
158 ASSERT_EQ(expected_num_cols, evaluator->NumEffectiveParameters()); in EvaluateAndCompare()
162 vector<double> state(evaluator->NumParameters()); in EvaluateAndCompare()
164 ASSERT_TRUE(evaluator->Evaluate( in EvaluateAndCompare()
530 scoped_ptr<Evaluator> evaluator(CreateEvaluator(problem.mutable_program())); in TEST_P() local
531 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TEST_P()
533 EXPECT_FALSE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST_P()
605 scoped_ptr<Evaluator> evaluator(Evaluator::Create(options, program, &error)); in TEST() local
[all …]
Dtrust_region_minimizer.cc65 Evaluator* evaluator) { in DoLineSearch() argument
66 LineSearchFunction line_search_function(evaluator); in DoLineSearch()
131 Evaluator* evaluator = CHECK_NOTNULL(options_.evaluator); in Minimize() local
150 const int num_parameters = evaluator->NumParameters(); in Minimize()
151 const int num_effective_parameters = evaluator->NumEffectiveParameters(); in Minimize()
152 const int num_residuals = evaluator->NumResiduals(); in Minimize()
183 if (!evaluator->Plus(x.data(), delta.data(), x_plus_delta.data())) { in Minimize()
198 if (!evaluator->Evaluate(x.data(), in Minimize()
210 if (!evaluator->Plus(x.data(), in Minimize()
389 DoLineSearch(options, x, gradient, cost, delta, evaluator); in Minimize()
[all …]
Dline_search_minimizer.cc69 bool Evaluate(Evaluator* evaluator, in Evaluate() argument
73 if (!evaluator->Evaluate(x.data(), in Evaluate()
84 if (!evaluator->Plus(x.data(), in Evaluate()
106 Evaluator* evaluator = CHECK_NOTNULL(options.evaluator); in Minimize() local
107 const int num_parameters = evaluator->NumParameters(); in Minimize()
108 const int num_effective_parameters = evaluator->NumEffectiveParameters(); in Minimize()
134 if (!Evaluate(evaluator, x, &current_state, &summary->message)) { in Minimize()
176 LineSearchFunction line_search_function(evaluator); in Minimize()
335 if (!evaluator->Plus(x.data(), delta.data(), x_plus_delta.data())) { in Minimize()
342 } else if (!Evaluate(evaluator, in Minimize()
Dsolver_impl.cc71 Evaluator* evaluator, in TrustRegionMinimize() argument
100 minimizer_options.evaluator = evaluator; in TrustRegionMinimize()
101 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TrustRegionMinimize()
140 Evaluator* evaluator, in LineSearchMinimize() argument
165 minimizer_options.evaluator = evaluator; in LineSearchMinimize()
367 scoped_ptr<Evaluator> evaluator(CreateEvaluator(options, in TrustRegionSolve() local
374 if (evaluator == NULL) { in TrustRegionSolve()
405 evaluator.get(), in TrustRegionSolve()
427 evaluator->TimeStatistics(); in TrustRegionSolve()
564 scoped_ptr<Evaluator> evaluator(CreateEvaluator(options, in LineSearchSolve() local
[all …]
Dcoordinate_descent_minimizer.cc213 scoped_ptr<Evaluator> evaluator( in Solve() local
215 CHECK_NOTNULL(evaluator.get()); in Solve()
217 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in Solve()
227 minimizer_options.evaluator = evaluator.get(); in Solve()
Dline_search.cc103 LineSearchFunction::LineSearchFunction(Evaluator* evaluator) in LineSearchFunction() argument
104 : evaluator_(evaluator), in LineSearchFunction()
105 position_(evaluator->NumParameters()), in LineSearchFunction()
106 direction_(evaluator->NumEffectiveParameters()), in LineSearchFunction()
107 evaluation_point_(evaluator->NumParameters()), in LineSearchFunction()
108 scaled_direction_(evaluator->NumEffectiveParameters()), in LineSearchFunction()
109 gradient_(evaluator->NumEffectiveParameters()) { in LineSearchFunction()
Dsolver_impl.h68 Evaluator* evaluator,
79 Evaluator* evaluator,
Dminimizer.h111 evaluator = NULL; in Init()
169 Evaluator* evaluator; member
Dproblem_impl.cc690 scoped_ptr<Evaluator> evaluator( in Evaluate() local
692 if (evaluator.get() == NULL) { in Evaluate()
709 residuals->resize(evaluator->NumResiduals()); in Evaluate()
713 gradient->resize(evaluator->NumEffectiveParameters()); in Evaluate()
719 down_cast<CompressedRowSparseMatrix*>(evaluator->CreateJacobian())); in Evaluate()
741 bool status = evaluator->Evaluate(evaluator_evaluate_options, in Evaluate()
Dline_search.h232 explicit LineSearchFunction(Evaluator* evaluator);
DCMakeLists.txt64 evaluator.cc
248 CERES_TEST(evaluator)
Dtrust_region_minimizer_test.cc233 minimizer_options.evaluator = &powell_evaluator; in IsTrustRegionSolveSuccessful()
/external/google-breakpad/src/processor/
Dcfi_frame_info.cc60 PostfixEvaluator<V> evaluator(&working, &memory); in FindCallerRegs() local
67 if (!evaluator.EvaluateForValue(cfa_rule_, &cfa)) in FindCallerRegs()
74 if (!evaluator.EvaluateForValue(ra_rule_, &ra)) in FindCallerRegs()
83 if (!evaluator.EvaluateForValue(it->second, &value)) in FindCallerRegs()
Dstackwalker_x86.cc364 PostfixEvaluator<uint32_t> evaluator = in GetCallerByWindowsFrameInfo() local
367 if (!evaluator.Evaluate(program_string, &dictionary_validity) || in GetCallerByWindowsFrameInfo()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDiscardTests.cpp67 const ShaderEvaluator& evaluator,
75 const ShaderEvaluator& evaluator, in ShaderDiscardCaseInstance() argument
78 : ShaderRenderCaseInstance (context, isVertexCase, evaluator, uniformSetup, DE_NULL) in ShaderDiscardCaseInstance()
DvktShaderRender.hpp222 const ShaderEvaluator* evaluator,
369 const ShaderEvaluator& evaluator,
DvktShaderRender.cpp429 const ShaderEvaluator* evaluator, in ShaderRenderCase() argument
434 , m_evaluator (evaluator) in ShaderRenderCase()
460 const ShaderEvaluator& evaluator, in ShaderRenderCaseInstance() argument
467 , m_evaluator (evaluator) in ShaderRenderCaseInstance()
/external/clang/test/Analysis/
Dmisc-ps-64.m27 // trick is to have the evaluator convert the literal to an unsigned
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammar.g380 // Here we set up the local evaluator to run over the
DProfileTreeGrammar.g380 // Here we set up the local evaluator to run over the
/external/deqp/modules/glshared/
DglsShaderRenderCase.hpp208 …ctxInfo, const char* name, const char* description, bool isVertexCase, ShaderEvaluator& evaluator);
/external/ceres-solver/
DAndroid.mk145 $(CERES_SRC_PATH)/evaluator.cc \
/external/ceres-solver/jni/
DAndroid.mk136 $(CERES_SRC_PATH)/evaluator.cc \
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/JavaCompat/
DExpr.g337 For reference, see http://www.antlr.org/wiki/display/ANTLR3/Expression+evaluator.

12