Home | History | Annotate | Download | only in tests

Lines Matching defs:nglyphs

67     static const int NGLYPHS = 64;
69 SkUnichar src[NGLYPHS];
70 SkUnichar dst[NGLYPHS]; // used for utf8, utf16, utf32 storage
88 for (int j = 0; j < NGLYPHS; ++j) {
97 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
99 uint16_t glyphs0[NGLYPHS], glyphs1[NGLYPHS];
102 int nglyphs = paint.textToGlyphs(dst, len, glyphs0);
103 int first = face->charsToGlyphs(dst, paint2encoding(paint), glyphs1, NGLYPHS);
104 int index = find_first_zero(glyphs1, NGLYPHS);
106 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs);
108 REPORTER_ASSERT(reporter, 0 == memcmp(glyphs0, glyphs1, NGLYPHS * sizeof(uint16_t)));
110 REPORTER_ASSERT(reporter, NGLYPHS == first);
112 REPORTER_ASSERT(reporter, NGLYPHS > first);