Lines Matching refs:snugRB
934 const size_t snugRB = info.width() * info.bytesPerPixel();
938 buffer->write32(SkToU32(snugRB));
941 const size_t size = snugRB * info.height();
945 memcpy(dst, src, snugRB);
946 dst += snugRB;
963 buffer->writeUInt(0); // instead of snugRB, signaling no pixels
969 buffer->writeUInt(0); // instead of snugRB, signaling no pixels
977 const size_t snugRB = buffer->readUInt();
978 if (0 == snugRB) { // no pixels
998 const uint64_t snugSize = sk_64_mul(snugRB, height);
1010 const unsigned char* srcRow = dst + snugRB * (height - 1);
1013 memmove(dstRow, srcRow, snugRB);
1014 srcRow -= snugRB;