Searched refs:maxCharSize (Results 1 – 3 of 3) sorted by relevance
813 #define UCNV_GET_MAX_BYTES_FOR_STRING(length, maxCharSize) \ argument814 (((int32_t)(length)+10)*(int32_t)(maxCharSize))
948 public static int getMaxBytesForString(int length, int maxCharSize) { in getMaxBytesForString() argument949 return ((length + 10) * maxCharSize); in getMaxBytesForString()
5679 int maxCharSize; in TestBytesLengthForString() local5682 maxCharSize = (int)provider.charsetForName(charsets[i]).newEncoder().maxBytesPerChar(); in TestBytesLengthForString()5683 length = CharsetEncoderICU.getMaxBytesForString(stringLength, maxCharSize); in TestBytesLengthForString()