/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestAccessModeMethodNames.java | 47 return Stream.of(VarHandle.AccessMode.values()). in accessModesProvider() 53 public void testMethodName(VarHandle.AccessMode am) { in testMethodName() 88 public void testValueFromMethodName(VarHandle.AccessMode am) throws Exception { in testValueFromMethodName() 89 VarHandle.AccessMode other = VarHandle.AccessMode.valueFromMethodName(am.methodName()); in testValueFromMethodName()
|
D | VarHandleTestByteArrayAsChar.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestByteArrayAsShort.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestReflection.java | 47 return Stream.of(VarHandle.AccessMode.values()). in accessModesProvider() 58 public void methodInvocation(VarHandle.AccessMode accessMode) throws Exception { in methodInvocation() 68 public void methodHandleInvoke(VarHandle.AccessMode accessMode) throws Throwable { in methodHandleInvoke() 81 public void methodInvocationFromMethodInfo(VarHandle.AccessMode accessMode) throws Exception { in methodInvocationFromMethodInfo() 95 public void reflectAsFromVarHandleInvoker(VarHandle.AccessMode accessMode) throws Exception { in reflectAsFromVarHandleInvoker() 107 public void reflectAsFromFindVirtual(VarHandle.AccessMode accessMode) throws Exception { in reflectAsFromFindVirtual()
|
D | VarHandleTestAccessDouble.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessFloat.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessBoolean.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessInt.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessLong.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessChar.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessShort.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessString.java | 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 105 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 108 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 109 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestAccessByte.java | 97 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 99 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 100 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 101 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 102 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestByteArrayAsDouble.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestByteArrayAsFloat.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | X-VarHandleTestAccess.java.template | 103 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); 104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); 105 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); 106 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); 107 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); 108 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); 109 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); 110 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); 113 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); 114 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); 95 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); 96 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); [all …]
|
D | VarHandleTestByteArrayAsInt.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleTestByteArrayAsLong.java | 84 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET)); in testIsAccessModeSupported() 85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported() 87 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_VOLATILE)); in testIsAccessModeSupported() 88 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_VOLATILE)); in testIsAccessModeSupported() 89 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_ACQUIRE)); in testIsAccessModeSupported() 90 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_RELEASE)); in testIsAccessModeSupported() 91 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.GET_OPAQUE)); in testIsAccessModeSupported() 92 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET_OPAQUE)); in testIsAccessModeSupported() 94 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_SET)); in testIsAccessModeSupported() 95 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.COMPARE_AND_EXCHANGE)); in testIsAccessModeSupported() [all …]
|
D | VarHandleBaseTest.java | 194 VarHandle.AccessMode vh_am = toAccessMode(); in TestAccessMode() 208 VarHandle.AccessMode toAccessMode() { in toAccessMode() 209 return VarHandle.AccessMode.valueOf(name()); in toAccessMode() 223 static List<VarHandle.AccessMode> accessModes() { in accessModes() 224 return Stream.of(VarHandle.AccessMode.values()).collect(toList()); in accessModes() 227 static List<VarHandle.AccessMode> accessModesOfType(TestAccessType... ats) { in accessModesOfType()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | VarHandle.java | 1619 public enum AccessMode { enum in VarHandle 1808 static final Map<String, AccessMode> methodNameToAccessMode; 1810 AccessMode[] values = AccessMode.values(); 1815 for (AccessMode am : values) { 1823 AccessMode(final String methodName, AccessType at) { in AccessMode() method in VarHandle.AccessMode 1851 public static AccessMode valueFromMethodName(String methodName) { in valueFromMethodName() 1852 AccessMode am = methodNameToAccessMode.get(methodName); in valueFromMethodName() 1933 public final MethodType accessModeType(AccessMode accessMode) { in accessModeType() 1973 public final boolean isAccessModeSupported(AccessMode accessMode) { in isAccessModeSupported() 2000 public final MethodHandle toMethodHandle(AccessMode accessMode) { in toMethodHandle() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | AccessMode.java | 34 public enum AccessMode { enum
|
D | Files.java | 2453 private static boolean isAccessible(Path path, AccessMode... modes) { 2490 return isAccessible(path, AccessMode.READ); 2521 return isAccessible(path, AccessMode.WRITE); 2556 return isAccessible(path, AccessMode.EXECUTE);
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 22 import java.nio.file.AccessMode; 112 public void checkAccess(Path path, AccessMode... modes) throws IOException { in checkAccess()
|
/libcore/luni/src/test/java/libcore/java/nio/file/spi/ |
D | FileSystemProviderTest.java | 24 import java.nio.file.AccessMode; 117 public void checkAccess(Path path, AccessMode... modes) throws IOException { in checkAccess()
|