Home
last modified time | relevance | path

Searched refs:getAndBitwiseAndAcquire (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestMethodTypeBoolean.java770 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 …]
DVarHandleTestMethodTypeByte.java856 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 …]
DVarHandleTestMethodTypeChar.java856 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 …]
DVarHandleTestMethodTypeShort.java856 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 …]
DVarHandleTestMethodTypeInt.java856 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 …]
DVarHandleTestMethodTypeLong.java856 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 …]
DVarHandleMethodReferenceTest.java89 r = vh::getAndBitwiseAndAcquire; in testMethodReferences()
DX-VarHandleTestAccess.java.template404 $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 …]
DX-VarHandleTestByteArrayView.java.template351 $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 …]
DVarHandleTestByteArrayAsInt.java314 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()
DVarHandleTestByteArrayAsLong.java314 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()
DVarHandleTestAccessDouble.java298 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()
DVarHandleTestAccessFloat.java298 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()
DVarHandleTestAccessString.java316 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()
DX-VarHandleTestMethodType.java.template861 $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 …]
DVarHandleTestAccessBoolean.java554 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()
DVarHandleTestAccessInt.java559 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()
DVarHandleTestAccessLong.java559 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()
DVarHandleTestAccessChar.java559 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()
DVarHandleTestAccessShort.java559 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()
DVarHandleTestAccessByte.java559 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()
DVarHandleTestByteArrayAsChar.java364 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()
DVarHandleTestByteArrayAsShort.java364 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()
DX-VarHandleTestMethodHandleAccess.java.template336 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/
Djava_lang_invoke_VarHandle.cpp224 NATIVE_METHOD(VarHandle, getAndBitwiseAndAcquire, "([Ljava/lang/Object;)Ljava/lang/Object;"),

12