Home
last modified time | relevance | path

Searched refs:setFloat (Results 1 – 12 of 12) 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.java324 ps.setFloat(4, 0.1f);
325 ps.setFloat(5, 0.2f);
327 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/java/lang/reflect/
DArray.java472 setFloat(array, index, ((Float) value).floatValue()); in set()
689 …public static void setFloat(Object array, int index, float value) throws IllegalArgumentException,… in setFloat() method in Array
DField.java809 public native void setFloat(Object obj, float f) in setFloat() method in Field
/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/sql/
DPreparedStatement.java195 void setFloat(int parameterIndex, float x) throws SQLException; in setFloat() method
DCallableStatement.java898 void setFloat(String parameterName, float x) throws SQLException; in setFloat() method
/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/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()