Searched refs:getFloat (Results 1 - 25 of 27) sorted by relevance

12

/dalvik/libcore/nio/src/main/java/java/nio/
H A DDirectByteBuffer.java137 public final float getFloat() { method in class:DirectByteBuffer
142 float result = getBaseAddress().getFloat(offset + position, order);
147 public final float getFloat(int index) { method in class:DirectByteBuffer
151 return getBaseAddress().getFloat(offset + index, order);
H A DFloatToByteBufferAdapter.java150 return byteBuffer.getFloat(position++ << 2);
157 return byteBuffer.getFloat(index << 2);
H A DMappedByteBufferAdapter.java158 public float getFloat() { method in class:MappedByteBufferAdapter
161 float result = this.wrapped.getFloat();
166 public float getFloat(int index) { method in class:MappedByteBufferAdapter
169 return this.wrapped.getFloat(index);
H A DByteBuffer.java586 public abstract float getFloat(); method in class:ByteBuffer
604 public abstract float getFloat(int index); method in class:ByteBuffer
H A DHeapByteBuffer.java100 public final float getFloat() { method in class:HeapByteBuffer
104 public final float getFloat(int index) { method in class:HeapByteBuffer
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DIMemorySystem.java382 public float getFloat(int address); method in interface:IMemorySystem
384 public float getFloat(int address, Endianness endianness); method in interface:IMemorySystem
H A DPlatformAddress.java223 public final float getFloat(int offset, Endianness order) { method in class:PlatformAddress
225 return osMemory.getFloat(osaddr + offset, order);
228 public final float getFloat(int offset) { method in class:PlatformAddress
230 return osMemory.getFloat(osaddr + offset);
H A DOSMemory.java487 public native float getFloat(int address); method in class:OSMemory
489 public float getFloat(int address, Endianness endianness) { method in class:OSMemory
491 return getFloat(address);
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
H A DArray.java233 return getFloat(array, index);
259 public static float getFloat(Object array, int index) method in class:Array
H A DField.java397 public float getFloat(Object object) throws IllegalAccessException, IllegalArgumentException { method in class:Field
/dalvik/libcore/sql/src/main/java/java/sql/
H A DCallableStatement.java410 public float getFloat(int parameterIndex) throws SQLException; method in interface:CallableStatement
424 public float getFloat(String parameterName) throws SQLException; method in interface:CallableStatement
H A DResultSet.java57 * getFloat}. The columns are retrieved either by their index number (starting
738 public float getFloat(int columnIndex) throws SQLException; method in interface:ResultSet
752 public float getFloat(String columnName) throws SQLException; method in interface:ResultSet
/dalvik/tests/064-field-access/src/
H A DMain.java76 result = new Float(field.getFloat(obj));
308 result = new Float(field.getFloat(obj));
/dalvik/libcore/sql/src/test/java/tests/sql/
H A DResultSetGetterTests.java779 * Test method for {@link java.sql.ResultSet#getFloat(int)}.
783 notes = "Not fully supported: eg.: getFloat from TinyInt according to JDBC 1.0 spec",
784 method = "getFloat",
793 float output = res.getFloat(9);
796 output = res.getFloat(10);
799 output = res.getFloat(11);
807 res.getFloat(500);
815 float output = res.getFloat(8);
818 output = res.getFloat(9);
821 output = res.getFloat(1
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DArrayTest.java315 * @tests java.lang.reflect.Array#getFloat(java.lang.Object, int)
320 method = "getFloat",
325 // java.lang.reflect.Array.getFloat(java.lang.Object, int)
330 ret = Array.getFloat(x, 0);
336 ret = Array.getFloat(new Object(), 0);
346 ret = Array.getFloat(x, 4);
356 ret = Array.getFloat(null, 0);
931 assertEquals("Get returned incorrect value", 1, Array.getFloat(x, 0), 0.0);
H A DFieldTest.java299 res = new Float(f.getFloat(o));
376 * @tests java.lang.reflect.Field#getFloat(java.lang.Object)
423 method = "getFloat",
1011 * @tests java.lang.reflect.Field#getFloat(java.lang.Object)
1016 method = "getFloat",
1021 // java.lang.reflect.Field.getFloat(java.lang.Object)
1027 val = f.getFloat(x);
1029 fail("Exception during getFloat test : " + e.getMessage());
1037 f.getFloat(x);
1050 f.getFloat(
[all...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
H A DByteBufferTest.java1795 method = "getFloat",
1812 value = buf.getFloat();
1820 buf.getFloat();
1832 method = "getFloat",
1846 value = buf.getFloat(i);
1856 buf.getFloat(-1);
1862 buf.getFloat(buf.limit() - nbytes + 1);
1917 assertEquals(Float.MAX_VALUE, buf.getFloat(0));
1920 assertEquals(Float.MIN_VALUE, buf.getFloat(0));
1923 assertEquals(Float.NaN, buf.getFloat(
[all...]
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DAbstractPreferencesTest.java513 assertEquals(new Float(1.602e-19), pref.getFloat("FloatValue", new Float(0.2)));
549 method = "getFloat",
559 assertEquals(new Float(0.1), pref.getFloat("Value", new Float(0.1)));
560 assertEquals(new Float(-0.123), pref.getFloat("FloatValue", new Float(0.2)));
561 assertEquals(new Float(9.109382e-31), pref.getFloat("DoubleValue", new Float(2.14)));
562 assertEquals(new Float(2.99792448e8), pref.getFloat("IntValue", new Float(5)));
565 pref.getFloat(null, new Float(0.1));
574 pref.getFloat("FloatValue", new Float(0.1));
H A DPreferencesTest.java472 method = "getFloat",
648 p.getFloat(null, 0.1f);
911 * @test java.util.prefs.Preferences#getFloat(String key, float def)
917 method = "getFloat",
923 pref.getFloat(null, 0f);
929 assertEquals(1f, pref.getFloat("testGetFloatKey", 0f), 0); //$NON-NLS-1$
930 assertEquals(0f, pref.getFloat("testGetFloatKey2", 0f), 0);
1337 assertEquals(3f, pref.getFloat("testPutFloatKey", 0), 0);
1880 public float getFloat(String key, float deflt) { method in class:PreferencesTest.MockPreferences
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DMultiThreadAccessTest.java328 result.getFloat("ffloat"));
331 result.getFloat("freal"));
H A DSelectFunctionalityTest.java163 .valueOf(id + 0.1).floatValue(), result.getFloat("ffloat"));
231 (float) (id + 0.1), result.getFloat("ffloat"));
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
H A DPreferences.java484 public abstract float getFloat (String key, float deflt); method in class:Preferences
H A DAbstractPreferences.java506 public float getFloat(String key, float deflt) { method in class:AbstractPreferences
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
H A DImpl_RowSet.java394 public float getFloat(int columnIndex) throws SQLException { method in class:Impl_RowSet
398 public float getFloat(String columnName) throws SQLException { method in class:Impl_RowSet
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCResultSet.java336 public float getFloat(int columnIndex) throws SQLException { method in class:JDBCResultSet
358 public float getFloat(String columnName) throws SQLException { method in class:JDBCResultSet
360 return getFloat(col);

Completed in 503 milliseconds

12