Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/regression/
DPropertyAccessBenchmark.java77 x.setFloat(view, 0.1f); in timeReflectionFieldSet()
83 generatedSetter.setFloat(view, 0.1f); in timeGeneratedSetter()
89 generatedField.setFloat(view, 0.1f); in timeGeneratedFieldSet()
102 void setFloat(View v, float f); in setFloat() method
106 public void setFloat(View v, float f) { in setFloat() method in PropertyAccessBenchmark.GeneratedSetter
112 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/libart/src/main/java/java/lang/reflect/
DField.java731 public void setFloat(Object object, float value) throws IllegalAccessException, in setFloat() method in Field
733 setFloat(object, value, isAccessible()); in setFloat()
736 private native void setFloat(Object object, float value, boolean accessible) in setFloat() method in Field
/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/luni/src/main/java/java/lang/reflect/
DArray.java421 setFloat(array, index, ((Float) value).floatValue()); in set()
528 …public static void setFloat(Object array, int index, float value) throws IllegalArgumentException,… in setFloat() method in Array
/libcore/luni/src/main/java/javax/sql/
DRowSet.java950 public void setFloat(int parameterIndex, float theFloat) in setFloat() method
964 public void setFloat(String parameterName, float theFloat) in setFloat() method
/libcore/luni/src/main/java/java/sql/
DPreparedStatement.java373 public void setFloat(int parameterIndex, float theFloat) in setFloat() method
DCallableStatement.java1099 public void setFloat(String parameterName, float theFloat) in setFloat() method
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java604 ps.setFloat(1, value1); in testSetFloat()
618 ps.setFloat(1, value2); in testSetFloat()
633 ps.setFloat(1, Float.MIN_VALUE); in testSetFloat()
/libcore/luni/src/main/java/java/io/
DObjectInputStream.java1090 field.setFloat(obj, f); in readFieldValues()