Home
last modified time | relevance | path

Searched refs:access_mode (Results 1 – 15 of 15) sorted by relevance

/art/runtime/mirror/
Dvar_handle_test.cc237 VarHandle::AccessMode access_mode, in AccessModeMatch() argument
241 return vh->GetMethodTypeMatchForAccessMode(access_mode, method_type) == expected_match; in AccessModeMatch()
246 VarHandle::AccessMode access_mode, in AccessModeExactMatch() argument
251 access_mode, in AccessModeExactMatch()
258 VarHandle::AccessMode access_mode, in AccessModeWithConversionsMatch() argument
263 access_mode, in AccessModeWithConversionsMatch()
270 VarHandle::AccessMode access_mode, in AccessModeNoMatch() argument
275 access_mode, in AccessModeNoMatch()
329 const VarHandle::AccessMode access_mode = VarHandle::AccessMode::kGet; in TEST_F() local
330 EXPECT_TRUE(AccessModeExactMatch(fvh, access_mode, "(Ljava/lang/Integer;)I")); in TEST_F()
[all …]
Dvar_handle.h129 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type)
141 std::string PrettyDescriptorForAccessMode(AccessMode access_mode)
144 bool Access(AccessMode access_mode,
165 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode);
168 static AccessModeTemplate GetAccessModeTemplate(AccessMode access_mode);
198 AccessMode access_mode)
217 bool Access(AccessMode access_mode,
275 bool Access(AccessMode access_mode,
281 static bool CheckArrayStore(AccessMode access_mode,
296 bool Access(AccessMode access_mode,
[all …]
Dvar_handle.cc44 VarHandle::AccessMode access_mode; member
145 bool IsReadOnlyAccessMode(VarHandle::AccessMode access_mode) { in IsReadOnlyAccessMode() argument
146 return VarHandle::GetAccessModeTemplate(access_mode) == VarHandle::AccessModeTemplate::kGet; in IsReadOnlyAccessMode()
566 NO_RETURN void UnreachableAccessMode(const char* access_mode, const char* type_name) { in UnreachableAccessMode() argument
567 LOG(FATAL) << "Unreachable access mode :" << access_mode << " for type " << type_name; in UnreachableAccessMode()
779 static bool Dispatch(VarHandle::AccessMode access_mode,
789 bool FieldAccessor<T>::Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
794 switch (access_mode) { in Dispatch()
893 bool FieldAccessor<ObjPtr<Object>>::Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
902 switch (access_mode) { in Dispatch()
[all …]
/art/runtime/
Dvar_handles.cc34 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessorWithConversions() argument
40 var_handle->GetMethodTypeForAccessMode(self, access_mode))); in VarHandleInvokeAccessorWithConversions()
53 if (!var_handle->Access(access_mode, accessor_frame.get(), &accessor_operands, result)) { in VarHandleInvokeAccessorWithConversions()
65 const mirror::VarHandle::AccessMode access_mode, in VarHandleInvokeAccessor() argument
73 if (!var_handle->IsAccessModeSupported(access_mode)) { in VarHandleInvokeAccessor()
79 var_handle->GetMethodTypeMatchForAccessMode(access_mode, callsite_type.Get()); in VarHandleInvokeAccessor()
81 return var_handle->Access(access_mode, &shadow_frame, operands, result); in VarHandleInvokeAccessor()
87 access_mode, in VarHandleInvokeAccessor()
92 ThrowWrongMethodTypeException(var_handle->PrettyDescriptorForAccessMode(access_mode), in VarHandleInvokeAccessor()
Dvar_handles.h28 const mirror::VarHandle::AccessMode access_mode,
Dmethod_handles.cc726 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation() local
729 hs.NewHandle(vh->GetMethodTypeForAccessMode(self, access_mode)); in DoVarHandleInvokeTranslation()
746 access_mode, in DoVarHandleInvokeTranslation()
/art/compiler/optimizing/
Dintrinsics_utils.h151 mirror::VarHandle::AccessModeTemplate access_mode = in IsVarHandleGet() local
153 return access_mode == mirror::VarHandle::AccessModeTemplate::kGet; in IsVarHandleGet()
181 mirror::VarHandle::AccessModeTemplate access_mode = in IsVarHandleCASFamily() local
183 return access_mode == mirror::VarHandle::AccessModeTemplate::kCompareAndSet || in IsVarHandleCASFamily()
184 access_mode == mirror::VarHandle::AccessModeTemplate::kGetAndUpdate || in IsVarHandleCASFamily()
185 access_mode == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange; in IsVarHandleCASFamily()
Dinstruction_simplifier.cc2937 mirror::VarHandle::AccessMode access_mode = in CanUseKnownBootImageVarHandle() local
2939 if (!var_handle->IsAccessModeSupported(access_mode)) { in CanUseKnownBootImageVarHandle()
2946 mirror::VarHandle::GetAccessModeTemplate(access_mode); in CanUseKnownBootImageVarHandle()
Dintrinsics_x86.cc3563 mirror::VarHandle::AccessMode access_mode, in GenerateVarHandleAccessModeCheck() argument
3568 const uint32_t access_mode_bit = 1u << static_cast<uint32_t>(access_mode); in GenerateVarHandleAccessModeCheck()
3675 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleCommonChecks() local
3679 access_mode, in GenerateVarHandleCommonChecks()
3699 mirror::VarHandle::GetAccessModeTemplate(access_mode); in GenerateVarHandleCommonChecks()
Dintrinsics_x86_64.cc3494 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks() local
3504 Immediate(1u << static_cast<uint32_t>(access_mode))); in GenerateVarHandleAccessModeAndVarTypeChecks()
Dintrinsics_arm64.cc4424 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks() local
4445 __ Tbz(temp2, static_cast<uint32_t>(access_mode), slow_path->GetEntryLabel()); in GenerateVarHandleAccessModeAndVarTypeChecks()
Dintrinsics_arm_vixl.cc4058 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks() local
4083 __ Tst(temp2, 1u << static_cast<uint32_t>(access_mode)); in GenerateVarHandleAccessModeAndVarTypeChecks()
/art/test/712-varhandle-invocations/util-src/
Dgenerate_java.py442 self.access_mode = self.get_access_mode(method_name)
567 'access_mode' : accessor.access_mode,
839 …(" assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
845 …" assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
899 …(" assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
905 …" assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
/art/runtime/interpreter/
Dinterpreter_common.cc447 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon() argument
478 access_mode, in DoVarHandleInvokeCommon()
488 access_mode, in DoVarHandleInvokeCommon()
500 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \
501 return DoVarHandleInvokeCommon(self, shadow_frame, inst, inst_data, result, access_mode); \
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2422 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic() local
2428 access_mode, in artInvokePolymorphic()