Home
last modified time | relevance | path

Searched refs:char1 (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoder2Test.java160 CharBuffer char1 = CharBuffer.wrap("\ud800"); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB() local
166 CoderResult result = encoder.encode(char1, bytes, false); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
/libcore/ojluni/src/main/java/java/nio/
DBits.java96 private static byte char1(char x) { return (byte)(x >> 8); } in char1() method in Bits
101 bb._put(bi + 1, char1(x)); in putCharL()
106 _put(a + 1, char1(x)); in putCharL()
110 bb._put(bi , char1(x)); in putCharB()
115 _put(a , char1(x)); in putCharB()