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 17 public final class NativeConverter {
44 // 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);
86 NativeConverter.setCallbackDecode(converterHandle, this);
90 NativeConverter.resetByteToChar(converterHandle);
112 int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, true);
138 int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, false);
160 NativeConverter.closeConverter(converterHandle);
CharsetEncoderICU.java 22 import libcore.icu.NativeConverter;
70 address = NativeConverter.openConverter(icuCanonicalName);
71 float averageBytesPerChar = NativeConverter.getAveBytesPerChar(address);
72 float maxBytesPerChar = NativeConverter.getMaxBytesPerChar(address);
79 NativeConverter.closeConverter(address);
91 return NativeConverter.getSubstitutionBytes(address);
114 NativeConverter.setCallbackEncode(converterHandle, this);
118 NativeConverter.resetCharToByte(converterHandle);
140 int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, true);
167 int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, false)
    [all...]

Completed in 489 milliseconds