Home
last modified time | relevance | path

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

/system/tools/hidl/
DConstantExpression.cpp31 #define OPEQ(__y__) STREQ(op, __y__) macro
32 #define COMPUTE_UNARY(__op__) if(OPEQ(#__op__)) return __op__ val;
33 #define COMPUTE_BINARY(__op__) if(OPEQ(#__op__)) return lval __op__ rval;
34 #define OP_IS_BIN_ARITHMETIC (OPEQ("+") || OPEQ("-") || OPEQ("*") || OPEQ("/") || OPEQ("%"))
35 #define OP_IS_BIN_BITFLIP (OPEQ("|") || OPEQ("^") || OPEQ("&"))
36 #define OP_IS_BIN_COMP (OPEQ("<") || OPEQ(">") || OPEQ("<=") || OPEQ(">=") || OPEQ("==") ||
37 #define OP_IS_BIN_SHIFT (OPEQ(">>") || OPEQ("<<"))
38 #define OP_IS_BIN_LOGICAL (OPEQ("||") || OPEQ("&&"))
294 op = OPEQ("<<") ? ">>" : "<<"; in ConstantExpression()