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

/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/luni/src/main/java/java/nio/
H A DByteBufferAsCharBuffer.java90 return byteBuffer.getChar(position++ * SizeOf.CHAR);
96 return byteBuffer.getChar(index * SizeOf.CHAR);
H A DByteBuffer.java428 public abstract char getChar(); method in class:ByteBuffer
444 public abstract char getChar(int index); method in class:ByteBuffer
H A DByteArrayBuffer.java162 @Override public final char getChar() { method in class:ByteArrayBuffer
172 @Override public final char getChar(int index) { method in class:ByteArrayBuffer
H A DDirectByteBuffer.java175 @Override public final char getChar() { method in class:DirectByteBuffer
186 @Override public final char getChar(int index) { method in class:DirectByteBuffer
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunkHandler.java95 data[i] = buf.getChar();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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.java263 res = new Character(f.getChar(o));
348 * java.lang.reflect.Field#getChar(java.lang.Object)
660 * java.lang.reflect.Field#getChar(java.lang.Object)
664 // java.lang.reflect.Field.getChar(java.lang.Object)
670 val = f.getChar(x);
679 f.getChar(x);
692 f.getChar(null);
705 char staticValue = f.getChar(null);
1221 val = f.getChar(x);
1254 val = f.getChar(
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java116 src.getChar();
137 src.getChar(i * 2);
/libcore/libart/src/main/java/java/lang/reflect/
H A DField.java366 public native char getChar(Object object) method in class:Field
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java537 b.getChar();
1129 b.getChar();
1130 b.getChar(0);
1169 b.getChar();
1174 b.getChar(0);
/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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DByteBufferTest.java1134 value = buf.getChar();
1139 buf.getChar();
1157 value = buf.getChar(i);
1164 buf.getChar(-1);
1170 buf.getChar(buf.limit() - nbytes + 1);
/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java940 output.writeChar(field.getChar(obj));

Completed in 293 milliseconds