Searched refs:maxCharSize (Results 1 – 4 of 4) sorted by relevance
814 #define UCNV_GET_MAX_BYTES_FOR_STRING(length, maxCharSize) \ argument815 (((int32_t)(length)+10)*(int32_t)(maxCharSize))
957 public static int getMaxBytesForString(int length, int maxCharSize) { in getMaxBytesForString() argument958 return ((length + 10) * maxCharSize); in getMaxBytesForString()
5726 int maxCharSize; in TestBytesLengthForString() local5729 maxCharSize = (int)provider.charsetForName(charsets[i]).newEncoder().maxBytesPerChar(); in TestBytesLengthForString()5730 length = CharsetEncoderICU.getMaxBytesForString(stringLength, maxCharSize); in TestBytesLengthForString()