Home
last modified time | relevance | path

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

/external/skia/tests/
DUnicodeTest.cpp46 uint16_t text16[sizeof(text8)]; in test_textencodings() local
54 text32[i] = text16[i] = text8[i]; in test_textencodings()
67 int count16 = paint.textToGlyphs(text16, len16, glyphs16); in test_textencodings()
/external/regex-re2/
Ducs2.diff424 - // to being a pointer into text16 (equivalent text but in UCS-2).
425 - static void AdjustUTF8ToUCS2(const StringPiece& text8, const StringPiece& text16,
439 - spbegin = text16.begin() + sizeof(uint16)*nrune;
441 - spend = text16.begin() + sizeof(uint16)*nrune;
457 - // Rewrites *sp from begin a pointer into text16 (UCS-2)
459 - static void AdjustUCS2ToUTF8(const StringPiece& text16, const StringPiece& text8,
472 - if (nrune == (sp->begin() - text16.begin())/2)
474 - if (nrune == (sp->end() - text16.begin())/2)
484 - << CEscape(text16) << " "
485 - << (int)(sp->begin() - text16.begin()) << " "
[all …]
/external/skia/src/core/
DSkPaint.cpp445 const uint16_t* text16 = (const uint16_t*)text; in textToGlyphs() local
447 while (text16 < stop16) { in textToGlyphs()
448 *gptr++ = cache->unicharToGlyph(SkUTF16_NextUnichar(&text16)); in textToGlyphs()