Lines Matching defs:count
38 unsigned count;
141 unsigned count = cfg->count;
143 if (count > fGlyphs.count() - currentGlyph) {
144 count = fGlyphs.count() - currentGlyph;
146 if (0 == count) {
158 const SkTextBlobBuilder::RunBuffer& buf = builder.allocRun(font, count,
161 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
164 const SkTextBlobBuilder::RunBuffer& buf = builder.allocRunPosH(font, count,
167 for (unsigned i = 0; i < count; ++i) {
171 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
172 memcpy(buf.pos, pos.begin(), count * sizeof(SkScalar));
175 const SkTextBlobBuilder::RunBuffer& buf = builder.allocRunPos(font, count);
178 for (unsigned i = 0; i < count; ++i) {
180 *pos.append() = offset.y() + i * (advanceY / count);
183 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
184 memcpy(buf.pos, pos.begin(), count * sizeof(SkScalar) * 2);
190 currentGlyph += count;