HomeSort by relevance Sort by last modified time
    Searched defs:NativeConverter (Results 1 - 3 of 3) sorted by null

  /libcore/luni/src/main/java/libcore/icu/
NativeConverter.java 19 public final class NativeConverter {
21 NativeConverter.class.getClassLoader(), getNativeFinalizer(), getNativeSize());
51 // Translates from Java's enum to the magic numbers #defined in "NativeConverter.cpp".
  /libcore/luni/src/main/java/java/nio/charset/
CharsetDecoderICU.java 20 import libcore.icu.NativeConverter;
55 address = NativeConverter.openConverter(icuCanonicalName);
56 float averageCharsPerByte = NativeConverter.getAveCharsPerByte(address);
63 NativeConverter.closeConverter(address);
71 NativeConverter.registerConverter(this, converterHandle);
87 NativeConverter.setCallbackDecode(converterHandle, this);
91 NativeConverter.resetByteToChar(converterHandle);
113 int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, true);
139 int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, false);
CharsetEncoderICU.java 22 import libcore.icu.NativeConverter;
71 address = NativeConverter.openConverter(icuCanonicalName);
72 float averageBytesPerChar = NativeConverter.getAveBytesPerChar(address);
73 float maxBytesPerChar = NativeConverter.getMaxBytesPerChar(address);
80 NativeConverter.closeConverter(address);
92 return NativeConverter.getSubstitutionBytes(address);
99 NativeConverter.registerConverter(this, converterHandle);
116 NativeConverter.setCallbackEncode(converterHandle, this);
120 NativeConverter.resetCharToByte(converterHandle);
142 int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, true)
    [all...]

Completed in 52 milliseconds