Searched refs:NativeConverter (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetEncoderICU.java | 22 import libcore.icu.NativeConverter; 70 address = NativeConverter.openConverter(icuCanonicalName); in newInstance() 71 float averageBytesPerChar = NativeConverter.getAveBytesPerChar(address); in newInstance() 72 float maxBytesPerChar = NativeConverter.getMaxBytesPerChar(address); in newInstance() 79 NativeConverter.closeConverter(address); in newInstance() 91 return NativeConverter.getSubstitutionBytes(address); in makeReplacement() 114 NativeConverter.setCallbackEncode(converterHandle, this); in updateCallback() 118 NativeConverter.resetCharToByte(converterHandle); in implReset() 140 … int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, true); in implFlush() 167 … int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, false); in encodeLoop() [all …]
|
D | CharsetDecoderICU.java | 20 import libcore.icu.NativeConverter; 55 address = NativeConverter.openConverter(icuCanonicalName); in newInstance() 56 float averageCharsPerByte = NativeConverter.getAveCharsPerByte(address); in newInstance() 63 NativeConverter.closeConverter(address); in newInstance() 86 NativeConverter.setCallbackDecode(converterHandle, this); in updateCallback() 90 NativeConverter.resetByteToChar(converterHandle); in implReset() 112 … int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, true); in implFlush() 138 … int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, false); in decodeLoop() 160 NativeConverter.closeConverter(converterHandle); in finalize()
|
D | CharsetICU.java | 12 import libcore.icu.NativeConverter; 36 return NativeConverter.contains(this.name(), cs.name()); in contains()
|
D | Charset.java | 33 import libcore.icu.NativeConverter; 224 for (String charsetName : NativeConverter.getAvailableCharsetNames()) { in availableCharsets() 225 Charset charset = NativeConverter.charsetForName(charsetName); in availableCharsets() 296 cs = NativeConverter.charsetForName(charsetName); in forName()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeConverter.cpp | 609 … NATIVE_METHOD(NativeConverter, charsetForName, "(Ljava/lang/String;)Ljava/nio/charset/Charset;"), 610 NATIVE_METHOD(NativeConverter, closeConverter, "(J)V"), 611 NATIVE_METHOD(NativeConverter, contains, "(Ljava/lang/String;Ljava/lang/String;)Z"), 612 NATIVE_METHOD(NativeConverter, decode, "(J[BI[CI[IZ)I"), 613 NATIVE_METHOD(NativeConverter, encode, "(J[CI[BI[IZ)I"), 614 NATIVE_METHOD(NativeConverter, getAvailableCharsetNames, "()[Ljava/lang/String;"), 615 NATIVE_METHOD(NativeConverter, getAveBytesPerChar, "(J)F"), 616 NATIVE_METHOD(NativeConverter, getAveCharsPerByte, "(J)F"), 617 NATIVE_METHOD(NativeConverter, getMaxBytesPerChar, "(J)I"), 618 NATIVE_METHOD(NativeConverter, getMinBytesPerChar, "(J)I"), [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeConverter.java | 17 public final class NativeConverter { class
|