/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 165 … try { Array.setChar(booleans, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetChar() 166 try { Array.setChar(bytes, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetChar() 167 Array.setChar(chars, 0, chars[0]); in testSetChar() 168 Array.setChar(doubles, 0, chars[0]); in testSetChar() 169 Array.setChar(floats, 0, chars[0]); in testSetChar() 170 Array.setChar(ints, 0, chars[0]); in testSetChar() 171 Array.setChar(longs, 0, chars[0]); in testSetChar() 172 try { Array.setChar(shorts, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetChar() 173 try { Array.setChar(null, 0, chars[0]); fail(); } catch (NullPointerException expected) {} in testSetChar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 721 Array.setChar(x, 0, (char) 1); in test_setCharLjava_lang_ObjectIC() 727 Array.setChar(new Object(), 0, (char) 9); in test_setCharLjava_lang_ObjectIC() 737 Array.setChar(x, 4, (char) 9); in test_setCharLjava_lang_ObjectIC() 748 Array.setChar(null, 0, (char)0); in test_setCharLjava_lang_ObjectIC()
|
D | FieldTest.java | 310 f.setChar(o, ((Character) value).charValue()); in setField() 1220 f.setChar(x, (char) 1); in test_setCharLjava_lang_ObjectC() 1231 f.setChar(x, Character.MIN_VALUE); in test_setCharLjava_lang_ObjectC() 1242 f.setChar(null, Character.MIN_VALUE); in test_setCharLjava_lang_ObjectC() 1253 f.setChar(null, Character.MIN_VALUE); in test_setCharLjava_lang_ObjectC()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Array.java | 489 setChar(array, index, ((Character) value).charValue()); in set() 587 public static void setChar(Object array, int index, char c) in setChar() method in Array
|
D | Field.java | 738 public native void setChar(Object obj, char c) in setChar() method in Field
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 117 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in setChar() method in MethodHandleAccessorsTest 134 static void setChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in setChar() method in MethodHandleAccessorsTest 135 setChar(m, null, value, expectFailure); in setChar() 466 setChar(methodHandle, valueHolder, charValue, in tryAccessor() 468 setChar(methodHandle, charValue, in tryAccessor()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 127 public native void setChar(java.lang.Object obj, char c) in setChar() method in Field
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 66 public static void setChar(@libcore.util.NonNull java.lang.Object array, int index, char c) throws … in setChar() method in Array
|
D | Field.annotated.java | 82 public native void setChar(@libcore.util.Nullable java.lang.Object obj, char c) throws java.lang.Il… in setChar() method in Field
|