Home
last modified time | relevance | path

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

/system/tools/hidl/c2hal/
DExpression.cpp135 : mOp(op), mRhs(rhs) in UnaryExpression()
145 return mOp + mRhs->toString(atomCase); in toString()
149 std::string mOp; member
157 : mLhs(lhs), mOp(op), mRhs(rhs) in BinaryExpression()
168 return mLhs->toString(atomCase) + " " + mOp + " " + mRhs->toString(atomCase); in toString()
173 std::string mOp; member
/system/tools/hidl/
DConstantExpression.h180 UnaryConstantExpression(const std::string& mOp, ConstantExpression* value);
186 std::string mOp; member
198 const std::string mOp; member
DConstantExpression.cpp33 #define OPEQ(__y__) (std::string(mOp) == std::string(__y__))
257 mExpr = std::string("(") + mOp + mUnary->mExpr + ")"; in evaluate()
261 mValue = handleUnary(mOp, static_cast<__type__>(mUnary->mValue)); \ in evaluate()
273 mExpr = std::string("(") + mLval->mExpr + " " + mOp + " " + mRval->mExpr + ")"; in evaluate()
288 mValue = handleBinaryCommon(static_cast<__type__>(mLval->mValue), mOp, \ in evaluate()
296 std::string newOp = mOp; in evaluate()
319 mValue = handleLogical(mLval->mValue, mOp, mRval->mValue); in evaluate()
686 : mUnary(value), mOp(op) {} in UnaryConstantExpression()
694 : mLval(lval), mRval(rval), mOp(op) {} in BinaryConstantExpression()