/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeDouble.java | 678 double x = (double) vh.getAndAddAcquire(null, 1.0d); in testInstanceFieldWrongMethodType() 681 double x = (double) vh.getAndAddAcquire(Void.class, 1.0d); in testInstanceFieldWrongMethodType() 684 double x = (double) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 double x = (double) vh.getAndAddAcquire(0, 1.0d); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, 1.0d); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, 1.0d); in testInstanceFieldWrongMethodType() 698 double x = (double) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 double x = (double) vh.getAndAddAcquire(recv, 1.0d, Void.class); in testInstanceFieldWrongMethodType() 1303 double x = (double) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1307 Void r = (Void) vh.getAndAddAcquire(1.0d); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeFloat.java | 678 float x = (float) vh.getAndAddAcquire(null, 1.0f); in testInstanceFieldWrongMethodType() 681 float x = (float) vh.getAndAddAcquire(Void.class, 1.0f); in testInstanceFieldWrongMethodType() 684 float x = (float) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 float x = (float) vh.getAndAddAcquire(0, 1.0f); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, 1.0f); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, 1.0f); in testInstanceFieldWrongMethodType() 698 float x = (float) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 float x = (float) vh.getAndAddAcquire(recv, 1.0f, Void.class); in testInstanceFieldWrongMethodType() 1303 float x = (float) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1307 Void r = (Void) vh.getAndAddAcquire(1.0f); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 678 long x = (long) vh.getAndAddAcquire(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 681 long x = (long) vh.getAndAddAcquire(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 684 long x = (long) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 long x = (long) vh.getAndAddAcquire(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 698 long x = (long) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 long x = (long) vh.getAndAddAcquire(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 1607 long x = (long) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1611 Void r = (Void) vh.getAndAddAcquire(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 678 int x = (int) vh.getAndAddAcquire(null, 0x01234567); in testInstanceFieldWrongMethodType() 681 int x = (int) vh.getAndAddAcquire(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 684 int x = (int) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 int x = (int) vh.getAndAddAcquire(0, 0x01234567); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 698 int x = (int) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 int x = (int) vh.getAndAddAcquire(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 1607 int x = (int) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1611 Void r = (Void) vh.getAndAddAcquire(0x01234567); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 678 byte x = (byte) vh.getAndAddAcquire(null, (byte)0x01); in testInstanceFieldWrongMethodType() 681 byte x = (byte) vh.getAndAddAcquire(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 684 byte x = (byte) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 byte x = (byte) vh.getAndAddAcquire(0, (byte)0x01); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 698 byte x = (byte) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 byte x = (byte) vh.getAndAddAcquire(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 1607 byte x = (byte) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1611 Void r = (Void) vh.getAndAddAcquire((byte)0x01); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 678 short x = (short) vh.getAndAddAcquire(null, (short)0x0123); in testInstanceFieldWrongMethodType() 681 short x = (short) vh.getAndAddAcquire(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 684 short x = (short) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 short x = (short) vh.getAndAddAcquire(0, (short)0x0123); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 698 short x = (short) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 short x = (short) vh.getAndAddAcquire(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 1607 short x = (short) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1611 Void r = (Void) vh.getAndAddAcquire((short)0x0123); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 678 char x = (char) vh.getAndAddAcquire(null, '\u0123'); in testInstanceFieldWrongMethodType() 681 char x = (char) vh.getAndAddAcquire(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 684 char x = (char) vh.getAndAddAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 687 char x = (char) vh.getAndAddAcquire(0, '\u0123'); in testInstanceFieldWrongMethodType() 691 Void r = (Void) vh.getAndAddAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 694 boolean x = (boolean) vh.getAndAddAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 698 char x = (char) vh.getAndAddAcquire(); in testInstanceFieldWrongMethodType() 701 char x = (char) vh.getAndAddAcquire(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 1607 char x = (char) vh.getAndAddAcquire(Void.class); in testStaticFieldWrongMethodType() 1611 Void r = (Void) vh.getAndAddAcquire('\u0123'); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 83 r = vh::getAndAddAcquire; in testMethodReferences()
|
D | X-VarHandleTestAccess.java.template | 378 $type$ o = ($type$) vh.getAndAddAcquire(recv, $value1$); 522 $type$ o = ($type$) vh.getAndAddAcquire($value1$); 743 $type$ o = ($type$) vh.getAndAddAcquire(recv, $value2$); 744 assertEquals(o, $value1$, "getAndAddAcquire $type$"); 746 assertEquals(x, ($type$)($value1$ + $value2$), "getAndAddAcquire $type$ value"); 899 $type$ o = ($type$) vh.getAndAddAcquire(recv, $value1$); 1120 $type$ o = ($type$) vh.getAndAddAcquire($value2$); 1121 assertEquals(o, $value1$, "getAndAddAcquire $type$"); 1123 assertEquals(x, ($type$)($value1$ + $value2$), "getAndAddAcquire $type$ value"); 1276 $type$ o = ($type$) vh.getAndAddAcquire($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 325 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 461 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 565 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 734 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 746 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 880 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 1020 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 1166 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 1303 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); 1442 $type$ o = ($type$) vh.getAndAddAcquire(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsLong.java | 290 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayNPE() 420 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayNPE() 548 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayUnsupported() 685 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 825 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 956 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1089 long o = (long) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1317 long o = (long) vh.getAndAddAcquire(array, i, VALUE_2); in testArrayReadWrite() 1600 long o = (long) vh.getAndAddAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsInt.java | 290 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayNPE() 420 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayNPE() 548 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayUnsupported() 685 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 825 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 956 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1089 int o = (int) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1317 int o = (int) vh.getAndAddAcquire(array, i, VALUE_2); in testArrayReadWrite() 1600 int o = (int) vh.getAndAddAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessBoolean.java | 285 boolean o = (boolean) vh.getAndAddAcquire(recv, true); in testInstanceFinalFieldUnsupported() 345 boolean o = (boolean) vh.getAndAddAcquire(true); in testStaticFinalFieldUnsupported() 605 boolean o = (boolean) vh.getAndAddAcquire(recv, true); in testInstanceFieldUnsupported() 865 boolean o = (boolean) vh.getAndAddAcquire(true); in testStaticFieldUnsupported() 1132 boolean o = (boolean) vh.getAndAddAcquire(array, i, true); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 292 String o = (String) vh.getAndAddAcquire(recv, "foo"); in testInstanceFinalFieldUnsupported() 387 String o = (String) vh.getAndAddAcquire("foo"); in testStaticFinalFieldUnsupported() 599 String o = (String) vh.getAndAddAcquire(recv, "foo"); in testInstanceFieldUnsupported() 811 String o = (String) vh.getAndAddAcquire("foo"); in testStaticFieldUnsupported() 1030 String o = (String) vh.getAndAddAcquire(array, i, "foo"); in testArrayUnsupported()
|
D | VarHandleTestAccessDouble.java | 573 double o = (double) vh.getAndAddAcquire(recv, 2.0d); in testInstanceField() 801 double o = (double) vh.getAndAddAcquire(2.0d); in testStaticField() 1032 double o = (double) vh.getAndAddAcquire(array, i, 2.0d); in testArray() 1180 double o = (double) vh.getAndAddAcquire(array, ci, 1.0d); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessFloat.java | 573 float o = (float) vh.getAndAddAcquire(recv, 2.0f); in testInstanceField() 801 float o = (float) vh.getAndAddAcquire(2.0f); in testStaticField() 1032 float o = (float) vh.getAndAddAcquire(array, i, 2.0f); in testArray() 1180 float o = (float) vh.getAndAddAcquire(array, ci, 1.0f); in testArrayIndexOutOfBounds()
|
D | X-VarHandleTestMethodType.java.template | 681 $type$ x = ($type$) vh.getAndAddAcquire(null, $value1$); 684 $type$ x = ($type$) vh.getAndAddAcquire(Void.class, $value1$); 687 $type$ x = ($type$) vh.getAndAddAcquire(recv, Void.class); 690 $type$ x = ($type$) vh.getAndAddAcquire(0, $value1$); 694 Void r = (Void) vh.getAndAddAcquire(recv, $value1$); 697 $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndAddAcquire(recv, $value1$); 701 $type$ x = ($type$) vh.getAndAddAcquire(); 704 $type$ x = ($type$) vh.getAndAddAcquire(recv, $value1$, Void.class); 1622 $type$ x = ($type$) vh.getAndAddAcquire(Void.class); 1626 Void r = (Void) vh.getAndAddAcquire($value1$); [all …]
|
D | VarHandleTestAccessByte.java | 503 byte o = (byte) vh.getAndAddAcquire(recv, (byte)0x23); in testInstanceField() 779 byte o = (byte) vh.getAndAddAcquire((byte)0x23); in testStaticField() 1058 byte o = (byte) vh.getAndAddAcquire(array, i, (byte)0x23); in testArray() 1254 byte o = (byte) vh.getAndAddAcquire(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 503 int o = (int) vh.getAndAddAcquire(recv, 0x89ABCDEF); in testInstanceField() 779 int o = (int) vh.getAndAddAcquire(0x89ABCDEF); in testStaticField() 1058 int o = (int) vh.getAndAddAcquire(array, i, 0x89ABCDEF); in testArray() 1254 int o = (int) vh.getAndAddAcquire(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 503 short o = (short) vh.getAndAddAcquire(recv, (short)0x4567); in testInstanceField() 779 short o = (short) vh.getAndAddAcquire((short)0x4567); in testStaticField() 1058 short o = (short) vh.getAndAddAcquire(array, i, (short)0x4567); in testArray() 1254 short o = (short) vh.getAndAddAcquire(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 503 long o = (long) vh.getAndAddAcquire(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 779 long o = (long) vh.getAndAddAcquire(0xCAFEBABECAFEBABEL); in testStaticField() 1058 long o = (long) vh.getAndAddAcquire(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1254 long o = (long) vh.getAndAddAcquire(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 503 char o = (char) vh.getAndAddAcquire(recv, '\u4567'); in testInstanceField() 779 char o = (char) vh.getAndAddAcquire('\u4567'); in testStaticField() 1058 char o = (char) vh.getAndAddAcquire(array, i, '\u4567'); in testArray() 1254 char o = (char) vh.getAndAddAcquire(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsShort.java | 340 short o = (short) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayUnsupported() 457 short o = (short) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayUnsupported() 549 short o = (short) vh.getAndAddAcquire(array, ci, VALUE_1); in testArrayUnsupported()
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 74 public final native java.lang.Object getAndAddAcquire(java.lang.Object... args); in getAndAddAcquire() method in VarHandle
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 221 NATIVE_METHOD(VarHandle, getAndAddAcquire, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|