/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeBoolean.java | 830 boolean x = (boolean) vh.getAndBitwiseXor(null, true); in testInstanceFieldWrongMethodType() 833 boolean x = (boolean) vh.getAndBitwiseXor(Void.class, true); in testInstanceFieldWrongMethodType() 836 boolean x = (boolean) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 839 boolean x = (boolean) vh.getAndBitwiseXor(0, true); in testInstanceFieldWrongMethodType() 843 Void r = (Void) vh.getAndBitwiseXor(recv, true); in testInstanceFieldWrongMethodType() 846 int x = (int) vh.getAndBitwiseXor(recv, true); in testInstanceFieldWrongMethodType() 850 boolean x = (boolean) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 853 boolean x = (boolean) vh.getAndBitwiseXor(recv, true, Void.class); in testInstanceFieldWrongMethodType() 893 boolean x = (boolean) vh.getAndBitwiseXor(Void.class, true); in testInstanceFieldWrongMethodType() 896 boolean x = (boolean) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 916 byte x = (byte) vh.getAndBitwiseXor(null, (byte)0x01); in testInstanceFieldWrongMethodType() 919 byte x = (byte) vh.getAndBitwiseXor(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 922 byte x = (byte) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 925 byte x = (byte) vh.getAndBitwiseXor(0, (byte)0x01); in testInstanceFieldWrongMethodType() 929 Void r = (Void) vh.getAndBitwiseXor(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 932 boolean x = (boolean) vh.getAndBitwiseXor(recv, (byte)0x01); in testInstanceFieldWrongMethodType() 936 byte x = (byte) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 939 byte x = (byte) vh.getAndBitwiseXor(recv, (byte)0x01, Void.class); in testInstanceFieldWrongMethodType() 979 byte x = (byte) vh.getAndBitwiseXor(Void.class, (byte)0x01); in testInstanceFieldWrongMethodType() 982 byte x = (byte) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 916 char x = (char) vh.getAndBitwiseXor(null, '\u0123'); in testInstanceFieldWrongMethodType() 919 char x = (char) vh.getAndBitwiseXor(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 922 char x = (char) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 925 char x = (char) vh.getAndBitwiseXor(0, '\u0123'); in testInstanceFieldWrongMethodType() 929 Void r = (Void) vh.getAndBitwiseXor(recv, '\u0123'); in testInstanceFieldWrongMethodType() 932 boolean x = (boolean) vh.getAndBitwiseXor(recv, '\u0123'); in testInstanceFieldWrongMethodType() 936 char x = (char) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 939 char x = (char) vh.getAndBitwiseXor(recv, '\u0123', Void.class); in testInstanceFieldWrongMethodType() 979 char x = (char) vh.getAndBitwiseXor(Void.class, '\u0123'); in testInstanceFieldWrongMethodType() 982 char x = (char) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 916 short x = (short) vh.getAndBitwiseXor(null, (short)0x0123); in testInstanceFieldWrongMethodType() 919 short x = (short) vh.getAndBitwiseXor(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 922 short x = (short) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 925 short x = (short) vh.getAndBitwiseXor(0, (short)0x0123); in testInstanceFieldWrongMethodType() 929 Void r = (Void) vh.getAndBitwiseXor(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 932 boolean x = (boolean) vh.getAndBitwiseXor(recv, (short)0x0123); in testInstanceFieldWrongMethodType() 936 short x = (short) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 939 short x = (short) vh.getAndBitwiseXor(recv, (short)0x0123, Void.class); in testInstanceFieldWrongMethodType() 979 short x = (short) vh.getAndBitwiseXor(Void.class, (short)0x0123); in testInstanceFieldWrongMethodType() 982 short x = (short) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 916 int x = (int) vh.getAndBitwiseXor(null, 0x01234567); in testInstanceFieldWrongMethodType() 919 int x = (int) vh.getAndBitwiseXor(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 922 int x = (int) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 925 int x = (int) vh.getAndBitwiseXor(0, 0x01234567); in testInstanceFieldWrongMethodType() 929 Void r = (Void) vh.getAndBitwiseXor(recv, 0x01234567); in testInstanceFieldWrongMethodType() 932 boolean x = (boolean) vh.getAndBitwiseXor(recv, 0x01234567); in testInstanceFieldWrongMethodType() 936 int x = (int) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 939 int x = (int) vh.getAndBitwiseXor(recv, 0x01234567, Void.class); in testInstanceFieldWrongMethodType() 979 int x = (int) vh.getAndBitwiseXor(Void.class, 0x01234567); in testInstanceFieldWrongMethodType() 982 int x = (int) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeLong.java | 916 long x = (long) vh.getAndBitwiseXor(null, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 919 long x = (long) vh.getAndBitwiseXor(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 922 long x = (long) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() 925 long x = (long) vh.getAndBitwiseXor(0, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 929 Void r = (Void) vh.getAndBitwiseXor(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 932 boolean x = (boolean) vh.getAndBitwiseXor(recv, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 936 long x = (long) vh.getAndBitwiseXor(); in testInstanceFieldWrongMethodType() 939 long x = (long) vh.getAndBitwiseXor(recv, 0x0123456789ABCDEFL, Void.class); in testInstanceFieldWrongMethodType() 979 long x = (long) vh.getAndBitwiseXor(Void.class, 0x0123456789ABCDEFL); in testInstanceFieldWrongMethodType() 982 long x = (long) vh.getAndBitwiseXor(recv, Void.class); in testInstanceFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 91 r = vh::getAndBitwiseXor; in testMethodReferences()
|
D | X-VarHandleTestAccess.java.template | 412 $type$ o = ($type$) vh.getAndBitwiseXor(recv, $value1$); 556 $type$ o = ($type$) vh.getAndBitwiseXor($value1$); 820 $type$ o = ($type$) vh.getAndBitwiseXor(recv, $value2$); 821 assertEquals(o, $value1$, "getAndBitwiseXor $type$"); 823 assertEquals(x, ($type$)($value1$ ^ $value2$), "getAndBitwiseXor $type$ value"); 933 $type$ o = ($type$) vh.getAndBitwiseXor(recv, $value1$); 1197 $type$ o = ($type$) vh.getAndBitwiseXor($value2$); 1198 assertEquals(o, $value1$, "getAndBitwiseXor $type$"); 1200 assertEquals(x, ($type$)($value1$ ^ $value2$), "getAndBitwiseXor $type$ value"); 1310 $type$ o = ($type$) vh.getAndBitwiseXor($value1$); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 359 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 495 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 599 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 780 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 816 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 913 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 1054 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 1200 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 1337 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); 1476 $type$ o = ($type$) vh.getAndBitwiseXor(array, ci, VALUE_1); [all …]
|
D | VarHandleTestByteArrayAsInt.java | 322 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayNPE() 452 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayNPE() 580 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 717 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 857 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 988 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayMisalignedAccess() 1121 int o = (int) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayMisalignedAccess() 1392 int o = (int) vh.getAndBitwiseXor(array, i, VALUE_2); in testArrayReadWrite() 1675 int o = (int) vh.getAndBitwiseXor(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestByteArrayAsLong.java | 322 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayNPE() 452 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayNPE() 580 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 717 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 857 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayIndexOutOfBounds() 988 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayMisalignedAccess() 1121 long o = (long) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayMisalignedAccess() 1392 long o = (long) vh.getAndBitwiseXor(array, i, VALUE_2); in testArrayReadWrite() 1675 long o = (long) vh.getAndBitwiseXor(array, i, VALUE_2); in testArrayReadWrite()
|
D | VarHandleTestAccessDouble.java | 306 double o = (double) vh.getAndBitwiseXor(recv, 1.0d); in testInstanceFinalFieldUnsupported() 390 double o = (double) vh.getAndBitwiseXor(1.0d); in testStaticFinalFieldUnsupported() 618 double o = (double) vh.getAndBitwiseXor(recv, 1.0d); in testInstanceFieldUnsupported() 846 double o = (double) vh.getAndBitwiseXor(1.0d); in testStaticFieldUnsupported() 1081 double o = (double) vh.getAndBitwiseXor(array, i, 1.0d); in testArrayUnsupported()
|
D | VarHandleTestAccessFloat.java | 306 float o = (float) vh.getAndBitwiseXor(recv, 1.0f); in testInstanceFinalFieldUnsupported() 390 float o = (float) vh.getAndBitwiseXor(1.0f); in testStaticFinalFieldUnsupported() 618 float o = (float) vh.getAndBitwiseXor(recv, 1.0f); in testInstanceFieldUnsupported() 846 float o = (float) vh.getAndBitwiseXor(1.0f); in testStaticFieldUnsupported() 1081 float o = (float) vh.getAndBitwiseXor(array, i, 1.0f); in testArrayUnsupported()
|
D | X-VarHandleTestMethodType.java.template | 921 $type$ x = ($type$) vh.getAndBitwiseXor(null, $value1$); 924 $type$ x = ($type$) vh.getAndBitwiseXor(Void.class, $value1$); 927 $type$ x = ($type$) vh.getAndBitwiseXor(recv, Void.class); 930 $type$ x = ($type$) vh.getAndBitwiseXor(0, $value1$); 934 Void r = (Void) vh.getAndBitwiseXor(recv, $value1$); 937 $wrong_primitive_type$ x = ($wrong_primitive_type$) vh.getAndBitwiseXor(recv, $value1$); 941 $type$ x = ($type$) vh.getAndBitwiseXor(); 944 $type$ x = ($type$) vh.getAndBitwiseXor(recv, $value1$, Void.class); 984 $type$ x = ($type$) vh.getAndBitwiseXor(Void.class, $value1$); 987 $type$ x = ($type$) vh.getAndBitwiseXor(recv, Void.class); [all …]
|
D | VarHandleTestAccessString.java | 324 String o = (String) vh.getAndBitwiseXor(recv, "foo"); in testInstanceFinalFieldUnsupported() 419 String o = (String) vh.getAndBitwiseXor("foo"); in testStaticFinalFieldUnsupported() 631 String o = (String) vh.getAndBitwiseXor(recv, "foo"); in testInstanceFieldUnsupported() 843 String o = (String) vh.getAndBitwiseXor("foo"); in testStaticFieldUnsupported() 1062 String o = (String) vh.getAndBitwiseXor(array, i, "foo"); in testArrayUnsupported()
|
D | VarHandleTestAccessBoolean.java | 573 boolean o = (boolean) vh.getAndBitwiseXor(recv, false); in testInstanceField() 833 boolean o = (boolean) vh.getAndBitwiseXor(false); in testStaticField() 1096 boolean o = (boolean) vh.getAndBitwiseXor(array, i, false); in testArray() 1249 boolean o = (boolean) vh.getAndBitwiseXor(array, ci, true); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessInt.java | 578 int o = (int) vh.getAndBitwiseXor(recv, 0x89ABCDEF); in testInstanceField() 854 int o = (int) vh.getAndBitwiseXor(0x89ABCDEF); in testStaticField() 1133 int o = (int) vh.getAndBitwiseXor(array, i, 0x89ABCDEF); in testArray() 1286 int o = (int) vh.getAndBitwiseXor(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessLong.java | 578 long o = (long) vh.getAndBitwiseXor(recv, 0xCAFEBABECAFEBABEL); in testInstanceField() 854 long o = (long) vh.getAndBitwiseXor(0xCAFEBABECAFEBABEL); in testStaticField() 1133 long o = (long) vh.getAndBitwiseXor(array, i, 0xCAFEBABECAFEBABEL); in testArray() 1286 long o = (long) vh.getAndBitwiseXor(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessChar.java | 578 char o = (char) vh.getAndBitwiseXor(recv, '\u4567'); in testInstanceField() 854 char o = (char) vh.getAndBitwiseXor('\u4567'); in testStaticField() 1133 char o = (char) vh.getAndBitwiseXor(array, i, '\u4567'); in testArray() 1286 char o = (char) vh.getAndBitwiseXor(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessShort.java | 578 short o = (short) vh.getAndBitwiseXor(recv, (short)0x4567); in testInstanceField() 854 short o = (short) vh.getAndBitwiseXor((short)0x4567); in testStaticField() 1133 short o = (short) vh.getAndBitwiseXor(array, i, (short)0x4567); in testArray() 1286 short o = (short) vh.getAndBitwiseXor(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
|
D | VarHandleTestAccessByte.java | 578 byte o = (byte) vh.getAndBitwiseXor(recv, (byte)0x23); in testInstanceField() 854 byte o = (byte) vh.getAndBitwiseXor((byte)0x23); in testStaticField() 1133 byte o = (byte) vh.getAndBitwiseXor(array, i, (byte)0x23); in testArray() 1286 byte o = (byte) vh.getAndBitwiseXor(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
|
D | VarHandleTestByteArrayAsChar.java | 372 char o = (char) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 489 char o = (char) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 580 char o = (char) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported()
|
D | VarHandleTestByteArrayAsShort.java | 372 short o = (short) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 489 short o = (short) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported() 580 short o = (short) vh.getAndBitwiseXor(array, ci, VALUE_1); in testArrayUnsupported()
|
D | X-VarHandleTestMethodHandleAccess.java.template | 355 assertEquals(o, $value1$, "getAndBitwiseXor $type$"); 357 assertEquals(x, ($type$)($value1$ ^ $value2$), "getAndBitwiseXor $type$ value"); 672 assertEquals(o, $value1$, "getAndBitwiseXor $type$"); 674 assertEquals(x, ($type$)($value1$ ^ $value2$), "getAndBitwiseXor $type$ value"); 990 assertEquals(o, $value1$, "getAndBitwiseXor $type$"); 992 assertEquals(x, ($type$)($value1$ ^ $value2$), "getAndBitwiseXor $type$ value");
|
/libcore/luni/src/main/native/ |
D | java_lang_invoke_VarHandle.cpp | 229 NATIVE_METHOD(VarHandle, getAndBitwiseXor, "([Ljava/lang/Object;)Ljava/lang/Object;"),
|