/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeBoolean.java | 680 boolean x = (boolean) vh.getAndBitwiseOrAcquire(null, true); in testInstanceFieldWrongMethodType() 683 boolean x = (boolean) vh.getAndBitwiseOrAcquire(Void.class, true); in testInstanceFieldWrongMethodType() 686 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 689 boolean x = (boolean) vh.getAndBitwiseOrAcquire(0, true); in testInstanceFieldWrongMethodType() 693 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, true); in testInstanceFieldWrongMethodType() 696 int x = (int) vh.getAndBitwiseOrAcquire(recv, true); in testInstanceFieldWrongMethodType() 700 boolean x = (boolean) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 703 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, true, Void.class); in testInstanceFieldWrongMethodType() 1486 boolean x = (boolean) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1490 Void r = (Void) vh.getAndBitwiseOrAcquire(true); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 766 long x = (long) vh.getAndBitwiseOrAcquire(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 769 long x = (long) vh.getAndBitwiseOrAcquire(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 772 long x = (long) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 775 long x = (long) vh.getAndBitwiseOrAcquire(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 779 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 782 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 786 long x = (long) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 789 long x = (long) vh.getAndBitwiseOrAcquire(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 1669 long x = (long) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1673 Void r = (Void) vh.getAndBitwiseOrAcquire(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 766 int x = (int) vh.getAndBitwiseOrAcquire(null, 0x01234567); in testInstanceFieldWrongMethodType() 769 int x = (int) vh.getAndBitwiseOrAcquire(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 772 int x = (int) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 775 int x = (int) vh.getAndBitwiseOrAcquire(0, 0x01234567); in testInstanceFieldWrongMethodType() 779 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 782 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 786 int x = (int) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 789 int x = (int) vh.getAndBitwiseOrAcquire(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 1669 int x = (int) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1673 Void r = (Void) vh.getAndBitwiseOrAcquire(0x01234567); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 766 byte x = (byte) vh.getAndBitwiseOrAcquire(null, (byte)0x01); in testInstanceFieldWrongMethodType() 769 byte x = (byte) vh.getAndBitwiseOrAcquire(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 772 byte x = (byte) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 775 byte x = (byte) vh.getAndBitwiseOrAcquire(0, (byte)0x01); in testInstanceFieldWrongMethodType() 779 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 782 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 786 byte x = (byte) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 789 byte x = (byte) vh.getAndBitwiseOrAcquire(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 1669 byte x = (byte) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1673 Void r = (Void) vh.getAndBitwiseOrAcquire((byte)0x01); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 766 short x = (short) vh.getAndBitwiseOrAcquire(null, (short)0x0123); in testInstanceFieldWrongMethodType() 769 short x = (short) vh.getAndBitwiseOrAcquire(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 772 short x = (short) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 775 short x = (short) vh.getAndBitwiseOrAcquire(0, (short)0x0123); in testInstanceFieldWrongMethodType() 779 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 782 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 786 short x = (short) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 789 short x = (short) vh.getAndBitwiseOrAcquire(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 1669 short x = (short) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1673 Void r = (Void) vh.getAndBitwiseOrAcquire((short)0x0123); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 766 char x = (char) vh.getAndBitwiseOrAcquire(null, '\u0123'); in testInstanceFieldWrongMethodType() 769 char x = (char) vh.getAndBitwiseOrAcquire(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 772 char x = (char) vh.getAndBitwiseOrAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 775 char x = (char) vh.getAndBitwiseOrAcquire(0, '\u0123'); in testInstanceFieldWrongMethodType() 779 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 782 boolean x = (boolean) vh.getAndBitwiseOrAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 786 char x = (char) vh.getAndBitwiseOrAcquire(); in testInstanceFieldWrongMethodType() 789 char x = (char) vh.getAndBitwiseOrAcquire(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 1669 char x = (char) vh.getAndBitwiseOrAcquire(Void.class); in testStaticFieldWrongMethodType() 1673 Void r = (Void) vh.getAndBitwiseOrAcquire('\u0123'); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 86 r = vh::getAndBitwiseOrAcquire; in testMethodReferences()
|
D | X-VarHandleTestAccess.java.template | 392 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(recv, $value1$); 536 $type$ o = ($type$) vh.getAndBitwiseOrAcquire($value1$); 773 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(recv, $value2$); 774 assertEquals(o, $value1$, "getAndBitwiseOrAcquire $type$"); 776 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrAcquire $type$ value"); 913 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(recv, $value1$); 1150 $type$ o = ($type$) vh.getAndBitwiseOrAcquire($value2$); 1151 assertEquals(o, $value1$, "getAndBitwiseOrAcquire $type$"); 1153 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrAcquire $type$ value"); 1290 $type$ o = ($type$) vh.getAndBitwiseOrAcquire($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 339 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 475 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 579 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 760 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 796 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 893 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 1034 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 1180 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 1317 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); 1456 $type$ o = ($type$) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsLong.java | 302 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayNPE() 432 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayNPE() 560 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 697 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 837 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 968 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1101 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1345 long o = (long) vh.getAndBitwiseOrAcquire(array, i, VALUE_2); in testArrayReadWrite() 1628 long o = (long) vh.getAndBitwiseOrAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsInt.java | 302 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayNPE() 432 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayNPE() 560 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 697 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 837 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 968 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1101 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1345 int o = (int) vh.getAndBitwiseOrAcquire(array, i, VALUE_2); in testArrayReadWrite() 1628 int o = (int) vh.getAndBitwiseOrAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessDouble.java | 286 double o = (double) vh.getAndBitwiseOrAcquire(recv, 1.0d); in testInstanceFinalFieldUnsupported() 370 double o = (double) vh.getAndBitwiseOrAcquire(1.0d); in testStaticFinalFieldUnsupported() 598 double o = (double) vh.getAndBitwiseOrAcquire(recv, 1.0d); in testInstanceFieldUnsupported() 826 double o = (double) vh.getAndBitwiseOrAcquire(1.0d); in testStaticFieldUnsupported() 1061 double o = (double) vh.getAndBitwiseOrAcquire(array, i, 1.0d); in testArrayUnsupported()
|
D | VarHandleTestAccessFloat.java | 286 float o = (float) vh.getAndBitwiseOrAcquire(recv, 1.0f); in testInstanceFinalFieldUnsupported() 370 float o = (float) vh.getAndBitwiseOrAcquire(1.0f); in testStaticFinalFieldUnsupported() 598 float o = (float) vh.getAndBitwiseOrAcquire(recv, 1.0f); in testInstanceFieldUnsupported() 826 float o = (float) vh.getAndBitwiseOrAcquire(1.0f); in testStaticFieldUnsupported() 1061 float o = (float) vh.getAndBitwiseOrAcquire(array, i, 1.0f); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 304 String o = (String) vh.getAndBitwiseOrAcquire(recv, "foo"); in testInstanceFinalFieldUnsupported() 399 String o = (String) vh.getAndBitwiseOrAcquire("foo"); in testStaticFinalFieldUnsupported() 611 String o = (String) vh.getAndBitwiseOrAcquire(recv, "foo"); in testInstanceFieldUnsupported() 823 String o = (String) vh.getAndBitwiseOrAcquire("foo"); in testStaticFieldUnsupported() 1042 String o = (String) vh.getAndBitwiseOrAcquire(array, i, "foo"); in testArrayUnsupported()
|
D | X-VarHandleTestMethodType.java.template | 771 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(null, $value1$); 774 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(Void.class, $value1$); 777 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(recv, Void.class); 780 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(0, $value1$); 784 Void r = (Void) vh.getAndBitwiseOrAcquire(recv, $value1$); 787 … $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndBitwiseOrAcquire(recv, $value1$); 791 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(); 794 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(recv, $value1$, Void.class); 1686 $type$ x = ($type$) vh.getAndBitwiseOrAcquire(Void.class); 1690 Void r = (Void) vh.getAndBitwiseOrAcquire($value1$); [all …]
|
D | VarHandleTestAccessBoolean.java | 526 boolean o = (boolean) vh.getAndBitwiseOrAcquire(recv, false); in testInstanceField() 786 boolean o = (boolean) vh.getAndBitwiseOrAcquire(false); in testStaticField() 1049 boolean o = (boolean) vh.getAndBitwiseOrAcquire(array, i, false); in testArray() 1229 boolean o = (boolean) vh.getAndBitwiseOrAcquire(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 531 byte o = (byte) vh.getAndBitwiseOrAcquire(recv, (byte)0x23); in testInstanceField() 807 byte o = (byte) vh.getAndBitwiseOrAcquire((byte)0x23); in testStaticField() 1086 byte o = (byte) vh.getAndBitwiseOrAcquire(array, i, (byte)0x23); in testArray() 1266 byte o = (byte) vh.getAndBitwiseOrAcquire(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 531 int o = (int) vh.getAndBitwiseOrAcquire(recv, 0x89ABCDEF); in testInstanceField() 807 int o = (int) vh.getAndBitwiseOrAcquire(0x89ABCDEF); in testStaticField() 1086 int o = (int) vh.getAndBitwiseOrAcquire(array, i, 0x89ABCDEF); in testArray() 1266 int o = (int) vh.getAndBitwiseOrAcquire(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 531 short o = (short) vh.getAndBitwiseOrAcquire(recv, (short)0x4567); in testInstanceField() 807 short o = (short) vh.getAndBitwiseOrAcquire((short)0x4567); in testStaticField() 1086 short o = (short) vh.getAndBitwiseOrAcquire(array, i, (short)0x4567); in testArray() 1266 short o = (short) vh.getAndBitwiseOrAcquire(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 531 long o = (long) vh.getAndBitwiseOrAcquire(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 807 long o = (long) vh.getAndBitwiseOrAcquire(0xCAFEBABECAFEBABEL); in testStaticField() 1086 long o = (long) vh.getAndBitwiseOrAcquire(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1266 long o = (long) vh.getAndBitwiseOrAcquire(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 531 char o = (char) vh.getAndBitwiseOrAcquire(recv, '\u4567'); in testInstanceField() 807 char o = (char) vh.getAndBitwiseOrAcquire('\u4567'); in testStaticField() 1086 char o = (char) vh.getAndBitwiseOrAcquire(array, i, '\u4567'); in testArray() 1266 char o = (char) vh.getAndBitwiseOrAcquire(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsShort.java | 352 short o = (short) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 469 short o = (short) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 560 short o = (short) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsChar.java | 352 char o = (char) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 469 char o = (char) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported() 560 char o = (char) vh.getAndBitwiseOrAcquire(array, ci, VALUE_1); in testArrayUnsupported()
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 80 public final native java.lang.Object getAndBitwiseOrAcquire(java.lang.Object... args); in getAndBitwiseOrAcquire() method in VarHandle
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 227 NATIVE_METHOD(VarHandle, getAndBitwiseOrAcquire, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|