/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/ojluni/src/main/java/sun/nio/ch/ |
H A D | NativeObject.java | 229 final char getChar(int offset) { method in class:NativeObject 230 return unsafe.getChar(offset + address);
|
/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/ojluni/src/main/java/java/nio/ |
H A D | HeapByteBuffer.java | 196 public char getChar() { method in class:HeapByteBuffer 197 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); 201 public char getChar(int i) { method in class:HeapByteBuffer 202 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); 207 return Bits.getChar(this, ix(i), bigEndian);
|
H A D | ByteBuffer.java | 55 * <li><p> Absolute and relative {@link #getChar() <i>get</i>} 1047 public abstract char getChar(); method in class:ByteBuffer 1087 public abstract char getChar(int index); method in class:ByteBuffer
|
H A D | Bits.java | 88 static char getChar(ByteBuffer bb, int bi, boolean bigEndian) { method in class:Bits 92 static char getChar(long a, boolean bigEndian) { method in class:Bits
|
H A D | DirectByteBuffer.java | 340 public final char getChar() { method in class:DirectByteBuffer 354 public final char getChar(int i) { method in class:DirectByteBuffer
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | Bits.java | 43 static char getChar(byte[] b, int off) { method in class:Bits
|
H A D | ObjectInputStream.java | 2122 return (off >= 0) ? Bits.getChar(primVals, off) : val; 2805 char v = Bits.getChar(buf, pos); 2936 v[off++] = Bits.getChar(buf, pos);
|
H A D | ObjectStreamClass.java | 2018 Bits.putChar(buf, off, unsafe.getChar(obj, key)); 2072 unsafe.putChar(obj, key, Bits.getChar(buf, off));
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | Unsafe.java | 323 public native char getChar(Object obj, long offset); method in class:Unsafe 412 public native char getChar(long address); method in class:Unsafe
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | ByteBufferBenchmark.java | 120 src.getChar(); 141 src.getChar(i * 2);
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Field.java | 421 public native char getChar(Object obj) method in class:Field
|
H A D | Array.java | 279 // Android-changed: Non-native implementation of getChar(Object, int) 280 public static char getChar(Object array, int index) method in class:Array
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleAccessorsTest.java | 138 static void getChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) method in class:MethodHandleAccessorsTest 156 static void getChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { method in class:MethodHandleAccessorsTest 157 getChar(m, null, value, expectFailure); 470 getChar(methodHandle, valueHolder, charValue, 472 getChar(methodHandle, charValue,
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 546 b.getChar(); 1183 b.getChar(); 1184 b.getChar(0); 1223 b.getChar(); 1228 b.getChar(0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 1183 value = buf.getChar(); 1188 buf.getChar(); 1206 value = buf.getChar(i); 1213 buf.getChar(-1); 1219 buf.getChar(buf.limit() - nbytes + 1);
|