Searched refs:getChar (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/nio/
H A DBaseByteBuffer.java60 public char getChar() { method in class:BaseByteBuffer
65 public char getChar(int index) { method in class:BaseByteBuffer
H A DMappedByteBufferAdapter.java150 public char getChar() { method in class:MappedByteBufferAdapter
152 char result = wrapped.getChar();
158 public char getChar(int index) { method in class:MappedByteBufferAdapter
159 return wrapped.getChar(index);
H A DCharToByteBufferAdapter.java91 return byteBuffer.getChar(position++ * SizeOf.CHAR);
97 return byteBuffer.getChar(index * SizeOf.CHAR);
H A DByteBuffer.java436 public abstract char getChar(); method in class:ByteBuffer
452 public abstract char getChar(int index); method in class:ByteBuffer
H A DDirectByteBuffer.java98 public final char getChar() { method in class:DirectByteBuffer
109 public final char getChar(int index) { method in class:DirectByteBuffer
H A DHeapByteBuffer.java120 public final char getChar() { method in class:HeapByteBuffer
131 public final char getChar(int index) { method in class:HeapByteBuffer
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DArrayTest.java69 try { Array.getChar(booleans, 0); fail(); } catch (IllegalArgumentException expected) {}
70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
71 assertEquals(chars[0], Array.getChar(chars, 0));
72 try { Array.getChar(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
73 try { Array.getChar(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
74 try { Array.getChar(ints, 0); fail(); } catch (IllegalArgumentException expected) {}
75 try { Array.getChar(longs, 0); fail(); } catch (IllegalArgumentException expected) {}
76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
77 try { Array.getChar(null, 0); fail(); } catch (NullPointerException expected) {}
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunkHandler.java95 data[i] = buf.getChar();
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DArrayTest.java186 * java.lang.reflect.Array#getChar(java.lang.Object, int)
190 // java.lang.reflect.Array.getChar(java.lang.Object, int)
195 ret = Array.getChar(x, 0);
201 ret = Array.getChar(new Object(), 0);
211 ret = Array.getChar(x, 4);
221 ret = Array.getChar(null, 0);
725 assertEquals("Get returned incorrect value", 1, Array.getChar(x, 0));
H A DFieldTest.java276 res = new Character(f.getChar(o));
361 * java.lang.reflect.Field#getChar(java.lang.Object)
703 * java.lang.reflect.Field#getChar(java.lang.Object)
707 // java.lang.reflect.Field.getChar(java.lang.Object)
713 val = f.getChar(x);
722 f.getChar(x);
734 f.getChar(x);
748 f.getChar(null);
761 char staticValue = f.getChar(null);
1378 val = f.getChar(
[all...]
/libcore/luni/src/main/java/java/lang/reflect/
H A DArray.java148 public static char getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { method in class:Array
H A DField.java350 public char getChar(Object object) throws IllegalAccessException, IllegalArgumentException { method in class:Field
/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java960 output.writeChar(field.getChar(obj));
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java465 b.getChar();

Completed in 275 milliseconds