/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeDouble.java | 620 double x = (double) vh.getAndSetRelease(null, 1.0d); in testInstanceFieldWrongMethodType() 623 double x = (double) vh.getAndSetRelease(Void.class, 1.0d); in testInstanceFieldWrongMethodType() 626 double x = (double) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 double x = (double) vh.getAndSetRelease(0, 1.0d); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, 1.0d); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, 1.0d); in testInstanceFieldWrongMethodType() 640 double x = (double) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 double x = (double) vh.getAndSetRelease(recv, 1.0d, Void.class); in testInstanceFieldWrongMethodType() 1262 double x = (double) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1266 Void r = (Void) vh.getAndSetRelease(1.0d); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeFloat.java | 620 float x = (float) vh.getAndSetRelease(null, 1.0f); in testInstanceFieldWrongMethodType() 623 float x = (float) vh.getAndSetRelease(Void.class, 1.0f); in testInstanceFieldWrongMethodType() 626 float x = (float) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 float x = (float) vh.getAndSetRelease(0, 1.0f); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, 1.0f); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, 1.0f); in testInstanceFieldWrongMethodType() 640 float x = (float) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 float x = (float) vh.getAndSetRelease(recv, 1.0f, Void.class); in testInstanceFieldWrongMethodType() 1262 float x = (float) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1266 Void r = (Void) vh.getAndSetRelease(1.0f); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeString.java | 620 String x = (String) vh.getAndSetRelease(null, "foo"); in testInstanceFieldWrongMethodType() 623 String x = (String) vh.getAndSetRelease(Void.class, "foo"); in testInstanceFieldWrongMethodType() 626 String x = (String) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 String x = (String) vh.getAndSetRelease(0, "foo"); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, "foo"); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, "foo"); in testInstanceFieldWrongMethodType() 640 String x = (String) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 String x = (String) vh.getAndSetRelease(recv, "foo", Void.class); in testInstanceFieldWrongMethodType() 1140 String x = (String) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1144 Void r = (Void) vh.getAndSetRelease("foo"); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeBoolean.java | 620 boolean x = (boolean) vh.getAndSetRelease(null, true); in testInstanceFieldWrongMethodType() 623 boolean x = (boolean) vh.getAndSetRelease(Void.class, true); in testInstanceFieldWrongMethodType() 626 boolean x = (boolean) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 boolean x = (boolean) vh.getAndSetRelease(0, true); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, true); in testInstanceFieldWrongMethodType() 636 int x = (int) vh.getAndSetRelease(recv, true); in testInstanceFieldWrongMethodType() 640 boolean x = (boolean) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 boolean x = (boolean) vh.getAndSetRelease(recv, true, Void.class); in testInstanceFieldWrongMethodType() 1444 boolean x = (boolean) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1448 Void r = (Void) vh.getAndSetRelease(true); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 620 long x = (long) vh.getAndSetRelease(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 623 long x = (long) vh.getAndSetRelease(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 626 long x = (long) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 long x = (long) vh.getAndSetRelease(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 640 long x = (long) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 long x = (long) vh.getAndSetRelease(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 1566 long x = (long) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1570 Void r = (Void) vh.getAndSetRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 620 int x = (int) vh.getAndSetRelease(null, 0x01234567); in testInstanceFieldWrongMethodType() 623 int x = (int) vh.getAndSetRelease(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 626 int x = (int) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 int x = (int) vh.getAndSetRelease(0, 0x01234567); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, 0x01234567); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, 0x01234567); in testInstanceFieldWrongMethodType() 640 int x = (int) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 int x = (int) vh.getAndSetRelease(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 1566 int x = (int) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1570 Void r = (Void) vh.getAndSetRelease(0x01234567); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 620 byte x = (byte) vh.getAndSetRelease(null, (byte)0x01); in testInstanceFieldWrongMethodType() 623 byte x = (byte) vh.getAndSetRelease(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 626 byte x = (byte) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 byte x = (byte) vh.getAndSetRelease(0, (byte)0x01); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 640 byte x = (byte) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 byte x = (byte) vh.getAndSetRelease(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 1566 byte x = (byte) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1570 Void r = (Void) vh.getAndSetRelease((byte)0x01); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 620 short x = (short) vh.getAndSetRelease(null, (short)0x0123); in testInstanceFieldWrongMethodType() 623 short x = (short) vh.getAndSetRelease(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 626 short x = (short) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 short x = (short) vh.getAndSetRelease(0, (short)0x0123); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 640 short x = (short) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 short x = (short) vh.getAndSetRelease(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 1566 short x = (short) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1570 Void r = (Void) vh.getAndSetRelease((short)0x0123); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 620 char x = (char) vh.getAndSetRelease(null, '\u0123'); in testInstanceFieldWrongMethodType() 623 char x = (char) vh.getAndSetRelease(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 626 char x = (char) vh.getAndSetRelease(recv, Void.class); in testInstanceFieldWrongMethodType() 629 char x = (char) vh.getAndSetRelease(0, '\u0123'); in testInstanceFieldWrongMethodType() 633 Void r = (Void) vh.getAndSetRelease(recv, '\u0123'); in testInstanceFieldWrongMethodType() 636 boolean x = (boolean) vh.getAndSetRelease(recv, '\u0123'); in testInstanceFieldWrongMethodType() 640 char x = (char) vh.getAndSetRelease(); in testInstanceFieldWrongMethodType() 643 char x = (char) vh.getAndSetRelease(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 1566 char x = (char) vh.getAndSetRelease(Void.class); in testStaticFieldWrongMethodType() 1570 Void r = (Void) vh.getAndSetRelease('\u0123'); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 81 r = vh::getAndSetRelease; in testMethodReferences()
|
D | VarHandleTestByteArrayAsFloat.java | 282 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 366 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 493 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayUnsupported() 677 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 771 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 856 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 943 float o = (float) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1114 float o = (float) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite() 1287 float o = (float) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsDouble.java | 282 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 366 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 493 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayUnsupported() 677 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 771 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 856 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 943 double o = (double) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1114 double o = (double) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite() 1287 double o = (double) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | X-VarHandleTestAccess.java.template | 368 $type$ r = ($type$) vh.getAndSetRelease(recv, $value1$); 512 $type$ r = ($type$) vh.getAndSetRelease($value1$); 722 $type$ o = ($type$) vh.getAndSetRelease(recv, $value2$); 723 assertEquals(o, $value1$, "getAndSetRelease $type$"); 725 assertEquals(x, $value2$, "getAndSetRelease $type$ value"); 889 $type$ r = ($type$) vh.getAndSetRelease(recv, $value1$); 1099 $type$ o = ($type$) vh.getAndSetRelease($value2$); 1100 assertEquals(o, $value1$, "getAndSetRelease $type$"); 1102 assertEquals(x, $value2$, "getAndSetRelease $type$ value"); 1266 $type$ r = ($type$) vh.getAndSetRelease($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 315 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 451 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 555 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 679 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 724 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 871 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 1010 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 1156 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 1293 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); 1432 $type$ o = ($type$) vh.getAndSetRelease(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsLong.java | 282 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 412 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 539 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayUnsupported() 677 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 817 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 948 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1081 long o = (long) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1298 long o = (long) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite() 1581 long o = (long) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsInt.java | 282 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 412 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayNPE() 539 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayUnsupported() 677 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 817 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 948 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1081 int o = (int) vh.getAndSetRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1298 int o = (int) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite() 1581 int o = (int) vh.getAndSetRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessString.java | 583 String o = (String) vh.getAndSetRelease(recv, "bar"); in testInstanceField() 795 String o = (String) vh.getAndSetRelease("bar"); in testStaticField() 1010 String o = (String) vh.getAndSetRelease(array, i, "bar"); in testArray() 1153 String o = (String) vh.getAndSetRelease(array, ci, "foo"); in testArrayIndexOutOfBounds() 1237 String x = (String) vh.getAndSetRelease(array, 0, value); in testArrayStoreException()
|
D | VarHandleTestAccessDouble.java | 554 double o = (double) vh.getAndSetRelease(recv, 2.0d); in testInstanceField() 782 double o = (double) vh.getAndSetRelease(2.0d); in testStaticField() 1013 double o = (double) vh.getAndSetRelease(array, i, 2.0d); in testArray() 1172 double o = (double) vh.getAndSetRelease(array, ci, 1.0d); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessFloat.java | 554 float o = (float) vh.getAndSetRelease(recv, 2.0f); in testInstanceField() 782 float o = (float) vh.getAndSetRelease(2.0f); in testStaticField() 1013 float o = (float) vh.getAndSetRelease(array, i, 2.0f); in testArray() 1172 float o = (float) vh.getAndSetRelease(array, ci, 1.0f); in testArrayIndexOutOfBounds()
|
D | X-VarHandleTestMethodType.java.template | 621 $type$ x = ($type$) vh.getAndSetRelease(null, $value1$); 624 $type$ x = ($type$) vh.getAndSetRelease(Void.class, $value1$); 627 $type$ x = ($type$) vh.getAndSetRelease(recv, Void.class); 630 $type$ x = ($type$) vh.getAndSetRelease(0, $value1$); 634 Void r = (Void) vh.getAndSetRelease(recv, $value1$); 637 $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndSetRelease(recv, $value1$); 641 $type$ x = ($type$) vh.getAndSetRelease(); 644 $type$ x = ($type$) vh.getAndSetRelease(recv, $value1$, Void.class); 1579 $type$ x = ($type$) vh.getAndSetRelease(Void.class); 1583 Void r = (Void) vh.getAndSetRelease($value1$); [all …]
|
D | VarHandleTestAccessBoolean.java | 506 boolean o = (boolean) vh.getAndSetRelease(recv, false); in testInstanceField() 766 boolean o = (boolean) vh.getAndSetRelease(false); in testStaticField() 1029 boolean o = (boolean) vh.getAndSetRelease(array, i, false); in testArray() 1220 boolean o = (boolean) vh.getAndSetRelease(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 484 byte o = (byte) vh.getAndSetRelease(recv, (byte)0x23); in testInstanceField() 760 byte o = (byte) vh.getAndSetRelease((byte)0x23); in testStaticField() 1039 byte o = (byte) vh.getAndSetRelease(array, i, (byte)0x23); in testArray() 1246 byte o = (byte) vh.getAndSetRelease(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 484 int o = (int) vh.getAndSetRelease(recv, 0x89ABCDEF); in testInstanceField() 760 int o = (int) vh.getAndSetRelease(0x89ABCDEF); in testStaticField() 1039 int o = (int) vh.getAndSetRelease(array, i, 0x89ABCDEF); in testArray() 1246 int o = (int) vh.getAndSetRelease(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 70 public final native java.lang.Object getAndSetRelease(java.lang.Object... args); in getAndSetRelease() method in VarHandle
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 234 NATIVE_METHOD(VarHandle, getAndSetRelease, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|