Searched refs:AccessMode (Results 1 – 12 of 12) sorted by relevance
/art/test/710-varhandle-creation/src/ |
D | Main.java | 19 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/ |
D | var_handle_test.cc | 127 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 …]
|
D | var_handle.cc | 44 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 …]
|
D | var_handle.h | 61 enum class AccessMode : uint32_t { enum 95 constexpr static size_t kNumberOfAccessModes = static_cast<size_t>(AccessMode::kLast) + 1u; 98 bool IsAccessModeSupported(AccessMode accessMode) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAccessModeSupported() 110 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type) 117 bool IsInvokerMethodTypeCompatible(AccessMode access_mode, ObjPtr<MethodType> method_type) 124 ObjPtr<MethodType> GetMethodTypeForAccessMode(Thread* self, AccessMode accessMode) 129 std::string PrettyDescriptorForAccessMode(AccessMode access_mode) 132 bool Access(AccessMode access_mode, 146 static AccessMode GetAccessModeByIntrinsic(Intrinsics ordinal); 150 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode); [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleReflectiveTest.java | 38 for (VarHandle.AccessMode accessMode : VarHandle.AccessMode.values()) { in doTest()
|
D | VarHandleAccessorExceptionTests.java | 58 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/ |
D | var_handles.cc | 34 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessorWithConversions() 65 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessor()
|
D | var_handles.h | 28 const mirror::VarHandle::AccessMode access_mode,
|
D | method_handles.cc | 970 mirror::VarHandle::AccessMode access_mode, in DoVarHandleInvokeTranslationUnchecked() 1046 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation()
|
/art/test/713-varhandle-invokers/src/ |
D | Main.java | 87 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/runtime/interpreter/ |
D | interpreter_common.cc | 788 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon() 841 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2849 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic()
|