Home
last modified time | relevance | path

Searched refs:AccessMode (Results 1 – 25 of 32) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestAccessModeMethodNames.java47 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()
DVarHandleTestByteArrayAsChar.java84 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 …]
DVarHandleTestByteArrayAsShort.java84 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 …]
DVarHandleTestReflection.java47 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()
DVarHandleTestAccessDouble.java97 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 …]
DVarHandleTestAccessFloat.java97 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 …]
DVarHandleTestAccessBoolean.java97 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 …]
DVarHandleTestAccessInt.java97 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 …]
DVarHandleTestAccessLong.java97 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 …]
DVarHandleTestAccessChar.java97 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 …]
DVarHandleTestAccessShort.java97 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 …]
DVarHandleTestAccessString.java99 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 …]
DVarHandleTestAccessByte.java97 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 …]
DVarHandleTestByteArrayAsDouble.java84 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 …]
DVarHandleTestByteArrayAsFloat.java84 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 …]
DX-VarHandleTestAccess.java.template103 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 …]
DX-VarHandleTestByteArrayView.java.template84 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 …]
DVarHandleTestByteArrayAsInt.java84 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 …]
DVarHandleTestByteArrayAsLong.java84 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 …]
DVarHandleBaseTest.java194 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/
DVarHandle.java1619 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/
DAccessMode.java34 public enum AccessMode { enum
DFiles.java2453 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/
DMockFileSystemProvider.java22 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/
DFileSystemProviderTest.java24 import java.nio.file.AccessMode;
117 public void checkAccess(Path path, AccessMode... modes) throws IOException { in checkAccess()

12