Lines Matching refs:expected
46 const char* expected_source, int expected, in CheckEqualsHelper() argument
48 if (expected != value) { in CheckEqualsHelper()
51 expected_source, value_source, expected, value); in CheckEqualsHelper()
60 int64_t expected, in CheckEqualsHelper() argument
63 if (expected != value) { in CheckEqualsHelper()
70 static_cast<uint32_t>(expected >> 32), in CheckEqualsHelper()
71 static_cast<uint32_t>(expected), in CheckEqualsHelper()
98 const char* expected, in CheckEqualsHelper() argument
101 if ((expected == NULL && value != NULL) || in CheckEqualsHelper()
102 (expected != NULL && value == NULL) || in CheckEqualsHelper()
103 (expected != NULL && value != NULL && strcmp(expected, value) != 0)) { in CheckEqualsHelper()
106 expected_source, value_source, expected, value); in CheckEqualsHelper()
114 const char* expected, in CheckNonEqualsHelper() argument
117 if (expected == value || in CheckNonEqualsHelper()
118 (expected != NULL && value != NULL && strcmp(expected, value) == 0)) { in CheckNonEqualsHelper()
130 const void* expected, in CheckEqualsHelper() argument
133 if (expected != value) { in CheckEqualsHelper()
137 expected, value); in CheckEqualsHelper()
145 const void* expected, in CheckNonEqualsHelper() argument
148 if (expected == value) { in CheckNonEqualsHelper()
158 int64_t expected, in CheckNonEqualsHelper() argument
161 if (expected == value) { in CheckNonEqualsHelper()
164 expected_source, value_source, expected, value); in CheckNonEqualsHelper()
169 #define CHECK_EQ(expected, value) CheckEqualsHelper(__FILE__, __LINE__, \ argument
170 #expected, expected, #value, value)