Searched refs:maxBytesPerChar (Results 1 - 25 of 36) sorted by relevance

12

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DUConverterStaticData.java22 byte maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ field in class:UConverterStaticData
47 maxBytesPerChar = maxBytesPerChar_;
H A DCharsetICU.java79 int maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ field in class:CharsetICU
425 if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.staticData.minBytesPerChar) {
H A DCharsetDecoderICU.java725 * Returns the maxBytesPerChar value for the Charset that created this decoder.
726 * @return maxBytesPerChar
729 public final float maxBytesPerChar() { method in class:CharsetDecoderICU
730 return ((CharsetICU)(this.charset())).maxBytesPerChar;
H A DCharsetUTF16.java66 /* UnicodeBig and UnicodeLittle requires maxBytesPerChar set to 4 in Java 5 or less */
69 maxBytesPerChar = 4;
71 maxBytesPerChar = 2;
H A DCharsetEncoderICU.java95 super(cs, (cs.minBytesPerChar + cs.maxBytesPerChar) / 2,
96 cs.maxBytesPerChar, replacement);
942 * @param maxCharSize Return value from maxBytesPerChar for the converter
H A DCharsetASCII.java26 maxBytesPerChar = 1;
H A DCharsetUTF32.java55 maxBytesPerChar = 4;
H A DUConverterDataReader.java452 sd.maxBytesPerChar = byteBuffer.get();
H A DCharsetHZ.java40 maxBytesPerChar = 4;
H A DCharsetBOCU1.java224 maxBytesPerChar = 4;
H A DCharsetCompoundText.java281 maxBytesPerChar = 6;
H A DCharsetUTF7.java29 maxBytesPerChar=4; /* max 3 bytes per code unit from UTF-7 (base64) */
H A DCharsetUTF8.java32 maxBytesPerChar = 3;
H A DCharsetMBCS.java184 maxBytesPerChar = sharedData.staticData.maxBytesPerChar;
369 && baseSharedData.staticData.maxBytesPerChar == 2 && mbcsTable.countStates <= 127) {
912 maxBytesPerChar = 4; /* SO+DBCS+SI*/
922 if (maxBytesPerUChar > maxBytesPerChar) {
923 maxBytesPerChar = maxBytesPerUChar;
H A DCharsetISO2022.java119 maxBytesPerChar = 6;
145 maxBytesPerChar = 8;
162 maxBytesPerChar = 3;
H A DCharsetLMBCS.java546 maxBytesPerChar = ULMBCS_CHARSIZE_MAX;
H A DCharsetSCSU.java188 maxBytesPerChar = 3;
H A DCharsetISCII.java761 maxBytesPerChar = 4;
/external/icu/icu4c/source/common/
H A Ducnv_bld.h77 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ member in struct:UConverterStaticData
H A Ducnv_bld.cpp1001 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar;
H A Ducnv.c451 if ((len > converter->sharedData->staticData->maxBytesPerChar)
H A Ducnvmbcs.cpp1688 baseSharedData->staticData->maxBytesPerChar==2 &&
5706 } else if(converter->sharedData->staticData->minBytesPerChar==2 && converter->sharedData->staticData->maxBytesPerChar==2) {
H A Ducnv2022.cpp666 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar;
/external/icu/icu4c/source/tools/makeconv/
H A Dmakeconv.cpp485 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength;
522 if(staticData->maxBytesPerChar==0) {
523 staticData->maxBytesPerChar=prototype->maxBytesPerChar;
746 staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength);
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DIsValidUtf8TestUtil.java326 int maxBytes = (int) (encoder.maxBytesPerChar() * maxChars) + 1;

Completed in 966 milliseconds

12