/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleBaseTest.java | 148 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()
|
D | VarHandleTestMethodHandleAccessDouble.java | 265 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()
|
D | VarHandleTestMethodHandleAccessFloat.java | 265 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()
|
D | VarHandleTestMethodHandleAccessChar.java | 265 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()
|
D | VarHandleTestMethodHandleAccessByte.java | 265 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()
|
D | VarHandleTestMethodHandleAccessShort.java | 265 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()
|
D | VarHandleTestMethodHandleAccessLong.java | 265 … 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()
|
D | VarHandleTestMethodHandleAccessInt.java | 265 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()
|
D | VarHandleTestMethodHandleAccessString.java | 266 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()
|
D | X-VarHandleTestMethodHandleAccess.java.template | 268 $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)) {
|
D | VarHandleTestMethodHandleAccessBoolean.java | 349 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()
|
D | VarHandleTestMethodTypeDouble.java | 910 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()
|
D | VarHandleTestMethodTypeFloat.java | 910 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()
|
D | VarHandleTestMethodTypeLong.java | 1178 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()
|
D | VarHandleTestMethodTypeInt.java | 1178 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()
|
D | VarHandleTestMethodTypeByte.java | 1178 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()
|
D | VarHandleTestMethodTypeShort.java | 1178 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()
|
D | VarHandleTestMethodTypeChar.java | 1178 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()
|
D | VarHandleTestByteArrayAsShort.java | 106 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
|
D | VarHandleTestByteArrayAsChar.java | 106 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
|
D | VarHandleTestAccessDouble.java | 118 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
|
D | VarHandleTestAccessFloat.java | 118 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
|
D | VarHandleTestAccessBoolean.java | 118 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_ADD)); in testIsAccessModeSupported()
|
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/ |
D | VarHandle.annotated.java | 139 GET_AND_ADD, enumConstant
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | VarHandle.java | 1739 GET_AND_ADD("getAndAdd", AccessType.GET_AND_UPDATE_NUMERIC), enumConstant
|