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

12

/dalvik/libcore/nio/src/main/java/java/nio/
H A DDirectByteBuffer.java144 public final float getFloat() { method in class:DirectByteBuffer
149 float result = getBaseAddress().getFloat(offset + position, order);
155 public final float getFloat(int index) { method in class:DirectByteBuffer
159 return getBaseAddress().getFloat(offset + index, order);
H A DFloatToByteBufferAdapter.java142 return byteBuffer.getFloat(position++ << 2);
150 return byteBuffer.getFloat(index << 2);
H A DMappedByteBufferAdapter.java173 public float getFloat() { method in class:MappedByteBufferAdapter
176 float result = this.wrapped.getFloat();
182 public float getFloat(int index) { method in class:MappedByteBufferAdapter
185 return this.wrapped.getFloat(index);
H A DByteBuffer.java532 public abstract float getFloat(); method in class:ByteBuffer
548 public abstract float getFloat(int index); method in class:ByteBuffer
H A DHeapByteBuffer.java106 public final float getFloat() { method in class:HeapByteBuffer
111 public final float getFloat(int index) { method in class:HeapByteBuffer
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DIMemorySystem.java419 public float getFloat(int address); method in interface:IMemorySystem
421 public float getFloat(int address, Endianness endianness); method in interface:IMemorySystem
H A DPlatformAddress.java231 public final float getFloat(int offset, Endianness order) { method in class:PlatformAddress
233 return osMemory.getFloat(osaddr + offset, order);
236 public final float getFloat(int offset) { method in class:PlatformAddress
238 return osMemory.getFloat(osaddr + offset);
H A DOSMemory.java491 public native float getFloat(int address); method in class:OSMemory
493 public float getFloat(int address, Endianness endianness) { method in class:OSMemory
495 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.java383 public float getFloat(int parameterIndex) throws SQLException; method in interface:CallableStatement
396 public float getFloat(String parameterName) throws SQLException; method in interface:CallableStatement
H A DResultSet.java55 * getFloat}. The columns are retrieved either by their index number (starting
666 public float getFloat(int columnIndex) throws SQLException; method in interface:ResultSet
679 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.java503 assertEquals(new Float(1.602e-19), pref.getFloat("FloatValue", new Float(0.2)));
539 method = "getFloat",
549 assertEquals(new Float(0.1), pref.getFloat("Value", new Float(0.1)));
550 assertEquals(new Float(-0.123), pref.getFloat("FloatValue", new Float(0.2)));
551 assertEquals(new Float(9.109382e-31), pref.getFloat("DoubleValue", new Float(2.14)));
552 assertEquals(new Float(2.99792448e8), pref.getFloat("IntValue", new Float(5)));
555 pref.getFloat(null, new Float(0.1));
564 pref.getFloat("FloatValue", new Float(0.1));
H A DPreferencesTest.java452 method = "getFloat",
628 p.getFloat(null, 0.1f);
891 * @test java.util.prefs.Preferences#getFloat(String key, float def)
897 method = "getFloat",
903 pref.getFloat(null, 0f);
909 assertEquals(1f, pref.getFloat("testGetFloatKey", 0f), 0); //$NON-NLS-1$
910 assertEquals(0f, pref.getFloat("testGetFloatKey2", 0f), 0);
1317 assertEquals(3f, pref.getFloat("testPutFloatKey", 0), 0);
1872 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.java473 public abstract float getFloat(String key, float deflt); method in class:Preferences
H A DAbstractPreferences.java479 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.java408 public float getFloat(int columnIndex) throws SQLException { method in class:Impl_RowSet
412 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 277 milliseconds

12