Home
last modified time | relevance | path

Searched refs:u16Length (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c330 int32_t u16Length, ratio; in getToUnicodeValue() local
335 u16Length=U16_LENGTH(m->u); in getToUnicodeValue()
343 u_strFromUTF32(NULL, 0, &u16Length, u32, m->uLen, &errorCode); in getToUnicodeValue()
350 (((uint32_t)u16Length+UCNV_EXT_TO_U_LENGTH_OFFSET)<<UCNV_EXT_TO_U_LENGTH_SHIFT)| in getToUnicodeValue()
352 u=utm_allocN(extData->toUUChars, u16Length); in getToUnicodeValue()
356 u_strFromUTF32(u, u16Length, NULL, u32, m->uLen, &errorCode); in getToUnicodeValue()
369 if(u16Length>extData->maxOutUChars) { in getToUnicodeValue()
370 extData->maxOutUChars=u16Length; in getToUnicodeValue()
373 ratio=(u16Length+(m->bLen-1))/m->bLen; in getToUnicodeValue()
636 int32_t u16Length, ratio; in getFromUBytesValue() local
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ducm.c787 int32_t u16Length; in ucm_parseMappingLine() local
830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); in ucm_parseMappingLine()
832 u16Length>UCNV_EXT_MAX_UCHARS in ucm_parseMappingLine()