Lines Matching refs:kSize
26 static constexpr int kSize = 256;
28 SkAutoTMalloc<uint32_t> data(kSize * kSize * 3);
30 uint32_t* firstRead = data.get() + kSize * kSize;
31 uint32_t* secondRead = data.get() + 2 * kSize * kSize;
36 for (int y = 0; y < kSize; ++y) {
37 for (int x = 0; x < kSize; ++x) {
38 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize * y + x]);
47 SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType);
50 SkBackingFit::kExact, kSize, kSize, kConfig, nullptr));
52 SkBackingFit::kExact, kSize, kSize, kConfig, nullptr));
62 desc.fWidth = kSize;
63 desc.fHeight = kSize;
74 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize);
120 for (int y = 0; y < kSize; ++y) {
122 if (firstRead[kSize * y + x] != secondRead[kSize * y + x]) {