Searched refs:converterHandle (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeConverter.java | 23 public static native int decode(long converterHandle, byte[] input, int inEnd, in decode() argument 26 public static native int encode(long converterHandle, char[] input, int inEnd, in encode() argument 30 public static native void closeConverter(long converterHandle); in closeConverter() argument 32 public static void registerConverter(Object referrent, long converterHandle) { in registerConverter() argument 33 registry.registerNativeAllocation(referrent, converterHandle); in registerConverter() 36 public static native void resetByteToChar(long converterHandle); in resetByteToChar() argument 37 public static native void resetCharToByte(long converterHandle); in resetCharToByte() argument 39 public static native byte[] getSubstitutionBytes(long converterHandle); in getSubstitutionBytes() argument 41 public static native int getMaxBytesPerChar(long converterHandle); in getMaxBytesPerChar() argument 42 public static native int getMinBytesPerChar(long converterHandle); in getMinBytesPerChar() argument [all …]
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetDecoderICU.java | 39 private long converterHandle = 0; field in CharsetDecoderICU 75 this.converterHandle = address; in CharsetDecoderICU() 91 NativeConverter.setCallbackDecode(converterHandle, this); in updateCallback() 95 NativeConverter.resetByteToChar(converterHandle); in implReset() 117 … int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, true); in implFlush() 143 … int error = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, false); in decodeLoop()
|
D | CharsetEncoderICU.java | 54 private final long converterHandle; field in CharsetEncoderICU 103 this.converterHandle = address; in CharsetEncoderICU() 119 NativeConverter.setCallbackEncode(converterHandle, this); in updateCallback() 123 NativeConverter.resetCharToByte(converterHandle); in implReset() 145 … int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, true); in implFlush() 172 … int error = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, false); in encodeLoop()
|