Lines Matching refs:u16Length
330 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
678 u16Length=U16_LENGTH(m->u); in getFromUBytesValue()
680 u16Length=U16_LENGTH(UCM_GET_CODE_POINTS(table, m)[0])+(m->uLen-2); in getFromUBytesValue()
684 if(u16Length>extData->maxInUChars) { in getFromUBytesValue()
685 extData->maxInUChars=u16Length; in getFromUBytesValue()
691 ratio=(m->bLen+(u16Length-1))/u16Length; in getFromUBytesValue()