Searched refs:NGLYPHS (Results 1 – 4 of 4) sorted by relevance
/external/skia/bench/ |
D | CmapBench.cpp | 14 NGLYPHS = 100 enumerator 22 uint16_t glyphs[NGLYPHS]; in textToGlyphs_proc() 23 SkASSERT(glyphCount <= NGLYPHS); in textToGlyphs_proc() 26 font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs, NGLYPHS); in textToGlyphs_proc() 32 uint16_t glyphs[NGLYPHS]; in charsToGlyphs_proc() 33 SkASSERT(glyphCount <= NGLYPHS); in charsToGlyphs_proc() 52 char fText[NGLYPHS]; 60 for (int i = 0; i < NGLYPHS; ++i) { in CMAPBench() 73 fProc(loops, fFont, fText, sizeof(fText), NGLYPHS); in onDraw()
|
/external/skqp/bench/ |
D | CmapBench.cpp | 14 NGLYPHS = 100 enumerator 22 uint16_t glyphs[NGLYPHS]; in textToGlyphs_proc() 23 SkASSERT(glyphCount <= NGLYPHS); in textToGlyphs_proc() 26 font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs, NGLYPHS); in textToGlyphs_proc() 32 uint16_t glyphs[NGLYPHS]; in charsToGlyphs_proc() 33 SkASSERT(glyphCount <= NGLYPHS); in charsToGlyphs_proc() 52 char fText[NGLYPHS]; 60 for (int i = 0; i < NGLYPHS; ++i) { in CMAPBench() 73 fProc(loops, fFont, fText, sizeof(fText), NGLYPHS); in onDraw()
|
/external/skia/tests/ |
D | PaintTest.cpp | 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() [all …]
|
/external/skqp/tests/ |
D | PaintTest.cpp | 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() [all …]
|