Home
last modified time | relevance | path

Searched refs:BinaryConstantExpression (Results 1 – 3 of 3) sorted by relevance

/system/tools/hidl/
DConstantExpression.h37 struct BinaryConstantExpression;
167 friend struct BinaryConstantExpression;
192 struct BinaryConstantExpression : public ConstantExpression { struct
193 BinaryConstantExpression(ConstantExpression* lval, const std::string& op,
Dhidl-gen_y.yy780 | const_expr LOGICAL_OR const_expr { $$ = new BinaryConstantExpression($1, "||", $3); }
781 | const_expr LOGICAL_AND const_expr { $$ = new BinaryConstantExpression($1, "&&", $3); }
782 | const_expr '|' const_expr { $$ = new BinaryConstantExpression($1, "|" , $3); }
783 | const_expr '^' const_expr { $$ = new BinaryConstantExpression($1, "^" , $3); }
784 | const_expr '&' const_expr { $$ = new BinaryConstantExpression($1, "&" , $3); }
785 | const_expr EQUALITY const_expr { $$ = new BinaryConstantExpression($1, "==", $3); }
786 | const_expr NEQ const_expr { $$ = new BinaryConstantExpression($1, "!=", $3); }
787 | const_expr '<' const_expr { $$ = new BinaryConstantExpression($1, "<" , $3); }
788 | const_expr '>' const_expr { $$ = new BinaryConstantExpression($1, ">" , $3); }
789 | const_expr LEQ const_expr { $$ = new BinaryConstantExpression($1, "<=", $3); }
[all …]
DConstantExpression.cpp274 void BinaryConstantExpression::evaluate() { in evaluate()
394 auto ret = std::make_unique<BinaryConstantExpression>( in addOne()
698 BinaryConstantExpression::BinaryConstantExpression(ConstantExpression* lval, const std::string& op, in BinaryConstantExpression() function in android::BinaryConstantExpression
705 std::vector<const ConstantExpression*> BinaryConstantExpression::getConstantExpressions() const { in getConstantExpressions()