Home
last modified time | relevance | path

Searched refs:setFloat (Results 1 – 16 of 16) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DPropertyAccessBenchmark.java78 x.setFloat(view, 0.1f); in timeReflectionFieldSet()
84 generatedSetter.setFloat(view, 0.1f); in timeGeneratedSetter()
90 generatedField.setFloat(view, 0.1f); in timeGeneratedFieldSet()
103 void setFloat(View v, float f); in setFloat() method
107 public void setFloat(View v, float f) { in setFloat() method in PropertyAccessBenchmark.GeneratedSetter
113 public void setFloat(View v, float f) { in setFloat() method in PropertyAccessBenchmark.GeneratedField
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java189 …try { Array.setFloat(booleans, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) … in testSetFloat()
190 … try { Array.setFloat(bytes, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetFloat()
191 … try { Array.setFloat(chars, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetFloat()
192 Array.setFloat(floats, 0, floats[0]); in testSetFloat()
193 Array.setFloat(doubles, 0, floats[0]); in testSetFloat()
194 try { Array.setFloat(ints, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetFloat()
195 … try { Array.setFloat(longs, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetFloat()
196 … try { Array.setFloat(shorts, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetFloat()
197 try { Array.setFloat(null, 0, floats[0]); fail(); } catch (NullPointerException expected) {} in testSetFloat()
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java341 ps.setFloat(4, 0.1f);
342 ps.setFloat(5, 0.2f);
344 ps.setFloat(7, 0.4f);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java813 Array.setFloat(x, 0, (float) 1); in test_setFloatLjava_lang_ObjectIF()
819 Array.setFloat(new Object(), 0, (float) 9); in test_setFloatLjava_lang_ObjectIF()
829 Array.setFloat(x, 4, (float) 9); in test_setFloatLjava_lang_ObjectIF()
840 Array.setFloat(null, 0, 0); in test_setFloatLjava_lang_ObjectIF()
DFieldTest.java316 f.setFloat(o, ((Float) value).floatValue()); in setField()
1321 f.setFloat(x, Float.MIN_VALUE); in test_setFloatLjava_lang_ObjectF()
1333 f.setFloat(x, Float.MIN_VALUE); in test_setFloatLjava_lang_ObjectF()
1344 f.setFloat(null, Float.MIN_VALUE); in test_setFloatLjava_lang_ObjectF()
1355 f.setFloat(null, Float.MIN_VALUE); in test_setFloatLjava_lang_ObjectF()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java683 void setFloat(int parameterIndex, float x) throws SQLException; in setFloat() method
699 void setFloat(String parameterName, float x) throws SQLException; in setFloat() method
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java497 setFloat(array, index, ((Float) value).floatValue()); in set()
720 public static void setFloat(Object array, int index, float f) in setFloat() method in Array
DField.java858 public native void setFloat(Object obj, float f) in setFloat() method in Field
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java274 static void setFloat(MethodHandle m, ValueHolder v, float value, boolean expectFailure) in setFloat() method in MethodHandleAccessorsTest
291 static void setFloat(MethodHandle m, float value, boolean expectFailure) throws Throwable { in setFloat() method in MethodHandleAccessorsTest
292 setFloat(m, null, value, expectFailure); in setFloat()
506 setFloat(methodHandle, valueHolder, floatValue, in tryAccessor()
508 setFloat(methodHandle, floatValue, in tryAccessor()
/libcore/ojluni/src/main/java/java/sql/
DPreparedStatement.java195 void setFloat(int parameterIndex, float x) throws SQLException; in setFloat() method
DCallableStatement.java899 void setFloat(String parameterName, float x) throws SQLException; in setFloat() method
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java74 public static void setFloat(@libcore.util.NonNull java.lang.Object array, int index, float f) throw… in setFloat() method in Array
DField.annotated.java90 public native void setFloat(@libcore.util.Nullable java.lang.Object obj, float f) throws java.lang.… in setFloat() method in Field
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DField.java139 public native void setFloat(java.lang.Object obj, float f) in setFloat() method in Field
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java602 ps.setFloat(1, value1); in testSetFloat()
616 ps.setFloat(1, value2); in testSetFloat()
631 ps.setFloat(1, Float.MIN_VALUE); in testSetFloat()
/libcore/api/
Dcurrent.txt4465 …method public static void setFloat(@NonNull Object, int, float) throws java.lang.ArrayIndexOutOfBo…
4519 …method public void setFloat(@Nullable Object, float) throws java.lang.IllegalAccessException, java…
8946 method public void setFloat(String, float) throws java.sql.SQLException;
9390 method public void setFloat(int, float) throws java.sql.SQLException;
18428 method public void setFloat(int, float) throws java.sql.SQLException;
18429 method public void setFloat(String, float) throws java.sql.SQLException;