/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleMethodReferenceTest.java | 87 r = vh::getAndBitwiseOrRelease; in testMethodReferences()
|
D | VarHandleTestMethodTypeBoolean.java | 710 boolean x = (boolean) vh.getAndBitwiseOrRelease(null, true); in testInstanceFieldWrongMethodType() 1507 boolean x = (boolean) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1511 Void r = (Void) vh.getAndBitwiseOrRelease(true); in testStaticFieldWrongMethodType() 1514 int x = (int) vh.getAndBitwiseOrRelease(true); in testStaticFieldWrongMethodType() 1518 boolean x = (boolean) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1521 boolean x = (boolean) vh.getAndBitwiseOrRelease(true, Void.class); in testStaticFieldWrongMethodType() 2441 boolean x = (boolean) vh.getAndBitwiseOrRelease(null, 0, true); in testArrayWrongMethodType() 2444 boolean x = (boolean) vh.getAndBitwiseOrRelease(Void.class, 0, true); in testArrayWrongMethodType() 2447 boolean x = (boolean) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2450 boolean x = (boolean) vh.getAndBitwiseOrRelease(0, 0, true); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 796 long x = (long) vh.getAndBitwiseOrRelease(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 1690 long x = (long) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1694 Void r = (Void) vh.getAndBitwiseOrRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() 1697 boolean x = (boolean) vh.getAndBitwiseOrRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() 1701 long x = (long) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1704 long x = (long) vh.getAndBitwiseOrRelease(0x0123456789ABCDEFL, Void.class); in testStaticFieldWrongMethodType() 2746 long x = (long) vh.getAndBitwiseOrRelease(null, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() 2749 long x = (long) vh.getAndBitwiseOrRelease(Void.class, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() 2752 long x = (long) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2755 long x = (long) vh.getAndBitwiseOrRelease(0, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 796 int x = (int) vh.getAndBitwiseOrRelease(null, 0x01234567); in testInstanceFieldWrongMethodType() 1690 int x = (int) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1694 Void r = (Void) vh.getAndBitwiseOrRelease(0x01234567); in testStaticFieldWrongMethodType() 1697 boolean x = (boolean) vh.getAndBitwiseOrRelease(0x01234567); in testStaticFieldWrongMethodType() 1701 int x = (int) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1704 int x = (int) vh.getAndBitwiseOrRelease(0x01234567, Void.class); in testStaticFieldWrongMethodType() 2746 int x = (int) vh.getAndBitwiseOrRelease(null, 0, 0x01234567); in testArrayWrongMethodType() 2749 int x = (int) vh.getAndBitwiseOrRelease(Void.class, 0, 0x01234567); in testArrayWrongMethodType() 2752 int x = (int) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2755 int x = (int) vh.getAndBitwiseOrRelease(0, 0, 0x01234567); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 796 byte x = (byte) vh.getAndBitwiseOrRelease(null, (byte)0x01); in testInstanceFieldWrongMethodType() 1690 byte x = (byte) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1694 Void r = (Void) vh.getAndBitwiseOrRelease((byte)0x01); in testStaticFieldWrongMethodType() 1697 boolean x = (boolean) vh.getAndBitwiseOrRelease((byte)0x01); in testStaticFieldWrongMethodType() 1701 byte x = (byte) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1704 byte x = (byte) vh.getAndBitwiseOrRelease((byte)0x01, Void.class); in testStaticFieldWrongMethodType() 2746 byte x = (byte) vh.getAndBitwiseOrRelease(null, 0, (byte)0x01); in testArrayWrongMethodType() 2749 byte x = (byte) vh.getAndBitwiseOrRelease(Void.class, 0, (byte)0x01); in testArrayWrongMethodType() 2752 byte x = (byte) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2755 byte x = (byte) vh.getAndBitwiseOrRelease(0, 0, (byte)0x01); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 796 short x = (short) vh.getAndBitwiseOrRelease(null, (short)0x0123); in testInstanceFieldWrongMethodType() 1690 short x = (short) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1694 Void r = (Void) vh.getAndBitwiseOrRelease((short)0x0123); in testStaticFieldWrongMethodType() 1697 boolean x = (boolean) vh.getAndBitwiseOrRelease((short)0x0123); in testStaticFieldWrongMethodType() 1701 short x = (short) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1704 short x = (short) vh.getAndBitwiseOrRelease((short)0x0123, Void.class); in testStaticFieldWrongMethodType() 2746 short x = (short) vh.getAndBitwiseOrRelease(null, 0, (short)0x0123); in testArrayWrongMethodType() 2749 short x = (short) vh.getAndBitwiseOrRelease(Void.class, 0, (short)0x0123); in testArrayWrongMethodType() 2752 short x = (short) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2755 short x = (short) vh.getAndBitwiseOrRelease(0, 0, (short)0x0123); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 796 char x = (char) vh.getAndBitwiseOrRelease(null, '\u0123'); in testInstanceFieldWrongMethodType() 1690 char x = (char) vh.getAndBitwiseOrRelease(Void.class); in testStaticFieldWrongMethodType() 1694 Void r = (Void) vh.getAndBitwiseOrRelease('\u0123'); in testStaticFieldWrongMethodType() 1697 boolean x = (boolean) vh.getAndBitwiseOrRelease('\u0123'); in testStaticFieldWrongMethodType() 1701 char x = (char) vh.getAndBitwiseOrRelease(); in testStaticFieldWrongMethodType() 1704 char x = (char) vh.getAndBitwiseOrRelease('\u0123', Void.class); in testStaticFieldWrongMethodType() 2746 char x = (char) vh.getAndBitwiseOrRelease(null, 0, '\u0123'); in testArrayWrongMethodType() 2749 char x = (char) vh.getAndBitwiseOrRelease(Void.class, 0, '\u0123'); in testArrayWrongMethodType() 2752 char x = (char) vh.getAndBitwiseOrRelease(array, 0, Void.class); in testArrayWrongMethodType() 2755 char x = (char) vh.getAndBitwiseOrRelease(0, 0, '\u0123'); in testArrayWrongMethodType() [all …]
|
D | X-VarHandleTestAccess.java.template | 396 $type$ o = ($type$) vh.getAndBitwiseOrRelease(recv, $value1$); 540 $type$ o = ($type$) vh.getAndBitwiseOrRelease($value1$); 782 $type$ o = ($type$) vh.getAndBitwiseOrRelease(recv, $value2$); 783 assertEquals(o, $value1$, "getAndBitwiseOrRelease $type$"); 785 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrRelease $type$ value"); 917 $type$ o = ($type$) vh.getAndBitwiseOrRelease(recv, $value1$); 1159 $type$ o = ($type$) vh.getAndBitwiseOrRelease($value2$); 1160 assertEquals(o, $value1$, "getAndBitwiseOrRelease $type$"); 1162 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrRelease $type$ value"); 1294 $type$ o = ($type$) vh.getAndBitwiseOrRelease($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 343 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 479 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 583 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 764 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 800 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 897 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 1038 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 1184 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 1321 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); 1460 $type$ o = ($type$) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsLong.java | 306 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayNPE() 436 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayNPE() 564 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 701 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 841 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 972 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1105 long o = (long) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1354 long o = (long) vh.getAndBitwiseOrRelease(array, i, VALUE_2); in testArrayReadWrite() 1637 long o = (long) vh.getAndBitwiseOrRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsInt.java | 306 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayNPE() 436 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayNPE() 564 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 701 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 841 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 972 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1105 int o = (int) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1354 int o = (int) vh.getAndBitwiseOrRelease(array, i, VALUE_2); in testArrayReadWrite() 1637 int o = (int) vh.getAndBitwiseOrRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessDouble.java | 290 double o = (double) vh.getAndBitwiseOrRelease(recv, 1.0d); in testInstanceFinalFieldUnsupported() 374 double o = (double) vh.getAndBitwiseOrRelease(1.0d); in testStaticFinalFieldUnsupported() 602 double o = (double) vh.getAndBitwiseOrRelease(recv, 1.0d); in testInstanceFieldUnsupported() 830 double o = (double) vh.getAndBitwiseOrRelease(1.0d); in testStaticFieldUnsupported() 1065 double o = (double) vh.getAndBitwiseOrRelease(array, i, 1.0d); in testArrayUnsupported()
|
D | VarHandleTestAccessFloat.java | 290 float o = (float) vh.getAndBitwiseOrRelease(recv, 1.0f); in testInstanceFinalFieldUnsupported() 374 float o = (float) vh.getAndBitwiseOrRelease(1.0f); in testStaticFinalFieldUnsupported() 602 float o = (float) vh.getAndBitwiseOrRelease(recv, 1.0f); in testInstanceFieldUnsupported() 830 float o = (float) vh.getAndBitwiseOrRelease(1.0f); in testStaticFieldUnsupported() 1065 float o = (float) vh.getAndBitwiseOrRelease(array, i, 1.0f); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 308 String o = (String) vh.getAndBitwiseOrRelease(recv, "foo"); in testInstanceFinalFieldUnsupported() 403 String o = (String) vh.getAndBitwiseOrRelease("foo"); in testStaticFinalFieldUnsupported() 615 String o = (String) vh.getAndBitwiseOrRelease(recv, "foo"); in testInstanceFieldUnsupported() 827 String o = (String) vh.getAndBitwiseOrRelease("foo"); in testStaticFieldUnsupported() 1046 String o = (String) vh.getAndBitwiseOrRelease(array, i, "foo"); in testArrayUnsupported()
|
D | VarHandleTestAccessBoolean.java | 535 boolean o = (boolean) vh.getAndBitwiseOrRelease(recv, false); in testInstanceField() 795 boolean o = (boolean) vh.getAndBitwiseOrRelease(false); in testStaticField() 1058 boolean o = (boolean) vh.getAndBitwiseOrRelease(array, i, false); in testArray() 1233 boolean o = (boolean) vh.getAndBitwiseOrRelease(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 540 byte o = (byte) vh.getAndBitwiseOrRelease(recv, (byte)0x23); in testInstanceField() 816 byte o = (byte) vh.getAndBitwiseOrRelease((byte)0x23); in testStaticField() 1095 byte o = (byte) vh.getAndBitwiseOrRelease(array, i, (byte)0x23); in testArray() 1270 byte o = (byte) vh.getAndBitwiseOrRelease(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 540 int o = (int) vh.getAndBitwiseOrRelease(recv, 0x89ABCDEF); in testInstanceField() 816 int o = (int) vh.getAndBitwiseOrRelease(0x89ABCDEF); in testStaticField() 1095 int o = (int) vh.getAndBitwiseOrRelease(array, i, 0x89ABCDEF); in testArray() 1270 int o = (int) vh.getAndBitwiseOrRelease(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 540 short o = (short) vh.getAndBitwiseOrRelease(recv, (short)0x4567); in testInstanceField() 816 short o = (short) vh.getAndBitwiseOrRelease((short)0x4567); in testStaticField() 1095 short o = (short) vh.getAndBitwiseOrRelease(array, i, (short)0x4567); in testArray() 1270 short o = (short) vh.getAndBitwiseOrRelease(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 540 long o = (long) vh.getAndBitwiseOrRelease(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 816 long o = (long) vh.getAndBitwiseOrRelease(0xCAFEBABECAFEBABEL); in testStaticField() 1095 long o = (long) vh.getAndBitwiseOrRelease(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1270 long o = (long) vh.getAndBitwiseOrRelease(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 540 char o = (char) vh.getAndBitwiseOrRelease(recv, '\u4567'); in testInstanceField() 816 char o = (char) vh.getAndBitwiseOrRelease('\u4567'); in testStaticField() 1095 char o = (char) vh.getAndBitwiseOrRelease(array, i, '\u4567'); in testArray() 1270 char o = (char) vh.getAndBitwiseOrRelease(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsShort.java | 356 short o = (short) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 473 short o = (short) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 564 short o = (short) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsChar.java | 356 char o = (char) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 473 char o = (char) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported() 564 char o = (char) vh.getAndBitwiseOrRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
D | X-VarHandleTestMethodHandleAccess.java.template | 317 assertEquals(o, $value1$, "getAndBitwiseOrRelease $type$"); 319 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrRelease $type$ value"); 634 assertEquals(o, $value1$, "getAndBitwiseOrRelease $type$"); 636 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrRelease $type$ value"); 952 assertEquals(o, $value1$, "getAndBitwiseOrRelease $type$"); 954 assertEquals(x, ($type$)($value1$ | $value2$), "getAndBitwiseOrRelease $type$ value");
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 82 public final native java.lang.Object getAndBitwiseOrRelease(java.lang.Object... args); in getAndBitwiseOrRelease() method in VarHandle
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 228 NATIVE_METHOD(VarHandle, getAndBitwiseOrRelease, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|