Home
last modified time | relevance | path

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

/system/tools/hidl/
DConstantExpression.cpp33 #define OPEQ(__y__) (std::string(mOp) == std::string(__y__)) macro
36 #define OP_IS_BIN_ARITHMETIC (OPEQ("+") || OPEQ("-") || OPEQ("*") || OPEQ("/") || OPEQ("%"))
37 #define OP_IS_BIN_BITFLIP (OPEQ("|") || OPEQ("^") || OPEQ("&"))
38 #define OP_IS_BIN_COMP (OPEQ("<") || OPEQ(">") || OPEQ("<=") || OPEQ(">=") || OPEQ("==") ||
39 #define OP_IS_BIN_SHIFT (OPEQ(">>") || OPEQ("<<"))
40 #define OP_IS_BIN_LOGICAL (OPEQ("||") || OPEQ("&&"))
309 newOp = OPEQ("<<") ? std::string(">>") : std::string("<<"); in evaluate()
/system/tools/aidl/
Daidl_const_expressions.cpp145 #define OPEQ(__y__) (string(op_) == string(__y__)) macro
158 #define OP_IS_BIN_ARITHMETIC (OPEQ("+") || OPEQ("-") || OPEQ("*") || OPEQ("/") || OPEQ("%"))
159 #define OP_IS_BIN_BITFLIP (OPEQ("|") || OPEQ("^") || OPEQ("&"))
161 (OPEQ("<") || OPEQ(">") || OPEQ("<=") || OPEQ(">=") || OPEQ("==") || OPEQ("!="))
162 #define OP_IS_BIN_SHIFT (OPEQ(">>") || OPEQ("<<"))
163 #define OP_IS_BIN_LOGICAL (OPEQ("||") || OPEQ("&&"))
927 if (!OPEQ("+")) { in evaluate()
985 newOp = OPEQ("<<") ? ">>" : "<<"; in evaluate()