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