Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_const_expressions.cpp39 #define OPEQ(__y__) (string(op_) == string(__y__)) macro
50 #define OP_IS_BIN_ARITHMETIC (OPEQ("+") || OPEQ("-") || OPEQ("*") || OPEQ("/") || OPEQ("%"))
51 #define OP_IS_BIN_BITFLIP (OPEQ("|") || OPEQ("^") || OPEQ("&"))
53 (OPEQ("<") || OPEQ(">") || OPEQ("<=") || OPEQ(">=") || OPEQ("==") || OPEQ("!="))
54 #define OP_IS_BIN_SHIFT (OPEQ(">>") || OPEQ("<<"))
55 #define OP_IS_BIN_LOGICAL (OPEQ("||") || OPEQ("&&"))
740 if (!OPEQ("+")) { in evaluate()
803 newOp = OPEQ("<<") ? ">>" : "<<"; in evaluate()
/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()