Home
last modified time | relevance | path

Searched refs:codepointCount (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/tests/
DTypefaceTest.cpp336 size_t const codepointCount = SkUTF::CountUTF8(text, textLen); in DEF_TEST() local
338 std::unique_ptr<SkUnichar[]> originalCodepoints(new SkUnichar[codepointCount]); in DEF_TEST()
339 for (size_t i = 0; i < codepointCount; ++i) { in DEF_TEST()
342 std::unique_ptr<SkGlyphID[]> glyphs(new SkGlyphID[codepointCount]); in DEF_TEST()
343 font.unicharsToGlyphs(originalCodepoints.get(), codepointCount, glyphs.get()); in DEF_TEST()
345 std::unique_ptr<SkUnichar[]> newCodepoints(new SkUnichar[codepointCount]); in DEF_TEST()
346 SkFontPriv::GlyphsToUnichars(font, glyphs.get(), codepointCount, newCodepoints.get()); in DEF_TEST()
350 for (size_t i = 0; i < codepointCount; ++i) { in DEF_TEST()
/third_party/skia/tests/
DTypefaceTest.cpp535 size_t const codepointCount = SkUTF::CountUTF8(text, textLen); in DEF_TEST() local
537 std::unique_ptr<SkUnichar[]> originalCodepoints(new SkUnichar[codepointCount]); in DEF_TEST()
538 for (size_t i = 0; i < codepointCount; ++i) { in DEF_TEST()
541 std::unique_ptr<SkGlyphID[]> glyphs(new SkGlyphID[codepointCount]); in DEF_TEST()
542 font.unicharsToGlyphs(originalCodepoints.get(), codepointCount, glyphs.get()); in DEF_TEST()
544 std::unique_ptr<SkUnichar[]> newCodepoints(new SkUnichar[codepointCount]); in DEF_TEST()
545 SkFontPriv::GlyphsToUnichars(font, glyphs.get(), codepointCount, newCodepoints.get()); in DEF_TEST()
549 for (size_t i = 0; i < codepointCount; ++i) { in DEF_TEST()
/third_party/icu/icu4c/source/test/cintltst/
Dnucnvtst.c5113 int codepointCount = 0; in TestLMBCS() local
5140 if ((pSource - (const char *)pszLMBCS) == offsets [codepointCount+1]) in TestLMBCS()
5144 if (Out[0] != pszUnicode[codepointCount]){ in TestLMBCS()
5146 Out[0], pszUnicode[codepointCount]); in TestLMBCS()
5150 codepointCount++; in TestLMBCS()