Lines Matching refs:NGLYPHS
64 static const int NGLYPHS = 64; in DEF_TEST() local
66 SkUnichar src[NGLYPHS]; in DEF_TEST()
67 SkUnichar dst[NGLYPHS]; // used for utf8, utf16, utf32 storage in DEF_TEST()
85 for (int j = 0; j < NGLYPHS; ++j) { in DEF_TEST()
92 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS); in DEF_TEST()
94 uint16_t glyphs0[NGLYPHS], glyphs1[NGLYPHS]; in DEF_TEST()
96 int nglyphs = font.textToGlyphs(dst, len, gRec[k].fEncoding, glyphs0, NGLYPHS); in DEF_TEST()
98 glyphs1, NGLYPHS); in DEF_TEST()
99 int index = find_first_zero(glyphs1, NGLYPHS); in DEF_TEST()
101 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs); in DEF_TEST()
103 REPORTER_ASSERT(reporter, 0 == memcmp(glyphs0, glyphs1, NGLYPHS * sizeof(uint16_t))); in DEF_TEST()