Lines Matching defs:expected
573 ERRORF(reporter, "unpremul(0x%08x)->premul(0x%08x) expected(0x%08x) at %d, %d.",
647 static bool has_pixels(const SkPMColor pixels[], int count, SkPMColor expected) {
649 if (pixels[i] != expected) {
662 const SkPMColor expected = SkPreMultiplyColor(SK_ColorWHITE);
663 const SkPMColor notExpected = ~expected;
686 REPORTER_ASSERT(reporter, has_pixels(pixels, w*h, expected));
692 REPORTER_ASSERT(reporter, has_pixels(pixels, w*h, expected));
697 REPORTER_ASSERT(reporter, pixels[3] == expected);
704 REPORTER_ASSERT(reporter, pixels[0] == expected);
1135 ERRORF(reporter, "This image was expected to %s but did not.",
1145 static const char *const kExpectedState[] = { "not expected", "expected" };
1312 static void check_scaled_pixels(skiatest::Reporter* reporter, SkPixmap* pmap, uint32_t expected) {
1317 if (pixel != expected) {
1319 x, y, pixel, expected);
1327 uint32_t expected) {
1339 check_scaled_pixels(reporter, &scaled, expected);