Lines Matching refs:EXP
62 #define COMPARE(ASM, EXP) \ argument
74 if (strcmp(disasm.GetOutput(), EXP) != 0) { \
77 EXP, \
84 #define COMPARE_PREFIX(ASM, EXP) \ argument
96 if (strncmp(disasm.GetOutput(), EXP, strlen(EXP)) != 0) { \
99 EXP, \
106 #define COMPARE_MACRO_BASE(ASM, EXP) \ argument
124 #define COMPARE_MACRO(ASM, EXP) \ argument
126 COMPARE_MACRO_BASE(ASM, EXP) \
127 if (strcmp(res.c_str(), EXP) != 0) { \
128 printf("Expected: %s\nFound: %s\n", EXP, res.c_str()); \
134 #define COMPARE_MACRO_PREFIX(ASM, EXP) \ argument
136 COMPARE_MACRO_BASE(ASM, EXP) \
137 if (strncmp(res.c_str(), EXP, strlen(EXP)) != 0) { \
138 printf("Expected (prefix): %s\nFound: %s\n", EXP, res.c_str()); \