Lines Matching refs:u16Length
332 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()
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
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()