Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dvar_handle_test.cc233 VarHandle::AccessMode access_mode, in AccessModeMatch() argument
237 return vh->GetMethodTypeMatchForAccessMode(access_mode, method_type) == expected_match; in AccessModeMatch()
242 VarHandle::AccessMode access_mode, in AccessModeExactMatch() argument
247 access_mode, in AccessModeExactMatch()
254 VarHandle::AccessMode access_mode, in AccessModeWithConversionsMatch() argument
259 access_mode, in AccessModeWithConversionsMatch()
266 VarHandle::AccessMode access_mode, in AccessModeNoMatch() argument
271 access_mode, in AccessModeNoMatch()
325 const VarHandle::AccessMode access_mode = VarHandle::AccessMode::kGet; in TEST_F() local
326 EXPECT_TRUE(AccessModeExactMatch(fvh, access_mode, "(Ljava/lang/Integer;)I")); in TEST_F()
[all …]
Dvar_handle.h111 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type)
118 bool IsInvokerMethodTypeCompatible(AccessMode access_mode, ObjPtr<MethodType> method_type)
130 std::string PrettyDescriptorForAccessMode(AccessMode access_mode)
133 bool Access(AccessMode access_mode,
151 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode);
160 AccessMode access_mode)
193 bool Access(AccessMode access_mode,
221 bool Access(AccessMode access_mode,
236 bool Access(AccessMode access_mode,
261 bool Access(AccessMode access_mode,
[all …]
Dvar_handle.cc44 VarHandle::AccessMode access_mode; member
107 AccessModeTemplate GetAccessModeTemplate(VarHandle::AccessMode access_mode) { in GetAccessModeTemplate() argument
108 switch (access_mode) { in GetAccessModeTemplate()
227 bool IsReadOnlyAccessMode(VarHandle::AccessMode access_mode) { in IsReadOnlyAccessMode() argument
228 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in IsReadOnlyAccessMode()
653 NO_RETURN void UnreachableAccessMode(const char* access_mode, const char* type_name) { in UnreachableAccessMode() argument
654 LOG(FATAL) << "Unreachable access mode :" << access_mode << " for type " << type_name; in UnreachableAccessMode()
866 static bool Dispatch(VarHandle::AccessMode access_mode,
876 bool FieldAccessor<T>::Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
881 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.cc986 mirror::VarHandle::AccessMode access_mode, in DoVarHandleInvokeTranslationUnchecked() argument
1006 if (!vh->Access(access_mode, accessor_frame.get(), &accessor_operands, result)) { in DoVarHandleInvokeTranslationUnchecked()
1062 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation() local
1065 hs.NewHandle(vh->GetMethodTypeForAccessMode(self, access_mode)); in DoVarHandleInvokeTranslation()
1088 access_mode, in DoVarHandleInvokeTranslation()
/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,
773 …(" assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
779 …" assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
833 …(" assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
839 …" assertFalse(vh.isAccessModeSupported(VarHandle.AccessMode.{0}));".format(accessor.access_mode),
/art/runtime/interpreter/
Dinterpreter_common.cc467 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon() argument
498 access_mode, in DoVarHandleInvokeCommon()
508 access_mode, in DoVarHandleInvokeCommon()
520 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \
521 return DoVarHandleInvokeCommon(self, shadow_frame, inst, inst_data, result, access_mode); \
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2600 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic() local
2606 access_mode, in artInvokePolymorphic()