Lines Matching defs:count
36 int count = font.textToGlyphs("Hello", 5, SkTextEncoding::kUTF8, glyphs, 2);
37 REPORTER_ASSERT(reporter, 5 == count);
41 SK_ARRAY_COUNT(glyphs)) == count);
43 for (int i = 0; i < count; ++i) {
86 int count = fm->countFamilies();
88 for (int i = 0; i < count; ++i) {
94 REPORTER_ASSERT(reporter, fnset->count() == set->count());
100 for (int j = 0; j < set->count(); ++j) {
145 void onCharsToGlyphs(const SkUnichar* chars, int count, SkGlyphID glyphs[]) const override {
146 sk_bzero(glyphs, count * sizeof(glyphs[0]));
184 int count() override { return static_cast<int>(fStyles.size()); }
191 if (index < 0 || this->count() <= index) {