Home
last modified time | relevance | path

Searched refs:maxCharSize (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Ducnv.h813 #define UCNV_GET_MAX_BYTES_FOR_STRING(length, maxCharSize) \ argument
814 (((int32_t)(length)+10)*(int32_t)(maxCharSize))
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java948 public static int getMaxBytesForString(int length, int maxCharSize) { in getMaxBytesForString() argument
949 return ((length + 10) * maxCharSize); in getMaxBytesForString()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java5679 int maxCharSize; in TestBytesLengthForString() local
5682 maxCharSize = (int)provider.charsetForName(charsets[i]).newEncoder().maxBytesPerChar(); in TestBytesLengthForString()
5683 length = CharsetEncoderICU.getMaxBytesForString(stringLength, maxCharSize); in TestBytesLengthForString()