Lines Matching refs:EXP
63 #define COMPARE(ASM, EXP) \
75 if (strcmp(disasm.GetOutput(), EXP) != 0) { \
78 EXP, \
85 #define COMPARE_PREFIX(ASM, EXP) \
97 if (strncmp(disasm.GetOutput(), EXP, strlen(EXP)) != 0) { \
100 EXP, \
107 #define COMPARE_MACRO_BASE(ASM, EXP) \
125 #define COMPARE_MACRO(ASM, EXP) \
127 COMPARE_MACRO_BASE(ASM, EXP) \
128 if (strcmp(res.c_str(), EXP) != 0) { \
129 printf("Expected: %s\nFound: %s\n", EXP, res.c_str()); \
135 #define COMPARE_MACRO_PREFIX(ASM, EXP) \
137 COMPARE_MACRO_BASE(ASM, EXP) \
138 if (strncmp(res.c_str(), EXP, strlen(EXP)) != 0) { \
139 printf("Expected (prefix): %s\nFound: %s\n", EXP, res.c_str()); \