Lines Matching refs:eval
101 return op->eval(parent1->getValue(), parent2 == nullptr ? 0 : parent2->getValue()); in getValue()
162 int res = this->eval(i, j); in getInitRange()
181 void IRandomVariableOp::eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::IRandomVariableOp
190 int res = this->eval(i, j); in eval()
216 using IRandomVariableOp::eval;
217 virtual int eval(int val) const = 0;
218 virtual int eval(int lhs, int) const override { return eval(lhs); } in eval() function in android::nn::fuzzing_test::IUnaryOp
220 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::IUnaryOp
228 int res = this->eval(i); in eval()
241 using IRandomVariableOp::eval;
243 virtual int eval(int lhs, int rhs) const override { in eval() function in android::nn::fuzzing_test::IConstraintOp
253 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::IConstraintOp
272 virtual int eval(int lhs, int rhs) const override { return lhs + rhs; } in eval() function in android::nn::fuzzing_test::Addition
277 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::Addition
281 IRandomVariableOp::eval(parent1In, parent2In, childIn, parent1Out, parent2Out, in eval()
308 virtual int eval(int lhs, int rhs) const override { return lhs - rhs; } in eval() function in android::nn::fuzzing_test::Subtraction
313 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::Subtraction
317 IRandomVariableOp::eval(parent1In, parent2In, childIn, parent1Out, parent2Out, in eval()
337 virtual int eval(int lhs, int rhs) const override { return lhs * rhs; } in eval() function in android::nn::fuzzing_test::Multiplication
348 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::Multiplication
352 IRandomVariableOp::eval(parent1In, parent2In, childIn, parent1Out, parent2Out, in eval()
360 int res = this->eval(i, j); in eval()
380 virtual int eval(int lhs, int rhs) const override { in eval() function in android::nn::fuzzing_test::Division
396 virtual int eval(int lhs, int rhs) const override { in eval() function in android::nn::fuzzing_test::ExactDivision
404 virtual int eval(int lhs, int rhs) const override { in eval() function in android::nn::fuzzing_test::Modulo
411 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::Modulo
415 IRandomVariableOp::eval(parent1In, parent2In, childIn, parent1Out, parent2Out, in eval()
449 virtual int eval(int lhs, int rhs) const override { return std::max(lhs, rhs); } in eval() function in android::nn::fuzzing_test::Maximum
455 virtual int eval(int lhs, int rhs) const override { return std::min(lhs, rhs); } in eval() function in android::nn::fuzzing_test::Minimum
461 virtual int eval(int val) const override { return val * val; } in eval() function in android::nn::fuzzing_test::Square
467 virtual int eval(int val) const override { return val; } in eval() function in android::nn::fuzzing_test::UnaryEqual
474 virtual void eval(const std::set<int>* parent1In, const std::set<int>* parent2In, in eval() function in android::nn::fuzzing_test::Equal
502 virtual int eval(int val) const override { in eval() function in android::nn::fuzzing_test::FloatMultiplication
673 bool eval() { in eval() function
675 var->value = var->op->eval(var->parent1->value, in eval()
761 if (!context->at(var).eval()) return; in evalSubnetHelper()
782 var->op->eval(&context->at(var->parent1).committed, in evalSubnetSingleOpHelper()
838 bool eval(EvalContext* context) { in eval() function
981 if (!subnet.eval(context)) return false; in evalSubnetsRepeatedly()
1013 bool eval(EvalContext* context) { in eval() function