Lines Matching refs:flagCount
47 int flagCount = buffer.readInt();
50 if (flagCount) {
51 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount);
52 lattice->fColors = buffer.skipT<SkColor>(flagCount);
59 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0;
62 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) +
63 SkAlign4(flagCount * sizeof(SkColor)) +
72 writer.write32(flagCount);
73 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t));
74 writer.write(lattice.fColors, flagCount * sizeof(SkColor));