Searched refs:NGLYPHS (Results 1 – 2 of 2) sorted by relevance
/external/skia/bench/ |
D | CmapBench.cpp | 14 NGLYPHS = 100 enumerator 35 uint16_t glyphs[NGLYPHS]; in textToGlyphs_proc() 36 SkASSERT(glyphCount <= NGLYPHS); in textToGlyphs_proc() 46 uint16_t glyphs[NGLYPHS]; in charsToGlyphs_proc() 47 SkASSERT(glyphCount <= NGLYPHS); in charsToGlyphs_proc() 68 char fText[NGLYPHS]; 76 for (int i = 0; i < NGLYPHS; ++i) { in CMAPBench() 89 fProc(loops, fPaint, fText, sizeof(fText), NGLYPHS); in onDraw()
|
/external/skia/tests/ |
D | PaintTest.cpp | 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() [all …]
|