HomeSort by relevance Sort by last modified time
    Searched refs:maxBytesPerChar (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterStaticData.java 24 byte maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */
49 maxBytesPerChar = maxBytesPerChar_;
CharsetICU.java 81 int maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */
428 if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.staticData.minBytesPerChar) {
CharsetDecoderICU.java 733 * Returns the maxBytesPerChar value for the Charset that created this decoder.
734 * @return maxBytesPerChar
737 public final float maxBytesPerChar() {
738 return ((CharsetICU)(this.charset())).maxBytesPerChar;
CharsetUTF16.java 68 /* UnicodeBig and UnicodeLittle requires maxBytesPerChar set to 4 in Java 5 or less */
71 maxBytesPerChar = 4;
73 maxBytesPerChar = 2;
CharsetEncoderICU.java 98 super(cs, (cs.minBytesPerChar + cs.maxBytesPerChar) / 2,
99 cs.maxBytesPerChar, replacement);
    [all...]
CharsetUTF32.java 57 maxBytesPerChar = 4;
UConverterDataReader.java 455 sd.maxBytesPerChar = byteBuffer.get();
CharsetASCII.java 28 maxBytesPerChar = 1;
CharsetHZ.java 42 maxBytesPerChar = 4;
  /libcore/ojluni/src/main/java/java/nio/charset/
CharsetEncoder.java 142 private final float maxBytesPerChar;
174 * @param maxBytesPerChar
180 * non-zero length, must not be longer than maxBytesPerChar,
189 float maxBytesPerChar,
193 this(cs, averageBytesPerChar, maxBytesPerChar, replacement, false);
201 CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement,
209 if (maxBytesPerChar <= 0.0f)
211 + "maxBytesPerChar");
213 if (averageBytesPerChar > maxBytesPerChar)
216 + "maxBytesPerChar");
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetEncoder2Test.java 74 float averageBytesPerChar, float maxBytesPerChar) {
75 super(cs, averageBytesPerChar, maxBytesPerChar);
79 float averageBytesPerChar, float maxBytesPerChar,
81 super(cs, averageBytesPerChar, maxBytesPerChar, replacement);
GBCharsetEncoderTest.java 69 assertEquals(4.0, encoder.maxBytesPerChar(), 0.0);
UTFCharsetEncoderTest.java 75 assertEquals(3, encoder.maxBytesPerChar(), 0);
ISOCharsetEncoderTest.java 64 assertEquals(1, encoder.maxBytesPerChar(), 0.001);
UTF16BECharsetEncoderTest.java 86 assertEquals(2, encoder.maxBytesPerChar(), 0.001);
UTF16CharsetEncoderTest.java 89 // assertEquals(4, encoder.maxBytesPerChar());
91 assertEquals(encoder.maxBytesPerChar(), 2, 0.001);
UTF16LECharsetEncoderTest.java 86 assertEquals(2, encoder.maxBytesPerChar(), 0.001);
CharsetDecoder2Test.java 57 float averageBytesPerChar, float maxBytesPerChar) {
58 super(cs, averageBytesPerChar, maxBytesPerChar);
CharsetEncoderTest.java 86 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES);
110 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES);
124 assertTrue(ec.maxBytesPerChar() == MAX_BYTES);
143 // assertTrue(ec.maxBytesPerChar() == 1);
180 assertTrue(ec.maxBytesPerChar() == MAX_BYTES);
218 // assertTrue(ec.maxBytesPerChar() == ba.length);
    [all...]
  /libcore/luni/src/main/java/java/nio/charset/
CharsetEncoderICU.java 75 float maxBytesPerChar = NativeConverter.getMaxBytesPerChar(address);
77 result = new CharsetEncoderICU(cs, averageBytesPerChar, maxBytesPerChar, replacement, address);
100 private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, long address) {
101 super(cs, averageBytesPerChar, maxBytesPerChar, replacement, true);
  /external/icu/icu4c/source/common/
ucnv_bld.h 79 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */
  /external/icu/icu4c/source/tools/makeconv/
makeconv.cpp 487 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength;
524 if(staticData->maxBytesPerChar==0) {
525 staticData->maxBytesPerChar=prototype->maxBytesPerChar;
748 staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength);
  /libcore/ojluni/src/main/java/java/util/zip/
ZipCoder.java 79 int len = (int)(ca.length * ce.maxBytesPerChar());
  /libcore/luni/src/main/java/libcore/net/
UriCodec.java 211 cBuffer.remaining() * (int) Math.ceil(encoder.maxBytesPerChar()));
  /external/flatbuffers/java/com/google/flatbuffers/
FlatBufferBuilder.java 491 int estimatedDstCapacity = (int) (length * encoder.maxBytesPerChar());
    [all...]

Completed in 283 milliseconds

1 2 3 4