/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ArrayTest.java | 69 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 D | ByteBufferAsCharBuffer.java | 90 return byteBuffer.getChar(position++ * SizeOf.CHAR); 96 return byteBuffer.getChar(index * SizeOf.CHAR);
|
H A D | ByteBuffer.java | 428 public abstract char getChar(); method in class:ByteBuffer 444 public abstract char getChar(int index); method in class:ByteBuffer
|
H A D | ByteArrayBuffer.java | 162 @Override public final char getChar() { method in class:ByteArrayBuffer 172 @Override public final char getChar(int index) { method in class:ByteArrayBuffer
|
H A D | DirectByteBuffer.java | 175 @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 D | ChunkHandler.java | 95 data[i] = buf.getChar();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | ArrayTest.java | 186 * 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 D | FieldTest.java | 263 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 D | ByteBufferBenchmark.java | 116 src.getChar(); 137 src.getChar(i * 2);
|
/libcore/libart/src/main/java/java/lang/reflect/ |
H A D | Field.java | 366 public native char getChar(Object object) method in class:Field
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 537 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 D | Array.java | 148 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 D | ByteBufferTest.java | 1134 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 D | ObjectOutputStream.java | 940 output.writeChar(field.getChar(obj));
|