Home
last modified time | relevance | path

Searched refs:setChar (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java165 … 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/
DArrayTest.java721 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()
DFieldTest.java310 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/
DArray.java489 setChar(array, index, ((Character) value).charValue()); in set()
587 public static void setChar(Object array, int index, char c) in setChar() method in Array
DField.java738 public native void setChar(Object obj, char c) in setChar() method in Field
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java117 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/
DField.java127 public native void setChar(java.lang.Object obj, char c) in setChar() method in Field
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java66 public static void setChar(@libcore.util.NonNull java.lang.Object array, int index, char c) throws … in setChar() method in Array
DField.annotated.java82 public native void setChar(@libcore.util.Nullable java.lang.Object obj, char c) throws java.lang.Il… in setChar() method in Field