Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c332 int32_t u16Length, ratio; in getToUnicodeValue() local
337 u16Length=U16_LENGTH(m->u); in getToUnicodeValue()
345 u_strFromUTF32(NULL, 0, &u16Length, u32, m->uLen, &errorCode); in getToUnicodeValue()
352 (((uint32_t)u16Length+UCNV_EXT_TO_U_LENGTH_OFFSET)<<UCNV_EXT_TO_U_LENGTH_SHIFT)| in getToUnicodeValue()
354 u=utm_allocN(extData->toUUChars, u16Length); in getToUnicodeValue()
358 u_strFromUTF32(u, u16Length, NULL, u32, m->uLen, &errorCode); in getToUnicodeValue()
371 if(u16Length>extData->maxOutUChars) { in getToUnicodeValue()
372 extData->maxOutUChars=u16Length; in getToUnicodeValue()
375 ratio=(u16Length+(m->bLen-1))/m->bLen; in getToUnicodeValue()
638 int32_t u16Length, ratio; in getFromUBytesValue() local
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ducm.cpp792 int32_t u16Length; in ucm_parseMappingLine() local
835 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); in ucm_parseMappingLine()
837 u16Length>UCNV_EXT_MAX_UCHARS in ucm_parseMappingLine()