Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestMethodHandleAccessFloat.java246 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, 2.0f, 1.0f); in testInstanceField()
424 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(2.0f, 1.0f); in testStaticField()
627 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, 2.0f, 1.0f); in testArray()
DVarHandleTestMethodHandleAccessString.java246 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, "bar", "foo"); in testInstanceField()
402 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact("bar", "foo"); in testStaticField()
583 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, "bar", "foo"… in testArray()
DVarHandleTestMethodHandleAccessDouble.java246 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, 2.0d, 1.0d); in testInstanceField()
424 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(2.0d, 1.0d); in testStaticField()
627 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, 2.0d, 1.0d); in testArray()
DVarHandleTestMethodHandleAccessShort.java246 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, (short)0x4567, (… in testInstanceField()
502 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact((short)0x4567, (short)… in testStaticField()
783 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, (short)0x456… in testArray()
DVarHandleTestMethodHandleAccessLong.java246 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, 0xCAFEBABECAFEBA… in testInstanceField()
502 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(0xCAFEBABECAFEBABEL, 0… in testStaticField()
783 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, 0xCAFEBABECA… in testArray()
DVarHandleTestMethodHandleAccessInt.java246 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, 0x89ABCDEF, 0x01… in testInstanceField()
502 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(0x89ABCDEF, 0x01234567… in testStaticField()
783 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, 0x89ABCDEF, … in testArray()
DVarHandleTestMethodHandleAccessByte.java246 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, (byte)0x23, (byt… in testInstanceField()
502 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact((byte)0x23, (byte)0x01… in testStaticField()
783 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, (byte)0x23, … in testArray()
DVarHandleTestMethodHandleAccessBoolean.java246 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, false, true); in testInstanceField()
480 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(false, true); in testStaticField()
739 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, false, true); in testArray()
DVarHandleTestMethodHandleAccessChar.java246 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, '\u4567', '\u012… in testInstanceField()
502 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact('\u4567', '\u0123'); in testStaticField()
783 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, '\u4567', '\… in testArray()
DVarHandleBaseTest.java166 WEAK_COMPARE_AND_SET(TestAccessType.COMPARE_AND_SET), enumConstant
DX-VarHandleTestMethodHandleAccess.java.template247 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(recv, $value2$, $value…
542 … success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact($value2$, $value1$);
862 …success = (boolean) hs.get(TestAccessMode.WEAK_COMPARE_AND_SET).invokeExact(array, i, $value2$, $v…
DVarHandleTestByteArrayAsChar.java99 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestByteArrayAsShort.java99 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessDouble.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessFloat.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessBoolean.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessInt.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessLong.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessChar.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessShort.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessString.java113 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DVarHandleTestAccessByte.java111 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
DX-VarHandleTestAccess.java.template118 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET));
130 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET));
DVarHandleTestByteArrayAsDouble.java99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.WEAK_COMPARE_AND_SET)); in testIsAccessModeSupported()
/libcore/ojluni/src/main/java/java/lang/invoke/
DVarHandle.java1703 WEAK_COMPARE_AND_SET("weakCompareAndSet", AccessType.COMPARE_AND_SET), enumConstant

12