Lines Matching refs:valueOf
883 assertEquals((byte) -77, (byte) mhByteValue.invokeExact(Byte.valueOf((byte) -77))); in testReturnValues()
884 assertEquals((byte) -77, (byte) mhByteValue.invoke(Byte.valueOf((byte) -77))); in testReturnValues()
945 assertEquals((short) 12131, (short) mhShortValue.invokeExact(Short.valueOf((short) 12131))); in testReturnValues()
946 assertEquals((short) 12131, (short) mhShortValue.invoke(Short.valueOf((short) 12131))); in testReturnValues()
952 assertEquals(true, (boolean) mhBooleanValue.invokeExact(Boolean.valueOf(true))); in testReturnValues()
953 assertEquals(true, (boolean) mhBooleanValue.invoke(Boolean.valueOf(true))); in testReturnValues()
954 assertEquals(false, (boolean) mhBooleanValue.invokeExact(Boolean.valueOf(false))); in testReturnValues()
955 assertEquals(false, (boolean) mhBooleanValue.invoke(Boolean.valueOf(false))); in testReturnValues()
1278 assertEquals("[false, true]", mh.invoke(vat, Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity()
1284 assertEquals("[false, true]", mh.invoke(vat, Boolean.valueOf(false), (Boolean) null)); in testVariableArity()
1293 assertEquals("[32, 64, 97]", mh.invoke(vat, (byte) 32, Byte.valueOf((byte) 64), (byte) 97)); in testVariableArity()
1296 mh.invoke(vat, (byte) 1, Integer.valueOf(3), (byte) 0); in testVariableArity()
1305 assertEquals("[A, B, C]", mh.invoke(vat, 'A', Character.valueOf('B'), 'C')); in testVariableArity()
1314 mh.invoke(vat, Short.MAX_VALUE, Short.MIN_VALUE, Short.valueOf((short) 0))); in testVariableArity()
1323 mh.invoke(vat, Integer.valueOf(0), Integer.MAX_VALUE, Integer.MIN_VALUE, 0)); in testVariableArity()
1339 mh.invoke(vat, Long.valueOf(0), Long.MAX_VALUE, Long.MIN_VALUE)); in testVariableArity()
1348 mh.invoke(vat, 0.0f, Float.valueOf(1.25f), Float.valueOf(-1.25f))); in testVariableArity()
1358 mh.invoke(vat, 0.0, Double.valueOf(1.25), Double.valueOf(-1.25))); in testVariableArity()
1378 (String) mh.invoke(vat, Float.valueOf(9.99f), in testVariableArity()
1379 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1380 Float.valueOf(0.1f), in testVariableArity()
1381 Float.valueOf(1.1f) })); in testVariableArity()
1383 (String) mh.invoke(vat, Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1384 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1386 (String) mh.invoke(vat, Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1389 (String) mh.invoke(vat, Float.valueOf(9.99f), 77, 33, 64)); in testVariableArity()
1393 (String) mh.invokeExact(vat, Float.valueOf(9.99f), in testVariableArity()
1394 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1395 Float.valueOf(0.1f), in testVariableArity()
1396 Float.valueOf(1.1f) })); in testVariableArity()
1398 (String) mh.invokeExact(vat, Float.valueOf(9.99f), in testVariableArity()
1399 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1401 Float.valueOf(1.1f) })); in testVariableArity()
1404 (String) mh.invokeExact(vat, Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1484 new Number[] { Byte.valueOf((byte) 3), (byte) 3})).lastResult()); in testVariableArity()
1533 (String) mh.invoke(Float.valueOf(9.99f), in testVariableArity()
1534 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1535 Float.valueOf(0.1f), in testVariableArity()
1536 Float.valueOf(1.1f) })); in testVariableArity()
1538 (String) mh.invoke(Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1539 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1541 (String) mh.invoke(Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1544 (String) mh.invoke(Float.valueOf(9.99f), 77, 33, 64)); in testVariableArity()
1548 (String) mh.invokeExact(Float.valueOf(9.99f), in testVariableArity()
1549 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1550 Float.valueOf(0.1f), in testVariableArity()
1551 Float.valueOf(1.1f) })); in testVariableArity()
1553 (String) mh.invokeExact(Float.valueOf(9.99f), in testVariableArity()
1554 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1556 Float.valueOf(1.1f) })); in testVariableArity()
1559 (String) mh.invokeExact(Float.valueOf(9.99f), 0.0f, 0.1f, 1.1f)); in testVariableArity()
1571 Float.valueOf(9.99f), in testVariableArity()
1572 new Float[] { Float.valueOf(0.0f), in testVariableArity()
1573 Float.valueOf(0.1f), in testVariableArity()
1574 Float.valueOf(1.1f) })); in testVariableArity()
1576 (String) mh.invoke(vat, Float.valueOf(9.99f), Float.valueOf(0.0f), in testVariableArity()
1577 Float.valueOf(0.1f), Float.valueOf(1.1f))); in testVariableArity()
1592 assertEquals(Long.valueOf(10l), (Long) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1598 assertEquals(Long.valueOf(10l), (Long) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1602 assertEquals(Long.valueOf(10l), (Byte) mh.invoke(1, 2, 3, 4)); in testVariableArity()
1629 assertEquals("[false, true]", mh.invoke(Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity()
1647 assertEquals("[false, true]", mh.invoke(Boolean.valueOf(false), Boolean.valueOf(true))); in testVariableArity_MethodHandles_bind()
1776 invokeMethod.invoke(instance, new Object[] { new Object[] { Integer.valueOf(1) } } ); in testReflectiveCalls()