Lines Matching defs:width
71 size_t rowLen = bm.info().bytesPerPixel() * bm.width();
157 SkIRect subset = SkIRect::MakeLTRB(0, y, info.width(),
353 if (supports_partial_scanlines(path) && info.width() >= 3) {
355 int width = info.width();
357 SkIRect subset = SkIRect::MakeXYWH(2 * (width / 3), 0, width / 3, height);
384 if (size.width() * size.height() == 1) {
393 subset = generate_random_subset(&rand, size.width(), size.height());
648 size_t rowBytes = scaledDims.width() * sizeof(SkPMColor);
713 test_invalid(r, "empty_images/zero-width.bmp");
715 test_invalid(r, "empty_images/zero-width.jpg");
717 test_invalid(r, "empty_images/zero-width.png");
719 test_invalid(r, "empty_images/zero-width.wbmp");
1001 REPORTER_ASSERT(r, codec->getInfo().width() == 65535);
1005 // has bigger width/height) is also too big.
1029 const int width = codec->getInfo().width();
1031 size_t rowBytes = sizeof(SkPMColor) * width;
1037 auto sampledInfo = codec->getInfo().makeWH(width / 12, height / 12);
1070 const int subsetWidth = codec->getInfo().width() / 2;
1488 - width = 32
1495 - width = 6
1506 - width = 255
1517 - width = 52479
1529 On LZW literal width (also known as Minimum Code Size) INVALIDITY,
1535 enforce this "at least 2" constraint. Nonetheless, any width greater than 8 is
1665 - width = 32
1716 REPORTER_ASSERT(r, image->width() == 32);
1730 for (int i = 0; i < image->width(); ++i)
1806 const int kWidth = image->width();