Lines Matching refs:actualValue
36 uint32_t* actualValue, int* failX, int* failY) { in check_rect() argument
55 *actualValue = pixel; in check_rect()
93 uint32_t actualValue; in clear_op_test() local
106 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
107 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
117 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
118 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
128 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
129 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
139 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
140 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
150 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
151 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
161 if (!check_rect(rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
162 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
165 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
166 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
167 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
168 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
169 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
179 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
180 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
192 if (!check_rect(rtContext.get(), mid2Rect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
193 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
196 if (!check_rect(rtContext.get(), innerLeftEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
197 !check_rect(rtContext.get(), innerTopEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
198 !check_rect(rtContext.get(), innerRightEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
199 !check_rect(rtContext.get(), innerBottomEdge, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
200 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
203 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
204 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
205 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
206 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
207 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
218 if (!check_rect(rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
219 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
222 if (!check_rect(rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
223 !check_rect(rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
224 !check_rect(rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
225 !check_rect(rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
226 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()