Lines Matching refs:valueOf

675       assertEquals(Integer.valueOf(2), (Integer) valueOfMH.invokeExact(2));  in testAsType()
676 assertEquals(12345678, (int) atMH.invokeExact((Object) Integer.valueOf(12345678))); in testAsType()
677 assertEquals(Integer.valueOf(987654321), (Integer) at2MH.invokeExact(987654321)); in testAsType()
685 assertEquals(Double.valueOf(1.125e3), (Double) valueOfMH.invokeExact(1.125e3)); in testAsType()
686 assertEquals(2.5e-3, (double) atMH.invokeExact((Object) Double.valueOf(2.5e-3))); in testAsType()
687 assertEquals(Double.valueOf(3.125e-2), (Double) at2MH.invokeExact(3.125e-2)); in testAsType()
956 assertEquals((byte) -77, (byte) mhByteValue.invokeExact(Byte.valueOf((byte) -77))); in testReturnValues()
957 assertEquals((byte) -77, (byte) mhByteValue.invoke(Byte.valueOf((byte) -77))); in testReturnValues()
1018 assertEquals((short) 12131, (short) mhShortValue.invokeExact(Short.valueOf((short) 12131))); in testReturnValues()
1019 assertEquals((short) 12131, (short) mhShortValue.invoke(Short.valueOf((short) 12131))); in testReturnValues()
1025 assertEquals(true, (boolean) mhBooleanValue.invokeExact(Boolean.valueOf(true))); in testReturnValues()
1026 assertEquals(true, (boolean) mhBooleanValue.invoke(Boolean.valueOf(true))); in testReturnValues()
1027 assertEquals(false, (boolean) mhBooleanValue.invokeExact(Boolean.valueOf(false))); in testReturnValues()
1028 assertEquals(false, (boolean) mhBooleanValue.invoke(Boolean.valueOf(false))); in testReturnValues()
1351 assertEquals("[false, true]", mh.invoke(vat, Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity()
1357 assertEquals("[false, true]", mh.invoke(vat, Boolean.valueOf(false), (Boolean) null)); in testVariableArity()
1366 assertEquals("[32, 64, 97]", mh.invoke(vat, (byte) 32, Byte.valueOf((byte) 64), (byte) 97)); in testVariableArity()
1369 mh.invoke(vat, (byte) 1, Integer.valueOf(3), (byte) 0); in testVariableArity()
1378 assertEquals("[A, B, C]", mh.invoke(vat, 'A', Character.valueOf('B'), 'C')); in testVariableArity()
1387 mh.invoke(vat, Short.MAX_VALUE, Short.MIN_VALUE, Short.valueOf((short) 0))); in testVariableArity()
1396 mh.invoke(vat, Integer.valueOf(0), Integer.MAX_VALUE, Integer.MIN_VALUE, 0)); in testVariableArity()
1412 mh.invoke(vat, Long.valueOf(0), Long.MAX_VALUE, Long.MIN_VALUE)); in testVariableArity()
1421 mh.invoke(vat, 0.0f, Float.valueOf(1.25f), Float.valueOf(-1.25f))); in testVariableArity()
1431 mh.invoke(vat, 0.0, Double.valueOf(1.25), Double.valueOf(-1.25))); in testVariableArity()
1451 (String) mh.invoke(vat, Float.valueOf(9.99f), in testVariableArity()
1452 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1453 Float.valueOf(0.1f), in testVariableArity()
1454 Float.valueOf(1.1f) })); in testVariableArity()
1456 (String) mh.invoke(vat, Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1457 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1459 (String) mh.invoke(vat, Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1462 (String) mh.invoke(vat, Float.valueOf(9.99f), 77, 33, 64)); in testVariableArity()
1466 (String) mh.invokeExact(vat, Float.valueOf(9.99f), in testVariableArity()
1467 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1468 Float.valueOf(0.1f), in testVariableArity()
1469 Float.valueOf(1.1f) })); in testVariableArity()
1471 (String) mh.invokeExact(vat, Float.valueOf(9.99f), in testVariableArity()
1472 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1474 Float.valueOf(1.1f) })); in testVariableArity()
1477 (String) mh.invokeExact(vat, Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1557 new Number[] { Byte.valueOf((byte) 3), (byte) 3})).lastResult()); in testVariableArity()
1606 (String) mh.invoke(Float.valueOf(9.99f), in testVariableArity()
1607 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1608 Float.valueOf(0.1f), in testVariableArity()
1609 Float.valueOf(1.1f) })); in testVariableArity()
1611 (String) mh.invoke(Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1612 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1614 (String) mh.invoke(Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1617 (String) mh.invoke(Float.valueOf(9.99f), 77, 33, 64)); in testVariableArity()
1621 (String) mh.invokeExact(Float.valueOf(9.99f), in testVariableArity()
1622 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1623 Float.valueOf(0.1f), in testVariableArity()
1624 Float.valueOf(1.1f) })); in testVariableArity()
1626 (String) mh.invokeExact(Float.valueOf(9.99f), in testVariableArity()
1627 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1629 Float.valueOf(1.1f) })); in testVariableArity()
1632 (String) mh.invokeExact(Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1644 Float.valueOf(9.99f), in testVariableArity()
1645 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1646 Float.valueOf(0.1f), in testVariableArity()
1647 Float.valueOf(1.1f) })); in testVariableArity()
1649 (String) mh.invoke(vat, Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1650 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1665 assertEquals(Long.valueOf(10l), (Long) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1671 assertEquals(Long.valueOf(10l), (Long) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1675 assertEquals(Long.valueOf(10l), (Byte) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1702 assertEquals("[false, true]", mh.invoke(Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity()
1720 assertEquals("[false, true]", mh.invoke(Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity_MethodHandles_bind()
1849 invokeMethod.invoke(instance, new Object[] { new Object[] { Integer.valueOf(1) } } ); in testReflectiveCalls()