Lines Matching refs:actualValue
35 uint32_t expectedValue, uint32_t* actualValue, int* failX, int* failY) { in check_rect() argument
53 *actualValue = pixel; in check_rect()
92 uint32_t actualValue; in clear_op_test() local
105 if (!check_rect(dContext, rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
106 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
116 if (!check_rect(dContext, rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
117 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
127 if (!check_rect(dContext, rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
128 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
138 if (!check_rect(dContext, rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
139 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
149 if (!check_rect(dContext, rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
150 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
160 if (!check_rect(dContext, rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
161 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
165 dContext, rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
167 dContext, rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
169 dContext, rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
171 dContext, rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
172 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
182 if (!check_rect(dContext, rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
183 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
195 if (!check_rect(dContext, rtContext.get(), mid2Rect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
196 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
200 dContext, rtContext.get(), innerLeftEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
202 dContext, rtContext.get(), innerTopEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
204 dContext, rtContext.get(), innerRightEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test()
206 dContext, rtContext.get(), innerBottomEdge, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
207 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
211 dContext, rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
213 dContext, rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
215 dContext, rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
217 dContext, rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
218 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
229 if (!check_rect(dContext, rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
230 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
234 dContext, rtContext.get(), outerLeftEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
236 dContext, rtContext.get(), outerTopEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
238 dContext, rtContext.get(), outerRightEdge, kColor1, &actualValue, &failX, &failY) || in clear_op_test()
240 dContext, rtContext.get(), outerBottomEdge, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
241 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()