Home
last modified time | relevance | path

Searched refs:maxBytesPerChar (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterStaticData.java22 byte maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ field in UConverterStaticData
DCharsetICU.java46 int maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ field in CharsetICU
387 …if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.st… in isFixedWidth()
DCharsetUTF16.java69 maxBytesPerChar = 4; in CharsetUTF16()
71 maxBytesPerChar = 2; in CharsetUTF16()
DCharsetDecoderICU.java729 public final float maxBytesPerChar() { in maxBytesPerChar() method in CharsetDecoderICU
730 return ((CharsetICU)(this.charset())).maxBytesPerChar; in maxBytesPerChar()
DCharsetEncoderICU.java95 super(cs, (cs.minBytesPerChar + cs.maxBytesPerChar) / 2, in CharsetEncoderICU()
96 cs.maxBytesPerChar, replacement); in CharsetEncoderICU()
DCharsetUTF32.java55 maxBytesPerChar = 4; in CharsetUTF32()
DUConverterDataReader.java452 sd.maxBytesPerChar = byteBuffer.get(); in readStaticData()
DCharsetASCII.java26 maxBytesPerChar = 1; in CharsetASCII()
DCharsetHZ.java36 maxBytesPerChar = 4; in CharsetHZ()
DCharsetMBCS.java184 maxBytesPerChar = sharedData.staticData.maxBytesPerChar; in CharsetMBCS()
369 … && baseSharedData.staticData.maxBytesPerChar == 2 && mbcsTable.countStates <= 127) { in loadConverter()
912 maxBytesPerChar = 4; /* SO+DBCS+SI*/ in initializeConverter()
922 if (maxBytesPerUChar > maxBytesPerChar) { in initializeConverter()
923 maxBytesPerChar = maxBytesPerUChar; in initializeConverter()
DCharsetUTF8.java32 maxBytesPerChar = 3; in CharsetUTF8()
DCharsetCompoundText.java281 maxBytesPerChar = 6; in CharsetCompoundText()
DCharsetUTF7.java29 maxBytesPerChar=4; /* max 3 bytes per code unit from UTF-7 (base64) */ in CharsetUTF7()
DCharsetISO2022.java119 maxBytesPerChar = 6; in ISO2022InitJP()
145 maxBytesPerChar = 8; in ISO2022InitCN()
162 maxBytesPerChar = 3; in ISO2022InitKR()
DCharsetBOCU1.java224 maxBytesPerChar = 4; in CharsetBOCU1()
DCharsetLMBCS.java546 maxBytesPerChar = ULMBCS_CHARSIZE_MAX; in CharsetLMBCS()
DCharsetSCSU.java188 maxBytesPerChar = 3; in CharsetSCSU()
DCharsetISCII.java761 maxBytesPerChar = 4; in CharsetISCII()
/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.c493 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
530 if(staticData->maxBytesPerChar==0) { in readHeader()
531 staticData->maxBytesPerChar=prototype->maxBytesPerChar; in readHeader()
754 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
/external/icu/icu4c/source/common/
Ducnv_bld.h77 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ member
Ducnv_bld.cpp1055 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
Ducnvmbcs.cpp1688 baseSharedData->staticData->maxBytesPerChar==2 && in ucnv_MBCSLoad()
5706 …redData->staticData->minBytesPerChar==2 && converter->sharedData->staticData->maxBytesPerChar==2) { in ucnv_MBCSGetType()
Ducnv.c461 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
Ducnv2022.cpp666 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; in _ISO2022Open()
/external/protobuf/java/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java326 int maxBytes = (int) (encoder.maxBytesPerChar() * maxChars) + 1;

12