/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 88 private final float maxBytesPerChar; 106 protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar) { 107 this(cs, averageBytesPerChar, maxBytesPerChar, new byte[] { (byte) '?' }); 120 * @param maxBytesPerChar 125 * length cannot be larger than <code>maxBytesPerChar</code>, 131 protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement) { 132 this(cs, averageBytesPerChar, maxBytesPerChar, replacement, false); 135 CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, boolean trusted) { 136 if (averageBytesPerChar <= 0 || maxBytesPerChar <= 0) { 137 throw new IllegalArgumentException("averageBytesPerChar and maxBytesPerChar must both be positive") [all...] |
CharsetEncoderICU.java | 72 float maxBytesPerChar = NativeConverter.getMaxBytesPerChar(address); 74 CharsetEncoderICU result = new CharsetEncoderICU(cs, averageBytesPerChar, maxBytesPerChar, replacement, address); 94 private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, long address) { 95 super(cs, averageBytesPerChar, maxBytesPerChar, replacement, true);
|
/external/apache-harmony/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
CharsetEncoderTest.java | 74 float averageBytesPerChar, float maxBytesPerChar) { 75 super(cs, averageBytesPerChar, maxBytesPerChar); 79 float averageBytesPerChar, float maxBytesPerChar, 81 super(cs, averageBytesPerChar, maxBytesPerChar, replacement);
|
CharsetDecoderTest.java | 57 float averageBytesPerChar, float maxBytesPerChar) { 58 super(cs, averageBytesPerChar, maxBytesPerChar);
|
ASCIICharsetEncoderTest.java | 73 assertEquals(1.0, encoder.maxBytesPerChar(), 0.0);
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
GBCharsetEncoderTest.java | 71 assertEquals(4.0, encoder.maxBytesPerChar(), 0.0); 75 // assertTrue(encoder.maxBytesPerChar() == 2);
|
UTF16BECharsetEncoderTest.java | 91 assertEquals(2, encoder.maxBytesPerChar(), 0.001);
|
UTF16LECharsetEncoderTest.java | 91 assertEquals(2, encoder.maxBytesPerChar(), 0.001);
|
UTFCharsetEncoderTest.java | 81 assertEquals(4, encoder.maxBytesPerChar(), 0); 82 // assertEquals(3, encoder.maxBytesPerChar(), 0);
|
ISOCharsetEncoderTest.java | 73 assertEquals(1, encoder.maxBytesPerChar(), 0.001);
|
UTF16CharsetEncoderTest.java | 95 // assertEquals(4, encoder.maxBytesPerChar()); 97 assertEquals(encoder.maxBytesPerChar(), 2, 0.001);
|
CharsetEncoderTest.java | 86 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES); 113 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES); 127 assertTrue(ec.maxBytesPerChar() == MAX_BYTES); 146 // assertTrue(ec.maxBytesPerChar() == 1); 183 assertTrue(ec.maxBytesPerChar() == MAX_BYTES); 221 // assertTrue(ec.maxBytesPerChar() == ba.length); [all...] |
/external/icu4c/common/ |
ucnv_bld.h | 77 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */
|
ucnv_bld.cpp | 1016 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar [all...] |
ucnv.c | 453 if ((len > converter->sharedData->staticData->maxBytesPerChar) [all...] |
ucnvmbcs.c | [all...] |
ucnv2022.cpp | 626 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; [all...] |
/external/icu4c/tools/makeconv/ |
makeconv.c | 495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 532 if(staticData->maxBytesPerChar==0) { 533 staticData->maxBytesPerChar=prototype->maxBytesPerChar; 756 staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength);
|
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |