Home
last modified time | relevance | path

Searched refs:GET_AND_ADD (Results 1 – 25 of 39) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseTest.java148 GET_AND_ADD, enumConstant
172 GET_AND_ADD(TestAccessType.GET_AND_ADD), enumConstant
173 GET_AND_ADD_ACQUIRE(TestAccessType.GET_AND_ADD),
174 GET_AND_ADD_RELEASE(TestAccessType.GET_AND_ADD),
492 …e testAccessMode : testAccessModesOfType(TestAccessType.GET_AND_SET, TestAccessType.GET_AND_ADD)) { in testTypes()
DVarHandleTestMethodHandleAccessDouble.java265 double o = (double) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, 2.0d); in testInstanceField()
465 double o = (double) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(2.0d); in testStaticField()
666 double o = (double) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, 2.0d); in testArray()
742 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessFloat.java265 float o = (float) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, 2.0f); in testInstanceField()
465 float o = (float) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(2.0f); in testStaticField()
666 float o = (float) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, 2.0f); in testArray()
742 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessChar.java265 char o = (char) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, '\u4567'); in testInstanceField()
543 char o = (char) hs.get(TestAccessMode.GET_AND_ADD).invokeExact('\u4567'); in testStaticField()
822 char o = (char) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, '\u4567'); in testArray()
976 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessByte.java265 byte o = (byte) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, (byte)0x23); in testInstanceField()
543 byte o = (byte) hs.get(TestAccessMode.GET_AND_ADD).invokeExact((byte)0x23); in testStaticField()
822 … byte o = (byte) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, (byte)0x23); in testArray()
976 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessShort.java265 short o = (short) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, (short)0x4567); in testInstanceField()
543 short o = (short) hs.get(TestAccessMode.GET_AND_ADD).invokeExact((short)0x4567); in testStaticField()
822 … short o = (short) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, (short)0x4567); in testArray()
976 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessLong.java265 … long o = (long) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, 0xCAFEBABECAFEBABEL); in testInstanceField()
543 long o = (long) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(0xCAFEBABECAFEBABEL); in testStaticField()
822 … long o = (long) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, 0xCAFEBABECAFEBABEL); in testArray()
976 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessInt.java265 int o = (int) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, 0x89ABCDEF); in testInstanceField()
543 int o = (int) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(0x89ABCDEF); in testStaticField()
822 int o = (int) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, 0x89ABCDEF); in testArray()
976 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessString.java266 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldUnsupported()
444 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldUnsupported()
627 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayUnsupported()
DX-VarHandleTestMethodHandleAccess.java.template268 $type$ o = ($type$) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(recv, $value2$);
402 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) {
585 $type$ o = ($type$) hs.get(TestAccessMode.GET_AND_ADD).invokeExact($value2$);
719 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) {
903 … $type$ o = ($type$) hs.get(TestAccessMode.GET_AND_ADD).invokeExact(array, i, $value2$);
1041 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) {
1096 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) {
DVarHandleTestMethodHandleAccessBoolean.java349 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldUnsupported()
605 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldUnsupported()
866 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayUnsupported()
DVarHandleTestMethodTypeDouble.java910 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1455 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
2362 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeFloat.java910 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1455 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
2362 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeLong.java1178 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1946 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
3173 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeInt.java1178 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1946 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
3173 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeByte.java1178 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1946 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
3173 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeShort.java1178 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1946 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
3173 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestMethodTypeChar.java1178 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testInstanceFieldWrongMethodType()
1946 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testStaticFieldWrongMethodType()
3173 for (TestAccessMode am : testAccessModesOfType(TestAccessType.GET_AND_ADD)) { in testArrayWrongMethodType()
DVarHandleTestByteArrayAsShort.java106 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
DVarHandleTestByteArrayAsChar.java106 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
DVarHandleTestAccessDouble.java118 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
DVarHandleTestAccessFloat.java118 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
DVarHandleTestAccessBoolean.java118 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/
DVarHandle.annotated.java139 GET_AND_ADD, enumConstant
/libcore/ojluni/src/main/java/java/lang/invoke/
DVarHandle.java1739 GET_AND_ADD("getAndAdd", AccessType.GET_AND_UPDATE_NUMERIC), enumConstant

12