Lines Matching refs:op
41 if (op == string(#__op__)) { \
46 if (op == string(#__op__)) { \
73 bool handleUnary(const AidlConstantValue& context, const string& op, T val, int64_t* out) { in handleUnary() argument
78 AIDL_FATAL(context) << "Could not handleUnary for " << op << " " << val; in handleUnary()
82 bool handleUnary<bool>(const AidlConstantValue& context, const string& op, bool val, int64_t* out) { in handleUnary() argument
87 if (op == "~") { in handleUnary()
91 AIDL_FATAL(context) << "Could not handleUnary for " << op << " " << val; in handleUnary()
96 bool handleBinaryCommon(const AidlConstantValue& context, T lval, const string& op, T rval, in handleBinaryCommon() argument
114 AIDL_FATAL(context) << "Could not handleBinaryCommon for " << lval << " " << op << " " << rval; in handleBinaryCommon()
119 bool handleShift(const AidlConstantValue& context, T lval, const string& op, int64_t rval, in handleShift() argument
125 AIDL_FATAL(context) << "Could not handleShift for " << lval << " " << op << " " << rval; in handleShift()
129 bool handleLogical(const AidlConstantValue& context, bool lval, const string& op, bool rval, in handleLogical() argument
134 AIDL_FATAL(context) << "Could not handleLogical for " << lval << " " << op << " " << rval; in handleLogical()
144 bool AidlUnaryConstExpression::IsCompatibleType(Type type, const string& op) { in IsCompatibleType() argument
153 return (op == "+" || op == "-"); in IsCompatibleType()
869 AidlUnaryConstExpression::AidlUnaryConstExpression(const AidlLocation& location, const string& op, in AidlUnaryConstExpression() argument
871 : AidlConstantValue(location, Type::UNARY, op + rval->value_), in AidlUnaryConstExpression()
873 op_(op) { in AidlUnaryConstExpression()
879 const string& op, in AidlBinaryConstExpression() argument
881 : AidlConstantValue(location, Type::BINARY, lval->value_ + op + rval->value_), in AidlBinaryConstExpression()
884 op_(op) { in AidlBinaryConstExpression()