/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeBoolean.java | 770 boolean x = (boolean) vh.getAndBitwiseAndAcquire(null, true); in testInstanceFieldWrongMethodType() 773 boolean x = (boolean) vh.getAndBitwiseAndAcquire(Void.class, true); in testInstanceFieldWrongMethodType() 776 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 779 boolean x = (boolean) vh.getAndBitwiseAndAcquire(0, true); in testInstanceFieldWrongMethodType() 783 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, true); in testInstanceFieldWrongMethodType() 786 int x = (int) vh.getAndBitwiseAndAcquire(recv, true); in testInstanceFieldWrongMethodType() 790 boolean x = (boolean) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 793 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, true, Void.class); in testInstanceFieldWrongMethodType() 1549 boolean x = (boolean) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1553 Void r = (Void) vh.getAndBitwiseAndAcquire(true); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 856 byte x = (byte) vh.getAndBitwiseAndAcquire(null, (byte)0x01); in testInstanceFieldWrongMethodType() 859 byte x = (byte) vh.getAndBitwiseAndAcquire(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 862 byte x = (byte) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 865 byte x = (byte) vh.getAndBitwiseAndAcquire(0, (byte)0x01); in testInstanceFieldWrongMethodType() 869 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 872 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 876 byte x = (byte) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 879 byte x = (byte) vh.getAndBitwiseAndAcquire(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 1732 byte x = (byte) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1736 Void r = (Void) vh.getAndBitwiseAndAcquire((byte)0x01); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 856 char x = (char) vh.getAndBitwiseAndAcquire(null, '\u0123'); in testInstanceFieldWrongMethodType() 859 char x = (char) vh.getAndBitwiseAndAcquire(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 862 char x = (char) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 865 char x = (char) vh.getAndBitwiseAndAcquire(0, '\u0123'); in testInstanceFieldWrongMethodType() 869 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 872 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, '\u0123'); in testInstanceFieldWrongMethodType() 876 char x = (char) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 879 char x = (char) vh.getAndBitwiseAndAcquire(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 1732 char x = (char) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1736 Void r = (Void) vh.getAndBitwiseAndAcquire('\u0123'); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 856 short x = (short) vh.getAndBitwiseAndAcquire(null, (short)0x0123); in testInstanceFieldWrongMethodType() 859 short x = (short) vh.getAndBitwiseAndAcquire(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 862 short x = (short) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 865 short x = (short) vh.getAndBitwiseAndAcquire(0, (short)0x0123); in testInstanceFieldWrongMethodType() 869 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 872 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 876 short x = (short) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 879 short x = (short) vh.getAndBitwiseAndAcquire(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 1732 short x = (short) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1736 Void r = (Void) vh.getAndBitwiseAndAcquire((short)0x0123); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 856 int x = (int) vh.getAndBitwiseAndAcquire(null, 0x01234567); in testInstanceFieldWrongMethodType() 859 int x = (int) vh.getAndBitwiseAndAcquire(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 862 int x = (int) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 865 int x = (int) vh.getAndBitwiseAndAcquire(0, 0x01234567); in testInstanceFieldWrongMethodType() 869 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 872 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, 0x01234567); in testInstanceFieldWrongMethodType() 876 int x = (int) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 879 int x = (int) vh.getAndBitwiseAndAcquire(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 1732 int x = (int) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1736 Void r = (Void) vh.getAndBitwiseAndAcquire(0x01234567); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 856 long x = (long) vh.getAndBitwiseAndAcquire(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 859 long x = (long) vh.getAndBitwiseAndAcquire(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 862 long x = (long) vh.getAndBitwiseAndAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 865 long x = (long) vh.getAndBitwiseAndAcquire(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 869 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 872 boolean x = (boolean) vh.getAndBitwiseAndAcquire(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 876 long x = (long) vh.getAndBitwiseAndAcquire(); in testInstanceFieldWrongMethodType() 879 long x = (long) vh.getAndBitwiseAndAcquire(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 1732 long x = (long) vh.getAndBitwiseAndAcquire(Void.class); in testStaticFieldWrongMethodType() 1736 Void r = (Void) vh.getAndBitwiseAndAcquire(0x0123456789ABCDEFL); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 89 r = vh::getAndBitwiseAndAcquire; in testMethodReferences()
|
D | X-VarHandleTestAccess.java.template | 404 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(recv, $value1$); 548 $type$ o = ($type$) vh.getAndBitwiseAndAcquire($value1$); 801 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(recv, $value2$); 802 assertEquals(o, $value1$, "getAndBitwiseAndAcquire $type$"); 804 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndAcquire $type$ value"); 925 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(recv, $value1$); 1178 $type$ o = ($type$) vh.getAndBitwiseAndAcquire($value2$); 1179 assertEquals(o, $value1$, "getAndBitwiseAndAcquire $type$"); 1181 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndAcquire $type$ value"); 1302 $type$ o = ($type$) vh.getAndBitwiseAndAcquire($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 351 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 487 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 591 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 772 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 808 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 905 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 1046 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 1192 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 1329 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); 1468 $type$ o = ($type$) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsInt.java | 314 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayNPE() 444 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayNPE() 572 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 709 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 849 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 980 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1113 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1373 int o = (int) vh.getAndBitwiseAndAcquire(array, i, VALUE_2); in testArrayReadWrite() 1656 int o = (int) vh.getAndBitwiseAndAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsLong.java | 314 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayNPE() 444 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayNPE() 572 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 709 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 849 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 980 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1113 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayMisalignedAccess() 1373 long o = (long) vh.getAndBitwiseAndAcquire(array, i, VALUE_2); in testArrayReadWrite() 1656 long o = (long) vh.getAndBitwiseAndAcquire(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessDouble.java | 298 double o = (double) vh.getAndBitwiseAndAcquire(recv, 1.0d); in testInstanceFinalFieldUnsupported() 382 double o = (double) vh.getAndBitwiseAndAcquire(1.0d); in testStaticFinalFieldUnsupported() 610 double o = (double) vh.getAndBitwiseAndAcquire(recv, 1.0d); in testInstanceFieldUnsupported() 838 double o = (double) vh.getAndBitwiseAndAcquire(1.0d); in testStaticFieldUnsupported() 1073 double o = (double) vh.getAndBitwiseAndAcquire(array, i, 1.0d); in testArrayUnsupported()
|
D | VarHandleTestAccessFloat.java | 298 float o = (float) vh.getAndBitwiseAndAcquire(recv, 1.0f); in testInstanceFinalFieldUnsupported() 382 float o = (float) vh.getAndBitwiseAndAcquire(1.0f); in testStaticFinalFieldUnsupported() 610 float o = (float) vh.getAndBitwiseAndAcquire(recv, 1.0f); in testInstanceFieldUnsupported() 838 float o = (float) vh.getAndBitwiseAndAcquire(1.0f); in testStaticFieldUnsupported() 1073 float o = (float) vh.getAndBitwiseAndAcquire(array, i, 1.0f); in testArrayUnsupported()
|
D | VarHandleTestAccessString.java | 316 String o = (String) vh.getAndBitwiseAndAcquire(recv, "foo"); in testInstanceFinalFieldUnsupported() 411 String o = (String) vh.getAndBitwiseAndAcquire("foo"); in testStaticFinalFieldUnsupported() 623 String o = (String) vh.getAndBitwiseAndAcquire(recv, "foo"); in testInstanceFieldUnsupported() 835 String o = (String) vh.getAndBitwiseAndAcquire("foo"); in testStaticFieldUnsupported() 1054 String o = (String) vh.getAndBitwiseAndAcquire(array, i, "foo"); in testArrayUnsupported()
|
D | X-VarHandleTestMethodType.java.template | 861 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(null, $value1$); 864 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(Void.class, $value1$); 867 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(recv, Void.class); 870 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(0, $value1$); 874 Void r = (Void) vh.getAndBitwiseAndAcquire(recv, $value1$); 877 … $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndBitwiseAndAcquire(recv, $value1$); 881 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(); 884 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(recv, $value1$, Void.class); 1749 $type$ x = ($type$) vh.getAndBitwiseAndAcquire(Void.class); 1753 Void r = (Void) vh.getAndBitwiseAndAcquire($value1$); [all …]
|
D | VarHandleTestAccessBoolean.java | 554 boolean o = (boolean) vh.getAndBitwiseAndAcquire(recv, false); in testInstanceField() 814 boolean o = (boolean) vh.getAndBitwiseAndAcquire(false); in testStaticField() 1077 boolean o = (boolean) vh.getAndBitwiseAndAcquire(array, i, false); in testArray() 1241 boolean o = (boolean) vh.getAndBitwiseAndAcquire(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 559 int o = (int) vh.getAndBitwiseAndAcquire(recv, 0x89ABCDEF); in testInstanceField() 835 int o = (int) vh.getAndBitwiseAndAcquire(0x89ABCDEF); in testStaticField() 1114 int o = (int) vh.getAndBitwiseAndAcquire(array, i, 0x89ABCDEF); in testArray() 1278 int o = (int) vh.getAndBitwiseAndAcquire(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 559 long o = (long) vh.getAndBitwiseAndAcquire(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 835 long o = (long) vh.getAndBitwiseAndAcquire(0xCAFEBABECAFEBABEL); in testStaticField() 1114 long o = (long) vh.getAndBitwiseAndAcquire(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1278 long o = (long) vh.getAndBitwiseAndAcquire(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 559 char o = (char) vh.getAndBitwiseAndAcquire(recv, '\u4567'); in testInstanceField() 835 char o = (char) vh.getAndBitwiseAndAcquire('\u4567'); in testStaticField() 1114 char o = (char) vh.getAndBitwiseAndAcquire(array, i, '\u4567'); in testArray() 1278 char o = (char) vh.getAndBitwiseAndAcquire(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 559 short o = (short) vh.getAndBitwiseAndAcquire(recv, (short)0x4567); in testInstanceField() 835 short o = (short) vh.getAndBitwiseAndAcquire((short)0x4567); in testStaticField() 1114 short o = (short) vh.getAndBitwiseAndAcquire(array, i, (short)0x4567); in testArray() 1278 short o = (short) vh.getAndBitwiseAndAcquire(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 559 byte o = (byte) vh.getAndBitwiseAndAcquire(recv, (byte)0x23); in testInstanceField() 835 byte o = (byte) vh.getAndBitwiseAndAcquire((byte)0x23); in testStaticField() 1114 byte o = (byte) vh.getAndBitwiseAndAcquire(array, i, (byte)0x23); in testArray() 1278 byte o = (byte) vh.getAndBitwiseAndAcquire(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsChar.java | 364 char o = (char) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 481 char o = (char) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 572 char o = (char) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsShort.java | 364 short o = (short) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 481 short o = (short) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported() 572 short o = (short) vh.getAndBitwiseAndAcquire(array, ci, VALUE_1); in testArrayUnsupported()
|
D | X-VarHandleTestMethodHandleAccess.java.template | 336 assertEquals(o, $value1$, "getAndBitwiseAndAcquire $type$"); 338 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndAcquire $type$ value"); 653 assertEquals(o, $value1$, "getAndBitwiseAndAcquire $type$"); 655 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndAcquire $type$ value"); 971 assertEquals(o, $value1$, "getAndBitwiseAndAcquire $type$"); 973 assertEquals(x, ($type$)($value1$ & $value2$), "getAndBitwiseAndAcquire $type$ value");
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 224 NATIVE_METHOD(VarHandle, getAndBitwiseAndAcquire, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|