Home
last modified time | relevance | path

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

/external/apache-harmony/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
DCharsetEncoderTest.java74 float averageBytesPerChar, float maxBytesPerChar) { in MockCharsetEncoderForHarmony141() argument
75 super(cs, averageBytesPerChar, maxBytesPerChar); in MockCharsetEncoderForHarmony141()
79 float averageBytesPerChar, float maxBytesPerChar, in MockCharsetEncoderForHarmony141() argument
81 super(cs, averageBytesPerChar, maxBytesPerChar, replacement); in MockCharsetEncoderForHarmony141()
DCharsetDecoderTest.java57 float averageBytesPerChar, float maxBytesPerChar) { in MockCharsetDecoderForHarmony142() argument
58 super(cs, averageBytesPerChar, maxBytesPerChar); in MockCharsetDecoderForHarmony142()
DASCIICharsetEncoderTest.java73 assertEquals(1.0, encoder.maxBytesPerChar(), 0.0); in testSpecificDefaultValue()
/external/icu4c/tools/makeconv/
Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
532 if(staticData->maxBytesPerChar==0) { in readHeader()
533 staticData->maxBytesPerChar=prototype->maxBytesPerChar; in readHeader()
756 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
DGBCharsetEncoderTest.java71 assertEquals(4.0, encoder.maxBytesPerChar(), 0.0); in testSpecificDefaultValue()
DUTFCharsetEncoderTest.java81 assertEquals(4, encoder.maxBytesPerChar(), 0); in testSpecificDefaultValue()
DUTF16BECharsetEncoderTest.java91 assertEquals(2, encoder.maxBytesPerChar(), 0.001); in testSpecificDefaultValue()
DUTF16LECharsetEncoderTest.java91 assertEquals(2, encoder.maxBytesPerChar(), 0.001); in testSpecificDefaultValue()
DUTF16CharsetEncoderTest.java97 assertEquals(encoder.maxBytesPerChar(), 2, 0.001); in testSpecificDefaultValue()
DISOCharsetEncoderTest.java73 assertEquals(1, encoder.maxBytesPerChar(), 0.001); in testSpecificDefaultValue()
DCharsetEncoderTest.java86 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES); in testSpecificDefaultValue()
113 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES); in testCharsetEncoderCharsetfloatfloat()
127 assertTrue(ec.maxBytesPerChar() == MAX_BYTES); in testCharsetEncoderCharsetfloatfloat()
183 assertTrue(ec.maxBytesPerChar() == MAX_BYTES); in testCharsetEncoderCharsetfloatfloatbyteArray()
/external/icu4c/common/
Ducnv_bld.h77 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */ member
Ducnv_bld.cpp1016 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
Ducnvmbcs.c1551 baseSharedData->staticData->maxBytesPerChar==2 && in ucnv_MBCSLoad()
5573 …redData->staticData->minBytesPerChar==2 && converter->sharedData->staticData->maxBytesPerChar==2) { in ucnv_MBCSGetType()
Ducnv.c453 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
Ducnv2022.cpp626 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; in _ISO2022Open()