Home
last modified time | relevance | path

Searched refs:Evaluate (Results 1 – 25 of 133) sorted by relevance

123456

/external/chromium_org/sandbox/win/src/
Dpolicy_opcodes_unittest.cc89 EXPECT_EQ(EVAL_FALSE, op1->Evaluate(&ppb1, 1, NULL)); in TEST()
94 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 1, NULL)); in TEST()
97 EXPECT_EQ(EVAL_ERROR, op2->Evaluate(NULL, 0, NULL)); in TEST()
98 EXPECT_EQ(EVAL_ERROR, op2->Evaluate(NULL, 1, NULL)); in TEST()
101 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 0, NULL)); in TEST()
102 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 1, NULL)); in TEST()
108 EXPECT_EQ(EVAL_TRUE, op3->Evaluate(&ppb1, 1, NULL)); in TEST()
110 EXPECT_EQ(EVAL_FALSE, op4->Evaluate(&ppb1, 1, NULL)); in TEST()
117 EXPECT_EQ(EVAL_TRUE, op5->Evaluate(&ppb1, 1, &context)); in TEST()
136 EXPECT_EQ(EVAL_FALSE, op->Evaluate(&ppb1, 1, NULL)); in TEST()
[all …]
Dpolicy_low_level_unittest.cc74 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
79 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
107 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
111 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
116 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
145 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
149 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
178 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
182 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
187 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
[all …]
Dpolicy_engine_unittest.cc79 pr = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
84 pr = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
90 pr = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
95 pr = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); in TEST()
/external/ceres-solver/include/ceres/
Dloss_function.h114 virtual void Evaluate(double sq_norm, double out[3]) const = 0;
134 virtual void Evaluate(double, double*) const;
178 virtual void Evaluate(double, double*) const;
194 virtual void Evaluate(double, double*) const;
211 virtual void Evaluate(double, double*) const;
232 virtual void Evaluate(double, double*) const;
271 virtual void Evaluate(double, double*) const;
285 virtual void Evaluate(double, double*) const;
322 virtual void Evaluate(double, double*) const;
378 virtual void Evaluate(double sq_norm, double out[3]) const { in Evaluate() function
[all …]
Dcost_function_to_functor.h165 return cost_function_->Evaluate(&x0, residuals, NULL); in operator()
184 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
205 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
228 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
253 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
280 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
309 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
340 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
373 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
408 return cost_function_->Evaluate(parameter_blocks.get(), residuals, NULL); in operator()
[all …]
/external/ceres-solver/internal/ceres/
Dloss_function.cc40 void TrivialLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::TrivialLoss
46 void HuberLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::HuberLoss
62 void SoftLOneLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::SoftLOneLoss
71 void CauchyLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::CauchyLoss
80 void ArctanLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::ArctanLoss
97 void TolerantLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::TolerantLoss
133 void ComposedLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::ComposedLoss
135 g_->Evaluate(s, rho_g); in Evaluate()
136 f_->Evaluate(rho_g[0], rho_f); in Evaluate()
144 void ScaledLoss::Evaluate(double s, double rho[3]) const { in Evaluate() function in ceres::ScaledLoss
[all …]
Dloss_function_test.cc52 loss.Evaluate(s, rho); in AssertLossFunctionIsValid()
61 loss.Evaluate(s + kH, fwd); in AssertLossFunctionIsValid()
62 loss.Evaluate(s - kH, bwd); in AssertLossFunctionIsValid()
123 TolerantLoss(0.7, 0.4).Evaluate(0.0, rho); in TEST()
201 loss_function1.Evaluate(s, rho_gold); in TEST()
202 loss_function_wrapper.Evaluate(s, rho); in TEST()
210 loss_function_wrapper.Evaluate(s, rho); in TEST()
211 loss_function2.Evaluate(s, rho_gold); in TEST()
219 loss_function_wrapper.Evaluate(s, rho); in TEST()
220 loss_function3.Evaluate(s, rho_gold); in TEST()
Dresidual_block_utils_test.cc65 EXPECT_EQ(residual_block.Evaluate(true, in CheckEvaluation()
76 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::GoodCostFunction
91 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::NoResidualUpdateCostFunction
105 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::NoJacobianUpdateCostFunction
119 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::BadResidualCostFunction
132 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::BadJacobianCostFunction
Dresidual_block_test.cc55 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::TernaryCostFunction
108 residual_block.Evaluate(true, &cost, NULL, NULL, scratch); in TEST()
113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch); in TEST()
137 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); in TEST()
156 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); in TEST()
170 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::LocallyParameterizedCostFunction
247 residual_block.Evaluate(true, &cost, NULL, NULL, scratch); in TEST()
252 residual_block.Evaluate(true, &cost, residuals, NULL, scratch); in TEST()
276 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); in TEST()
314 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); in TEST()
Devaluator.h95 static bool Evaluate(Program* program,
141 virtual bool Evaluate(const EvaluateOptions& evaluate_options,
151 bool Evaluate(const double* state, in Evaluate() function
156 return Evaluate(EvaluateOptions(), in Evaluate()
Dautodiff_cost_function_test.cc75 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
77 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
127 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
130 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
Dgradient_checking_cost_function_test.cc88 bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::TestTerm
169 term.Evaluate(&parameters[0], in TEST()
173 gradient_checking_cost_function->Evaluate(&parameters[0], in TEST()
232 gradient_checking_cost_function->Evaluate(&parameters[0], in TEST()
250 gradient_checking_cost_function->Evaluate(&parameters[0], in TEST()
273 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::UnaryCostFunction
294 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::BinaryCostFunction
317 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::TernaryCostFunction
Dconditioned_cost_function.cc77 bool ConditionedCostFunction::Evaluate(double const* const* parameters, in Evaluate() function in ceres::ConditionedCostFunction
80 bool success = wrapped_cost_function_->Evaluate(parameters, residuals, in Evaluate()
105 success = conditioners_[r]->Evaluate(&parameter_pointer, in Evaluate()
Ddynamic_autodiff_cost_function_test.cc88 EXPECT_TRUE(cost_function.Evaluate(&parameter_blocks[0], in TEST()
128 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
195 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
245 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
432 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
448 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
478 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
500 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
676 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
695 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
[all …]
Devaluator_test.cc61 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::ParameterIgnoringCostFunction
164 ASSERT_TRUE(evaluator->Evaluate( in EvaluateAndCompare()
533 EXPECT_FALSE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST_P()
569 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::ParameterSensitiveCostFunction
623 ASSERT_TRUE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST()
631 ASSERT_TRUE(evaluator->Evaluate(state, &cost, residuals, NULL, NULL)); in TEST()
642 ASSERT_TRUE(evaluator->Evaluate(state, in TEST()
Ddynamic_numeric_diff_cost_function_test.cc88 EXPECT_TRUE(cost_function.Evaluate(&parameter_blocks[0], in TEST()
129 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
196 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
246 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data(), in TEST()
433 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
449 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
479 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
501 EXPECT_TRUE(cost_function_->Evaluate(parameter_blocks_.data(), in TEST_F()
Dnormal_prior_test.cc74 prior.Evaluate(&x, residuals.data(), &jacobian); in TEST()
113 prior.Evaluate(&x, residuals.data(), jacobians); in TEST()
120 prior.Evaluate(&x, residuals.data(), NULL); in TEST()
Dc_api.cc83 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in CallbackCostFunction
104 virtual void Evaluate(double sq_norm, double* rho) const { in Evaluate() function in CallbackLossFunction
138 ->Evaluate(squared_norm, out); in ceres_stock_loss_function()
Dnumeric_diff_test_utils.h54 virtual bool Evaluate(double const* const* parameters, in Evaluate() function
79 virtual bool Evaluate(double const* const* parameters, in Evaluate() function
Dgradient_checking_cost_function.cc109 virtual bool Evaluate(double const* const* parameters, in Evaluate() function in ceres::internal::__anon14c6d0180111::GradientCheckingCostFunction
114 return function_->Evaluate(parameters, residuals, NULL); in Evaluate()
134 if (!function_->Evaluate(parameters, in Evaluate()
142 finite_diff_cost_function_->Evaluate( in Evaluate()
/external/chromium_org/base/test/
Dtrace_event_analyzer_unittest.cc172 EXPECT_TRUE(event_pid.Evaluate(event)); in TEST_F()
173 EXPECT_TRUE(event_tid.Evaluate(event)); in TEST_F()
174 EXPECT_TRUE(event_time.Evaluate(event)); in TEST_F()
175 EXPECT_TRUE(event_duration.Evaluate(event)); in TEST_F()
176 EXPECT_TRUE(event_phase.Evaluate(event)); in TEST_F()
177 EXPECT_TRUE(event_category.Evaluate(event)); in TEST_F()
178 EXPECT_TRUE(event_name.Evaluate(event)); in TEST_F()
179 EXPECT_TRUE(event_id.Evaluate(event)); in TEST_F()
180 EXPECT_TRUE(event_has_arg1.Evaluate(event)); in TEST_F()
181 EXPECT_TRUE(event_has_arg2.Evaluate(event)); in TEST_F()
[all …]
Dtrace_event_analyzer.cc243 bool Query::Evaluate(const TraceEvent& event) const { in Evaluate() function in trace_analyzer::Query
277 return left().Evaluate(event) && right().Evaluate(event); in Evaluate()
279 return left().Evaluate(event) || right().Evaluate(event); in Evaluate()
281 return !left().Evaluate(event); in Evaluate()
642 if (query.Evaluate(events[i])) in FindMatchingEvents()
743 if (second.Evaluate(this_event)) { in AssociateEvents()
752 if (match.Evaluate(begin_event)) { in AssociateEvents()
766 if (first.Evaluate(this_event)) { in AssociateEvents()
894 if (query.Evaluate(*events[i])) { in FindFirstOf()
908 if (query.Evaluate(*events[i - 1])) { in FindLastOf()
[all …]
/external/chromium_org/chrome/installer/util/
Dinstall_util_unittest.cc27 MOCK_CONST_METHOD1(Evaluate, bool(const std::wstring&));
193 EXPECT_CALL(pred, Evaluate(_)).Times(0); in TEST_F()
209 EXPECT_CALL(pred, Evaluate(_)).Times(0); in TEST_F()
224 EXPECT_CALL(pred, Evaluate(_)).Times(0); in TEST_F()
239 EXPECT_CALL(pred, Evaluate(StrEq(L"foosball!"))).WillOnce(Return(false)); in TEST_F()
256 EXPECT_CALL(pred, Evaluate(StrEq(value))).WillOnce(Return(true)); in TEST_F()
273 EXPECT_CALL(pred, Evaluate(StrEq(value))).WillOnce(Return(true)); in TEST_F()
301 EXPECT_CALL(pred, Evaluate(_)).Times(0); in TEST_F()
314 EXPECT_CALL(pred, Evaluate(_)).Times(0); in TEST_F()
327 EXPECT_CALL(pred, Evaluate(StrEq(L"foosball!"))).WillOnce(Return(false)); in TEST_F()
[all …]
/external/deqp/framework/randomshaders/
DrsgBuiltinFunctions.hpp35 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
57 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
58 UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::UnaryBuiltinVecFunc (Generat… in UnaryBuiltinVecFunc()
78 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
79 UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::~UnaryBuiltinVecFunc (void) in ~UnaryBuiltinVecFunc()
84 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
85 Expression* UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::createNextChild … in createNextChild()
94 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
95 void UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::tokenize (GeneratorStat… in tokenize()
102 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate>
[all …]
/external/lldb/include/lldb/Expression/
DDWARFExpression.h252 Evaluate (ExecutionContextScope *exe_scope,
265 Evaluate (ExecutionContext *exe_ctx,
331 Evaluate (ExecutionContext *exe_ctx,

123456