/libcore/ojluni/src/main/java/java/lang/ |
D | StringUTF16.java | 64 public static char getChar(byte[] val, int index) { in getChar() method in StringUTF16 82 static char getChar(String val, int index) { 106 char c1 = getChar(value, index); 111 char c2 = getChar(value, index); 128 char c2 = getChar(value, index); 134 char c1 = getChar(value, index); 154 if (Character.isHighSurrogate(getChar(value, i++)) && 155 Character.isLowSurrogate(getChar(value, i))) { 221 char c = getChar(src, srcOff); 279 dst[dstBegin++] = getChar(value, i); [all …]
|
D | StringLatin1.java | 116 return getChar(value, k) - getChar(other, k); in compareTo() 142 char c1 = getChar(value, k); in compareToUTF16Values() 143 char c2 = StringUTF16.getChar(other, k); in compareToUTF16Values() 160 char c1 = (char) Character.toUpperCase(getChar(value, k)); in compareToCI() 161 char c2 = (char) Character.toUpperCase(getChar(other, k)); in compareToCI() 179 char c1 = getChar(value, k); in compareToCI_UTF16() 180 char c2 = StringUTF16.getChar(other, k); in compareToCI_UTF16() 714 public static char getChar(byte[] val, int index) { in getChar() method in StringLatin1
|
/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/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 = Character.valueOf(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 | 93 public final char getChar() { throw new RuntimeException("Stub!"); } in getChar() method in DirectByteBuffer 96 public final char getChar(int i) { throw new RuntimeException("Stub!"); } in getChar() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 445 public char getChar() { in getChar() method in HeapByteBuffer 448 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); in getChar() 452 public char getChar(int i) { in getChar() method in HeapByteBuffer 455 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() 477 return Bits.getChar(this, ix(i), bigEndian); in getCharUnchecked()
|
D | ByteBuffer.java | 2435 public abstract char getChar(); in getChar() method in ByteBuffer 2475 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
/libcore/ojluni/annotations/flagged_api/java/nio/ |
D | ByteBuffer.annotated.java | 129 public abstract char getChar(); in getChar() method in ByteBuffer 133 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
/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 | 170 public final char getChar() { in getChar() method in DirectByteBuffer 174 public final char getChar(int i) { in getChar() method in DirectByteBuffer
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | ByteBufferViews.java | 306 char fromMethodView = bb.getChar(o + i * 2); in testCharGet() 315 char fromMethodView = bb.getChar(); in testCharGet() 333 char fromFilled = bbfilled.getChar(o + i * 2); in testCharPut() 336 char fromMethodView = bb.getChar(o + i * 2); in testCharPut() 341 char fromFilled = bbfilled.getChar(o + i * 2); in testCharPut() 344 char fromMethodView = bb.getChar(); in testCharPut() 354 char fromFilled = bbfilled.getChar(o + i * 2); in testCharPut() 362 char fromFilled = bbfilled.getChar(o + i * 2); in testCharPut()
|
/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/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/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 119 public abstract char getChar(); in getChar() method in ByteBuffer 123 public abstract char getChar(int index); in getChar() method in ByteBuffer
|
/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/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 100 public native char getChar(java.lang.Object obj) in getChar() method in Field
|
/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/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
|