/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeFloat.java | 707 float x = (float) vh.getAndAddRelease(null, 1.0f); in testInstanceFieldWrongMethodType() 710 float x = (float) vh.getAndAddRelease(Void.class, 1.0f); in testInstanceFieldWrongMethodType() 713 float x = (float) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 float x = (float) vh.getAndAddRelease(0, 1.0f); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, 1.0f); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, 1.0f); in testInstanceFieldWrongMethodType() 727 float x = (float) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 float x = (float) vh.getAndAddRelease(recv, 1.0f, Void.class); in testInstanceFieldWrongMethodType() 1324 float x = (float) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1328 Void r = (Void) vh.getAndAddRelease(1.0f); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeDouble.java | 707 double x = (double) vh.getAndAddRelease(null, 1.0d); in testInstanceFieldWrongMethodType() 710 double x = (double) vh.getAndAddRelease(Void.class, 1.0d); in testInstanceFieldWrongMethodType() 713 double x = (double) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 double x = (double) vh.getAndAddRelease(0, 1.0d); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, 1.0d); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, 1.0d); in testInstanceFieldWrongMethodType() 727 double x = (double) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 double x = (double) vh.getAndAddRelease(recv, 1.0d, Void.class); in testInstanceFieldWrongMethodType() 1324 double x = (double) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1328 Void r = (Void) vh.getAndAddRelease(1.0d); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 707 byte x = (byte) vh.getAndAddRelease(null, (byte)0x01); in testInstanceFieldWrongMethodType() 710 byte x = (byte) vh.getAndAddRelease(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 713 byte x = (byte) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 byte x = (byte) vh.getAndAddRelease(0, (byte)0x01); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 727 byte x = (byte) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 byte x = (byte) vh.getAndAddRelease(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 1628 byte x = (byte) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1632 Void r = (Void) vh.getAndAddRelease((byte)0x01); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 707 char x = (char) vh.getAndAddRelease(null, '\u0123'); in testInstanceFieldWrongMethodType() 710 char x = (char) vh.getAndAddRelease(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 713 char x = (char) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 char x = (char) vh.getAndAddRelease(0, '\u0123'); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, '\u0123'); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, '\u0123'); in testInstanceFieldWrongMethodType() 727 char x = (char) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 char x = (char) vh.getAndAddRelease(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 1628 char x = (char) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1632 Void r = (Void) vh.getAndAddRelease('\u0123'); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 707 short x = (short) vh.getAndAddRelease(null, (short)0x0123); in testInstanceFieldWrongMethodType() 710 short x = (short) vh.getAndAddRelease(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 713 short x = (short) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 short x = (short) vh.getAndAddRelease(0, (short)0x0123); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 727 short x = (short) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 short x = (short) vh.getAndAddRelease(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 1628 short x = (short) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1632 Void r = (Void) vh.getAndAddRelease((short)0x0123); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 707 int x = (int) vh.getAndAddRelease(null, 0x01234567); in testInstanceFieldWrongMethodType() 710 int x = (int) vh.getAndAddRelease(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 713 int x = (int) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 int x = (int) vh.getAndAddRelease(0, 0x01234567); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, 0x01234567); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, 0x01234567); in testInstanceFieldWrongMethodType() 727 int x = (int) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 int x = (int) vh.getAndAddRelease(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 1628 int x = (int) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1632 Void r = (Void) vh.getAndAddRelease(0x01234567); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 707 long x = (long) vh.getAndAddRelease(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 710 long x = (long) vh.getAndAddRelease(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 713 long x = (long) vh.getAndAddRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 716 long x = (long) vh.getAndAddRelease(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 720 Void r = (Void) vh.getAndAddRelease(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 723 boolean x = (boolean) vh.getAndAddRelease(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 727 long x = (long) vh.getAndAddRelease(); in testInstanceFieldWrongMethodType() 730 long x = (long) vh.getAndAddRelease(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 1628 long x = (long) vh.getAndAddRelease(Void.class); in testStaticFieldWrongMethodType() 1632 Void r = (Void) vh.getAndAddRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 84 r = vh::getAndAddRelease; in testMethodReferences()
|
D | X-VarHandleTestAccess.java.template | 382 $type$ o = ($type$) vh.getAndAddRelease(recv, $value1$); 526 $type$ o = ($type$) vh.getAndAddRelease($value1$); 752 $type$ o = ($type$) vh.getAndAddRelease(recv, $value2$); 753 assertEquals(o, $value1$, "getAndAddRelease$type$"); 755 assertEquals(x, ($type$)($value1$ + $value2$), "getAndAddRelease $type$ value"); 903 $type$ o = ($type$) vh.getAndAddRelease(recv, $value1$); 1129 $type$ o = ($type$) vh.getAndAddRelease($value2$); 1130 assertEquals(o, $value1$, "getAndAddRelease$type$"); 1132 assertEquals(x, ($type$)($value1$ + $value2$), "getAndAddRelease $type$ value"); 1280 $type$ o = ($type$) vh.getAndAddRelease($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 329 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 465 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 569 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 738 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 750 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 884 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 1024 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 1170 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 1307 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); 1446 $type$ o = ($type$) vh.getAndAddRelease(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsInt.java | 294 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayNPE() 424 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayNPE() 552 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 689 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 829 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 960 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1093 int o = (int) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1326 int o = (int) vh.getAndAddRelease(array, i, VALUE_2); in testArrayReadWrite() 1609 int o = (int) vh.getAndAddRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsLong.java | 294 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayNPE() 424 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayNPE() 552 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 689 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 829 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 960 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1093 long o = (long) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1326 long o = (long) vh.getAndAddRelease(array, i, VALUE_2); in testArrayReadWrite() 1609 long o = (long) vh.getAndAddRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessBoolean.java | 289 boolean o = (boolean) vh.getAndAddRelease(recv, true); in testInstanceFinalFieldUnsupported() 349 boolean o = (boolean) vh.getAndAddRelease(true); in testStaticFinalFieldUnsupported() 609 boolean o = (boolean) vh.getAndAddRelease(recv, true); in testInstanceFieldUnsupported() 869 boolean o = (boolean) vh.getAndAddRelease(true); in testStaticFieldUnsupported() 1136 boolean o = (boolean) vh.getAndAddRelease(array, i, true); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 296 String o = (String) vh.getAndAddRelease(recv, "foo"); in testInstanceFinalFieldUnsupported() 391 String o = (String) vh.getAndAddRelease("foo"); in testStaticFinalFieldUnsupported() 603 String o = (String) vh.getAndAddRelease(recv, "foo"); in testInstanceFieldUnsupported() 815 String o = (String) vh.getAndAddRelease("foo"); in testStaticFieldUnsupported() 1034 String o = (String) vh.getAndAddRelease(array, i, "foo"); in testArrayUnsupported()
|
D | VarHandleTestAccessDouble.java | 582 double o = (double) vh.getAndAddRelease(recv, 2.0d); in testInstanceField() 810 double o = (double) vh.getAndAddRelease(2.0d); in testStaticField() 1041 double o = (double) vh.getAndAddRelease(array, i, 2.0d); in testArray() 1184 double o = (double) vh.getAndAddRelease(array, ci, 1.0d); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessFloat.java | 582 float o = (float) vh.getAndAddRelease(recv, 2.0f); in testInstanceField() 810 float o = (float) vh.getAndAddRelease(2.0f); in testStaticField() 1041 float o = (float) vh.getAndAddRelease(array, i, 2.0f); in testArray() 1184 float o = (float) vh.getAndAddRelease(array, ci, 1.0f); in testArrayIndexOutOfBounds()
|
D | X-VarHandleTestMethodType.java.template | 710 $type$ x = ($type$) vh.getAndAddRelease(null, $value1$); 713 $type$ x = ($type$) vh.getAndAddRelease(Void.class, $value1$); 716 $type$ x = ($type$) vh.getAndAddRelease(recv, Void.class); 719 $type$ x = ($type$) vh.getAndAddRelease(0, $value1$); 723 Void r = (Void) vh.getAndAddRelease(recv, $value1$); 726 $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndAddRelease(recv, $value1$); 730 $type$ x = ($type$) vh.getAndAddRelease(); 733 $type$ x = ($type$) vh.getAndAddRelease(recv, $value1$, Void.class); 1643 $type$ x = ($type$) vh.getAndAddRelease(Void.class); 1647 Void r = (Void) vh.getAndAddRelease($value1$); [all …]
|
D | VarHandleTestAccessInt.java | 512 int o = (int) vh.getAndAddRelease(recv, 0x89ABCDEF); in testInstanceField() 788 int o = (int) vh.getAndAddRelease(0x89ABCDEF); in testStaticField() 1067 int o = (int) vh.getAndAddRelease(array, i, 0x89ABCDEF); in testArray() 1258 int o = (int) vh.getAndAddRelease(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 512 long o = (long) vh.getAndAddRelease(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 788 long o = (long) vh.getAndAddRelease(0xCAFEBABECAFEBABEL); in testStaticField() 1067 long o = (long) vh.getAndAddRelease(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1258 long o = (long) vh.getAndAddRelease(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 512 char o = (char) vh.getAndAddRelease(recv, '\u4567'); in testInstanceField() 788 char o = (char) vh.getAndAddRelease('\u4567'); in testStaticField() 1067 char o = (char) vh.getAndAddRelease(array, i, '\u4567'); in testArray() 1258 char o = (char) vh.getAndAddRelease(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 512 short o = (short) vh.getAndAddRelease(recv, (short)0x4567); in testInstanceField() 788 short o = (short) vh.getAndAddRelease((short)0x4567); in testStaticField() 1067 short o = (short) vh.getAndAddRelease(array, i, (short)0x4567); in testArray() 1258 short o = (short) vh.getAndAddRelease(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 512 byte o = (byte) vh.getAndAddRelease(recv, (byte)0x23); in testInstanceField() 788 byte o = (byte) vh.getAndAddRelease((byte)0x23); in testStaticField() 1067 byte o = (byte) vh.getAndAddRelease(array, i, (byte)0x23); in testArray() 1258 byte o = (byte) vh.getAndAddRelease(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsChar.java | 344 char o = (char) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 461 char o = (char) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 553 char o = (char) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsShort.java | 344 short o = (short) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 461 short o = (short) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported() 553 short o = (short) vh.getAndAddRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 222 NATIVE_METHOD(VarHandle, getAndAddRelease, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|