Lines Matching refs:reason
206 BString reason;
207 if (!IsSame(fDirectBitmap, fBitmapFromPicture, reason)) {
209 message += reason;
213 if (!IsSame(fDirectBitmap, fBitmapFromRestoredPicture, reason)) {
215 message += reason;
263 int32 bpp, BString &reason)
274 reason = "Pixel at ";
275 reason << x << ", " << y << " differs: " << buffer1 << " != " << buffer2;
280 PictureTest::IsSame(BBitmap *bitmap1, BBitmap *bitmap2, BString &reason)
283 reason = "ColorSpace() differs";
288 reason = "BitsLength() differs";
297 reason = "get_pixel_size_for() not supported for this color space";
301 reason = "Unsupported color_space; IsSame(...) supports 1 pixels per chunk only";
315 setMismatchReason(x, y, pixel1, pixel2, bpp, reason);
321 reason = "";