Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Duspoof.cpp341 UChar* text16 = stackBuf; in uspoof_checkUTF8() local
344 u_strFromUTF8(text16, USPOOF_STACK_BUFFER_SIZE, &len16, text, length, status); in uspoof_checkUTF8()
349 text16 = static_cast<UChar *>(uprv_malloc(len16 * sizeof(UChar) + 2)); in uspoof_checkUTF8()
350 if (text16 == NULL) { in uspoof_checkUTF8()
355 u_strFromUTF8(text16, len16+1, NULL, text, length, status); in uspoof_checkUTF8()
359 int32_t result = uspoof_check(sc, text16, len16, &position16, status); in uspoof_checkUTF8()
368 u_strToUTF8(NULL, 0, position, text16, position16, status); in uspoof_checkUTF8()
377 if (text16 != stackBuf) { in uspoof_checkUTF8()
378 uprv_free(text16); in uspoof_checkUTF8()
/external/chromium/third_party/icu/source/i18n/
Duspoof.cpp341 UChar* text16 = stackBuf; in uspoof_checkUTF8() local
344 u_strFromUTF8(text16, USPOOF_STACK_BUFFER_SIZE, &len16, text, length, status); in uspoof_checkUTF8()
349 text16 = static_cast<UChar *>(uprv_malloc(len16 * sizeof(UChar) + 2)); in uspoof_checkUTF8()
350 if (text16 == NULL) { in uspoof_checkUTF8()
355 u_strFromUTF8(text16, len16+1, NULL, text, length, status); in uspoof_checkUTF8()
359 int32_t result = uspoof_check(sc, text16, len16, &position16, status); in uspoof_checkUTF8()
368 u_strToUTF8(NULL, 0, position, text16, position16, status); in uspoof_checkUTF8()
377 if (text16 != stackBuf) { in uspoof_checkUTF8()
378 uprv_free(text16); in uspoof_checkUTF8()
/external/skia/src/core/
DSkPaint.cpp371 const uint16_t* text16 = (const uint16_t*)text; in textToGlyphs() local
373 while (text16 < stop16) { in textToGlyphs()
374 *gptr++ = cache->unicharToGlyph(SkUTF16_NextUnichar(&text16)); in textToGlyphs()