Home
last modified time | relevance | path

Searched refs:getAndBitwiseOrRelease (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleMethodReferenceTest.java87 r = vh::getAndBitwiseOrRelease; in testMethodReferences()
DVarHandleTestMethodTypeBoolean.java710 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 …]
DVarHandleTestMethodTypeLong.java796 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 …]
DVarHandleTestMethodTypeInt.java796 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 …]
DVarHandleTestMethodTypeByte.java796 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 …]
DVarHandleTestMethodTypeShort.java796 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 …]
DVarHandleTestMethodTypeChar.java796 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 …]
DX-VarHandleTestAccess.java.template396 $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 …]
DX-VarHandleTestByteArrayView.java.template343 $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 …]
DVarHandleTestByteArrayAsLong.java306 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()
DVarHandleTestByteArrayAsInt.java306 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()
DVarHandleTestAccessDouble.java290 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()
DVarHandleTestAccessFloat.java290 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()
DVarHandleTestAccessString.java308 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()
DVarHandleTestAccessBoolean.java535 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()
DVarHandleTestAccessByte.java540 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()
DVarHandleTestAccessInt.java540 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()
DVarHandleTestAccessShort.java540 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()
DVarHandleTestAccessLong.java540 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()
DVarHandleTestAccessChar.java540 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()
DVarHandleTestByteArrayAsShort.java356 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()
DVarHandleTestByteArrayAsChar.java356 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()
DX-VarHandleTestMethodHandleAccess.java.template317 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/
DVarHandle.annotated.java82 public final native java.lang.Object getAndBitwiseOrRelease(java.lang.Object... args); in getAndBitwiseOrRelease() method in VarHandle
/libcore/luni/src/main/native/
Djava_lang_invoke_VarHandle.cpp228 NATIVE_METHOD(VarHandle, getAndBitwiseOrRelease, "([Ljava/lang/Object;)Ljava/lang/Object;"),

12