/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 69 try { Array.getChar(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 71 assertEquals(chars[0], Array.getChar(chars, 0)); in testGetChar() 72 try { Array.getChar(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 73 try { Array.getChar(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 74 try { Array.getChar(ints, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 75 try { Array.getChar(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetChar() 77 try { Array.getChar(null, 0); fail(); } catch (NullPointerException expected) {} in testGetChar()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringUTF16.java | 65 static char getChar(String val, int index) { in getChar() method in StringUTF16 203 char ch = getChar(value, current); in indexOfLineSeparator() 213 if (getChar(value, start) == '\r') { in skipLineSeparator() 215 if (next < fence && getChar(value, next) == '\n') { in skipLineSeparator() 513 return getChar(value, index); in charAt()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 209 public char getChar() { in getChar() method in HeapByteBuffer 210 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); in getChar() 214 public char getChar(int i) { in getChar() method in HeapByteBuffer 215 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() 220 return Bits.getChar(this, ix(i), bigEndian); in getCharUnchecked()
|
D | ByteBuffer.java | 1237 public abstract char getChar(); in getChar() method in ByteBuffer 1277 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
D | Bits.java | 88 static char getChar(ByteBuffer bb, int bi, boolean bigEndian) { in getChar() method in Bits 92 static char getChar(long a, boolean bigEndian) { in getChar() method in Bits
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 229 final char getChar(int offset) { in getChar() method in NativeObject 230 return unsafe.getChar(offset + address); in getChar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 195 ret = Array.getChar(x, 0); in test_getCharLjava_lang_ObjectI() 201 ret = Array.getChar(new Object(), 0); in test_getCharLjava_lang_ObjectI() 211 ret = Array.getChar(x, 4); in test_getCharLjava_lang_ObjectI() 221 ret = Array.getChar(null, 0); in test_getCharLjava_lang_ObjectI() 725 assertEquals("Get returned incorrect value", 1, Array.getChar(x, 0)); in test_setCharLjava_lang_ObjectIC()
|
D | FieldTest.java | 263 res = new Character(f.getChar(o)); in getField() 670 val = f.getChar(x); in test_getCharLjava_lang_Object() 679 f.getChar(x); in test_getCharLjava_lang_Object() 692 f.getChar(null); in test_getCharLjava_lang_Object() 705 char staticValue = f.getChar(null); in test_getCharLjava_lang_Object() 1221 val = f.getChar(x); in test_setCharLjava_lang_ObjectC() 1254 val = f.getChar(x); in test_setCharLjava_lang_ObjectC()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 92 public abstract char getChar(); in getChar() method in ByteBuffer 96 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
D | DirectByteBuffer.annotated.java | 90 public final char getChar() { throw new RuntimeException("Stub!"); } in getChar() method in DirectByteBuffer 93 public final char getChar(int i) { throw new RuntimeException("Stub!"); } in getChar() method in DirectByteBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 149 public abstract char getChar(); in getChar() method in ByteBuffer 153 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
D | DirectByteBuffer.java | 163 public final char getChar() { in getChar() method in DirectByteBuffer 167 public final char getChar(int i) { in getChar() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 376 public native char getChar(Object obj, long offset); in getChar() method in Unsafe 568 public native char getChar(long address); in getChar() method in Unsafe
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 105 public abstract char getChar(); in getChar() method in ByteBuffer 109 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 43 static char getChar(byte[] b, int off) { in getChar() method in Bits
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 140 public native char getChar(java.lang.Object obj, long offset); in getChar() method in Unsafe 204 public native char getChar(long address); in getChar() method in Unsafe
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 138 static void getChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in getChar() method in MethodHandleAccessorsTest 156 static void getChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in getChar() method in MethodHandleAccessorsTest 157 getChar(m, null, value, expectFailure); in getChar() 470 getChar(methodHandle, valueHolder, charValue, in tryAccessor() 472 getChar(methodHandle, charValue, in tryAccessor()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 120 src.getChar(); in timeByteBuffer_getChar() 141 src.getChar(i * 2); in timeByteBuffer_getChar_indexed()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 426 public native char getChar(Object obj) in getChar() method in Field
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 48 public static char getChar(@libcore.util.NonNull java.lang.Object array, int index) throws java.lan… in getChar() method in Array
|
D | Field.annotated.java | 64 public native char getChar(@libcore.util.Nullable java.lang.Object obj) throws java.lang.IllegalAcc… in getChar() method in Field
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 100 public native char getChar(java.lang.Object obj) in getChar() method in Field
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 130 public native char getChar(java.lang.Object obj, long offset); in getChar() method in Unsafe 196 public native char getChar(long address); in getChar() method in Unsafe
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 596 public native char getChar(Object obj, long offset); in getChar() method in Unsafe 788 public native char getChar(long address); in getChar() method in Unsafe
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 497 b.getChar(); in testRelativePositions() 1155 b.getChar(); in testGetMethods() 1156 b.getChar(0); in testGetMethods() 1195 b.getChar(); in testFailForGetMethods() 1200 b.getChar(0); in testFailForGetMethods()
|