/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleMethodReferenceTest.java | 90 r = vh::getAndBitwiseAndRelease; in testMethodReferences()
|
D | VarHandleTestMethodTypeBoolean.java | 800 boolean x = (boolean) vh.getAndBitwiseAndRelease(null, true); in testInstanceFieldWrongMethodType() 1570 boolean x = (boolean) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1574 Void r = (Void) vh.getAndBitwiseAndRelease(true); in testStaticFieldWrongMethodType() 1577 int x = (int) vh.getAndBitwiseAndRelease(true); in testStaticFieldWrongMethodType() 1581 boolean x = (boolean) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1584 boolean x = (boolean) vh.getAndBitwiseAndRelease(true, Void.class); in testStaticFieldWrongMethodType() 2540 boolean x = (boolean) vh.getAndBitwiseAndRelease(null, 0, true); in testArrayWrongMethodType() 2543 boolean x = (boolean) vh.getAndBitwiseAndRelease(Void.class, 0, true); in testArrayWrongMethodType() 2546 boolean x = (boolean) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2549 boolean x = (boolean) vh.getAndBitwiseAndRelease(0, 0, true); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 886 long x = (long) vh.getAndBitwiseAndRelease(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 1753 long x = (long) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1757 Void r = (Void) vh.getAndBitwiseAndRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() 1760 boolean x = (boolean) vh.getAndBitwiseAndRelease(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() 1764 long x = (long) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1767 long x = (long) vh.getAndBitwiseAndRelease(0x0123456789ABCDEFL, Void.class); in testStaticFieldWrongMethodType() 2845 long x = (long) vh.getAndBitwiseAndRelease(null, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() 2848 long x = (long) vh.getAndBitwiseAndRelease(Void.class, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() 2851 long x = (long) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2854 long x = (long) vh.getAndBitwiseAndRelease(0, 0, 0x0123456789ABCDEFL); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 886 int x = (int) vh.getAndBitwiseAndRelease(null, 0x01234567); in testInstanceFieldWrongMethodType() 1753 int x = (int) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1757 Void r = (Void) vh.getAndBitwiseAndRelease(0x01234567); in testStaticFieldWrongMethodType() 1760 boolean x = (boolean) vh.getAndBitwiseAndRelease(0x01234567); in testStaticFieldWrongMethodType() 1764 int x = (int) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1767 int x = (int) vh.getAndBitwiseAndRelease(0x01234567, Void.class); in testStaticFieldWrongMethodType() 2845 int x = (int) vh.getAndBitwiseAndRelease(null, 0, 0x01234567); in testArrayWrongMethodType() 2848 int x = (int) vh.getAndBitwiseAndRelease(Void.class, 0, 0x01234567); in testArrayWrongMethodType() 2851 int x = (int) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2854 int x = (int) vh.getAndBitwiseAndRelease(0, 0, 0x01234567); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 886 byte x = (byte) vh.getAndBitwiseAndRelease(null, (byte)0x01); in testInstanceFieldWrongMethodType() 1753 byte x = (byte) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1757 Void r = (Void) vh.getAndBitwiseAndRelease((byte)0x01); in testStaticFieldWrongMethodType() 1760 boolean x = (boolean) vh.getAndBitwiseAndRelease((byte)0x01); in testStaticFieldWrongMethodType() 1764 byte x = (byte) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1767 byte x = (byte) vh.getAndBitwiseAndRelease((byte)0x01, Void.class); in testStaticFieldWrongMethodType() 2845 byte x = (byte) vh.getAndBitwiseAndRelease(null, 0, (byte)0x01); in testArrayWrongMethodType() 2848 byte x = (byte) vh.getAndBitwiseAndRelease(Void.class, 0, (byte)0x01); in testArrayWrongMethodType() 2851 byte x = (byte) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2854 byte x = (byte) vh.getAndBitwiseAndRelease(0, 0, (byte)0x01); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 886 short x = (short) vh.getAndBitwiseAndRelease(null, (short)0x0123); in testInstanceFieldWrongMethodType() 1753 short x = (short) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1757 Void r = (Void) vh.getAndBitwiseAndRelease((short)0x0123); in testStaticFieldWrongMethodType() 1760 boolean x = (boolean) vh.getAndBitwiseAndRelease((short)0x0123); in testStaticFieldWrongMethodType() 1764 short x = (short) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1767 short x = (short) vh.getAndBitwiseAndRelease((short)0x0123, Void.class); in testStaticFieldWrongMethodType() 2845 short x = (short) vh.getAndBitwiseAndRelease(null, 0, (short)0x0123); in testArrayWrongMethodType() 2848 short x = (short) vh.getAndBitwiseAndRelease(Void.class, 0, (short)0x0123); in testArrayWrongMethodType() 2851 short x = (short) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2854 short x = (short) vh.getAndBitwiseAndRelease(0, 0, (short)0x0123); in testArrayWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 886 char x = (char) vh.getAndBitwiseAndRelease(null, '\u0123'); in testInstanceFieldWrongMethodType() 1753 char x = (char) vh.getAndBitwiseAndRelease(Void.class); in testStaticFieldWrongMethodType() 1757 Void r = (Void) vh.getAndBitwiseAndRelease('\u0123'); in testStaticFieldWrongMethodType() 1760 boolean x = (boolean) vh.getAndBitwiseAndRelease('\u0123'); in testStaticFieldWrongMethodType() 1764 char x = (char) vh.getAndBitwiseAndRelease(); in testStaticFieldWrongMethodType() 1767 char x = (char) vh.getAndBitwiseAndRelease('\u0123', Void.class); in testStaticFieldWrongMethodType() 2845 char x = (char) vh.getAndBitwiseAndRelease(null, 0, '\u0123'); in testArrayWrongMethodType() 2848 char x = (char) vh.getAndBitwiseAndRelease(Void.class, 0, '\u0123'); in testArrayWrongMethodType() 2851 char x = (char) vh.getAndBitwiseAndRelease(array, 0, Void.class); in testArrayWrongMethodType() 2854 char x = (char) vh.getAndBitwiseAndRelease(0, 0, '\u0123'); in testArrayWrongMethodType() [all …]
|
D | X-VarHandleTestAccess.java.template | 408 $type$ o = ($type$) vh.getAndBitwiseAndRelease(recv, $value1$); 552 $type$ o = ($type$) vh.getAndBitwiseAndRelease($value1$); 810 $type$ o = ($type$) vh.getAndBitwiseAndRelease(recv, $value2$); 811 assertEquals(o, $value1$, "getAndBitwiseAndRelease $type$"); 813 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndRelease $type$ value"); 929 $type$ o = ($type$) vh.getAndBitwiseAndRelease(recv, $value1$); 1187 $type$ o = ($type$) vh.getAndBitwiseAndRelease($value2$); 1188 assertEquals(o, $value1$, "getAndBitwiseAndRelease $type$"); 1190 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndRelease $type$ value"); 1306 $type$ o = ($type$) vh.getAndBitwiseAndRelease($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 355 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 491 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 595 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 776 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 812 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 909 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 1050 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 1196 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 1333 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); 1472 $type$ o = ($type$) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsLong.java | 318 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayNPE() 448 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayNPE() 576 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 713 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 853 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 984 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1117 long o = (long) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1382 long o = (long) vh.getAndBitwiseAndRelease(array, i, VALUE_2); in testArrayReadWrite() 1665 long o = (long) vh.getAndBitwiseAndRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsInt.java | 318 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayNPE() 448 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayNPE() 576 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 713 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 853 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 984 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1117 int o = (int) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayMisalignedAccess() 1382 int o = (int) vh.getAndBitwiseAndRelease(array, i, VALUE_2); in testArrayReadWrite() 1665 int o = (int) vh.getAndBitwiseAndRelease(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessDouble.java | 302 double o = (double) vh.getAndBitwiseAndRelease(recv, 1.0d); in testInstanceFinalFieldUnsupported() 386 double o = (double) vh.getAndBitwiseAndRelease(1.0d); in testStaticFinalFieldUnsupported() 614 double o = (double) vh.getAndBitwiseAndRelease(recv, 1.0d); in testInstanceFieldUnsupported() 842 double o = (double) vh.getAndBitwiseAndRelease(1.0d); in testStaticFieldUnsupported() 1077 double o = (double) vh.getAndBitwiseAndRelease(array, i, 1.0d); in testArrayUnsupported()
|
D | VarHandleTestAccessFloat.java | 302 float o = (float) vh.getAndBitwiseAndRelease(recv, 1.0f); in testInstanceFinalFieldUnsupported() 386 float o = (float) vh.getAndBitwiseAndRelease(1.0f); in testStaticFinalFieldUnsupported() 614 float o = (float) vh.getAndBitwiseAndRelease(recv, 1.0f); in testInstanceFieldUnsupported() 842 float o = (float) vh.getAndBitwiseAndRelease(1.0f); in testStaticFieldUnsupported() 1077 float o = (float) vh.getAndBitwiseAndRelease(array, i, 1.0f); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 320 String o = (String) vh.getAndBitwiseAndRelease(recv, "foo"); in testInstanceFinalFieldUnsupported() 415 String o = (String) vh.getAndBitwiseAndRelease("foo"); in testStaticFinalFieldUnsupported() 627 String o = (String) vh.getAndBitwiseAndRelease(recv, "foo"); in testInstanceFieldUnsupported() 839 String o = (String) vh.getAndBitwiseAndRelease("foo"); in testStaticFieldUnsupported() 1058 String o = (String) vh.getAndBitwiseAndRelease(array, i, "foo"); in testArrayUnsupported()
|
D | VarHandleTestAccessBoolean.java | 563 boolean o = (boolean) vh.getAndBitwiseAndRelease(recv, false); in testInstanceField() 823 boolean o = (boolean) vh.getAndBitwiseAndRelease(false); in testStaticField() 1086 boolean o = (boolean) vh.getAndBitwiseAndRelease(array, i, false); in testArray() 1245 boolean o = (boolean) vh.getAndBitwiseAndRelease(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 568 byte o = (byte) vh.getAndBitwiseAndRelease(recv, (byte)0x23); in testInstanceField() 844 byte o = (byte) vh.getAndBitwiseAndRelease((byte)0x23); in testStaticField() 1123 byte o = (byte) vh.getAndBitwiseAndRelease(array, i, (byte)0x23); in testArray() 1282 byte o = (byte) vh.getAndBitwiseAndRelease(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 568 int o = (int) vh.getAndBitwiseAndRelease(recv, 0x89ABCDEF); in testInstanceField() 844 int o = (int) vh.getAndBitwiseAndRelease(0x89ABCDEF); in testStaticField() 1123 int o = (int) vh.getAndBitwiseAndRelease(array, i, 0x89ABCDEF); in testArray() 1282 int o = (int) vh.getAndBitwiseAndRelease(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 568 short o = (short) vh.getAndBitwiseAndRelease(recv, (short)0x4567); in testInstanceField() 844 short o = (short) vh.getAndBitwiseAndRelease((short)0x4567); in testStaticField() 1123 short o = (short) vh.getAndBitwiseAndRelease(array, i, (short)0x4567); in testArray() 1282 short o = (short) vh.getAndBitwiseAndRelease(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 568 long o = (long) vh.getAndBitwiseAndRelease(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 844 long o = (long) vh.getAndBitwiseAndRelease(0xCAFEBABECAFEBABEL); in testStaticField() 1123 long o = (long) vh.getAndBitwiseAndRelease(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1282 long o = (long) vh.getAndBitwiseAndRelease(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 568 char o = (char) vh.getAndBitwiseAndRelease(recv, '\u4567'); in testInstanceField() 844 char o = (char) vh.getAndBitwiseAndRelease('\u4567'); in testStaticField() 1123 char o = (char) vh.getAndBitwiseAndRelease(array, i, '\u4567'); in testArray() 1282 char o = (char) vh.getAndBitwiseAndRelease(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsShort.java | 368 short o = (short) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 485 short o = (short) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 576 short o = (short) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsChar.java | 368 char o = (char) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 485 char o = (char) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported() 576 char o = (char) vh.getAndBitwiseAndRelease(array, ci, VALUE_1); in testArrayUnsupported()
|
D | X-VarHandleTestMethodHandleAccess.java.template | 345 assertEquals(o, $value1$, "getAndBitwiseAndRelease $type$"); 347 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndRelease $type$ value"); 662 assertEquals(o, $value1$, "getAndBitwiseAndRelease $type$"); 664 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndRelease $type$ value"); 980 assertEquals(o, $value1$, "getAndBitwiseAndRelease $type$"); 982 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndRelease $type$ value");
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 88 public final native java.lang.Object getAndBitwiseAndRelease(java.lang.Object... args); in getAndBitwiseAndRelease() method in VarHandle
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 225 NATIVE_METHOD(VarHandle, getAndBitwiseAndRelease, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|