/libcore/benchmarks/src/benchmarks/regression/ |
D | PropertyAccessBenchmark.java | 77 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/ |
D | ArrayTest.java | 189 …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/ |
D | StressTest.java | 324 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/ |
D | Field.java | 731 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/ |
D | ArrayTest.java | 813 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()
|
D | FieldTest.java | 316 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/ |
D | Array.java | 421 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/ |
D | RowSet.java | 950 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/ |
D | PreparedStatement.java | 373 public void setFloat(int parameterIndex, float theFloat) in setFloat() method
|
D | CallableStatement.java | 1099 public void setFloat(String parameterName, float theFloat) in setFloat() method
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 604 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/ |
D | ObjectInputStream.java | 1090 field.setFloat(obj, f); in readFieldValues()
|