Home
last modified time | relevance | path

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

/art/test/710-varhandle-creation/src/
DMain.java19 import java.lang.invoke.VarHandle.AccessMode;
255 private static void checkVarHandleAccessMode(VarHandle v, VarHandle.AccessMode accessMode, in checkVarHandleAccessMode()
277 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET, true, "(Main)boolean"); in checkInstantiatedVarHandles()
278 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET, true, "(Main,boolean)void"); in checkInstantiatedVarHandles()
279 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_VOLATILE, true, "(Main)boolean"); in checkInstantiatedVarHandles()
280 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_VOLATILE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles()
281 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_ACQUIRE, true, "(Main)boolean"); in checkInstantiatedVarHandles()
282 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_RELEASE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles()
283 checkVarHandleAccessMode(vz, VarHandle.AccessMode.GET_OPAQUE, true, "(Main)boolean"); in checkInstantiatedVarHandles()
284 checkVarHandleAccessMode(vz, VarHandle.AccessMode.SET_OPAQUE, true, "(Main,boolean)void"); in checkInstantiatedVarHandles()
[all …]
/art/runtime/mirror/
Dvar_handle_test.cc127 static int32_t AccessModesBitMask(VarHandle::AccessMode mode) { in AccessModesBitMask()
132 static int32_t AccessModesBitMask(VarHandle::AccessMode first, Args... args) { in AccessModesBitMask()
233 VarHandle::AccessMode access_mode, in AccessModeMatch()
242 VarHandle::AccessMode access_mode, in AccessModeExactMatch()
254 VarHandle::AccessMode access_mode, in AccessModeWithConversionsMatch()
266 VarHandle::AccessMode access_mode, in AccessModeNoMatch()
282 int32_t mask = AccessModesBitMask(VarHandle::AccessMode::kGet, in TEST_F()
283 VarHandle::AccessMode::kGetAndSet, in TEST_F()
284 VarHandle::AccessMode::kGetAndBitwiseXor); in TEST_F()
291 EXPECT_TRUE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGet)); in TEST_F()
[all …]
Dvar_handle.cc44 VarHandle::AccessMode access_mode;
62 { "compareAndExchange", VarHandle::AccessMode::kCompareAndExchange },
63 { "compareAndExchangeAcquire", VarHandle::AccessMode::kCompareAndExchangeAcquire },
64 { "compareAndExchangeRelease", VarHandle::AccessMode::kCompareAndExchangeRelease },
65 { "compareAndSet", VarHandle::AccessMode::kCompareAndSet },
66 { "get", VarHandle::AccessMode::kGet },
67 { "getAcquire", VarHandle::AccessMode::kGetAcquire },
68 { "getAndAdd", VarHandle::AccessMode::kGetAndAdd },
69 { "getAndAddAcquire", VarHandle::AccessMode::kGetAndAddAcquire },
70 { "getAndAddRelease", VarHandle::AccessMode::kGetAndAddRelease },
[all …]
Dvar_handle.h70 enum class AccessMode : uint32_t { enum
104 constexpr static size_t kNumberOfAccessModes = static_cast<size_t>(AccessMode::kLast) + 1u;
116 bool IsAccessModeSupported(AccessMode accessMode) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAccessModeSupported()
128 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type)
135 ObjPtr<MethodType> GetMethodTypeForAccessMode(Thread* self, AccessMode accessMode)
140 std::string PrettyDescriptorForAccessMode(AccessMode access_mode)
143 bool Access(AccessMode access_mode,
157 static AccessMode GetAccessModeByIntrinsic(Intrinsics ordinal);
161 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode);
164 static AccessModeTemplate GetAccessModeTemplate(AccessMode access_mode);
[all …]
/art/test/712-varhandle-invocations/src/
DVarHandleReflectiveTest.java38 for (VarHandle.AccessMode accessMode : VarHandle.AccessMode.values()) { in doTest()
DVarHandleAccessorExceptionTests.java58 vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_BITWISE_AND); in doTest()
208 boolean supported = vh.isAccessModeSupported(VarHandle.AccessMode.GET_AND_BITWISE_AND); in doTest()
/art/runtime/
Dvar_handles.cc34 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessorWithConversions()
65 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessor()
Dvar_handles.h28 const mirror::VarHandle::AccessMode access_mode,
Dmethod_handles.cc986 mirror::VarHandle::AccessMode access_mode, in DoVarHandleInvokeTranslationUnchecked()
1062 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation()
/art/test/713-varhandle-invokers/src/
DMain.java87 VarHandle.AccessMode.GET_AND_SET, in run()
191 VarHandle.AccessMode.GET_AND_SET, in run()
317 VarHandle.AccessMode.COMPARE_AND_EXCHANGE, in run()
391 VarHandle.AccessMode.COMPARE_AND_EXCHANGE, in run()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2631 …Handles;->methodHandleForVarHandleAccessor(Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lang/invok…
2634 Ljava/lang/invoke/MethodHandles;->varHandleExactInvoker(Ljava/lang/invoke/VarHandle$AccessMode;Ljav…
2635 Ljava/lang/invoke/MethodHandles;->varHandleInvoker(Ljava/lang/invoke/VarHandle$AccessMode;Ljava/lan…
2890 Ljava/lang/invoke/VarHandle$AccessMode;->at:Ljava/lang/invoke/VarHandle$AccessType;
2891 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE:Ljava/lang/invoke/VarHandle$AccessMod…
2892 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE_ACQUIRE:Ljava/lang/invoke/VarHandle$A…
2893 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_EXCHANGE_RELEASE:Ljava/lang/invoke/VarHandle$A…
2894 Ljava/lang/invoke/VarHandle$AccessMode;->COMPARE_AND_SET:Ljava/lang/invoke/VarHandle$AccessMode;
2895 Ljava/lang/invoke/VarHandle$AccessMode;->GET:Ljava/lang/invoke/VarHandle$AccessMode;
2896 Ljava/lang/invoke/VarHandle$AccessMode;->GET_ACQUIRE:Ljava/lang/invoke/VarHandle$AccessMode;
[all …]
/art/runtime/interpreter/
Dinterpreter_common.cc463 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon()
516 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2511 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic()
/art/build/boot/
Dpreloaded-classes720 java.lang.invoke.VarHandle$AccessMode
945 java.nio.file.AccessMode
Dboot-image-profile.txt3824 HSPLjava/nio/file/AccessMode;->values()[Ljava/nio/file/AccessMode;
3832 HSPLjava/nio/file/Files;->isAccessible(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z
8900 HSPLsun/nio/fs/UnixFileSystemProvider;->checkAccess(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;…
10376 Ljava/lang/invoke/VarHandle$AccessMode;
10603 Ljava/nio/file/AccessMode;
12259 [Ljava/lang/invoke/VarHandle$AccessMode;
12278 [Ljava/nio/file/AccessMode;
/art/compiler/optimizing/
Dintrinsics_x86.cc3373 mirror::VarHandle::AccessMode access_mode, in GenerateVarHandleAccessModeCheck()
3479 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleCommonChecks()
Dintrinsics_arm64.cc3977 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks()
Dintrinsics_arm_vixl.cc3824 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks()