/art/runtime/mirror/ |
D | var_handle_test.cc | 233 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 …]
|
D | var_handle.h | 110 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type) 117 bool IsInvokerMethodTypeCompatible(AccessMode access_mode, ObjPtr<MethodType> method_type) 129 std::string PrettyDescriptorForAccessMode(AccessMode access_mode) 132 bool Access(AccessMode access_mode, 150 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode); 159 AccessMode access_mode) 192 bool Access(AccessMode access_mode, 217 bool Access(AccessMode access_mode, 232 bool Access(AccessMode access_mode, 257 bool Access(AccessMode access_mode, [all …]
|
/art/runtime/ |
D | var_handles.cc | 34 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()
|
D | var_handles.h | 28 const mirror::VarHandle::AccessMode access_mode,
|
D | method_handles.cc | 970 mirror::VarHandle::AccessMode access_mode, in DoVarHandleInvokeTranslationUnchecked() argument 990 if (!vh->Access(access_mode, accessor_frame.get(), &accessor_operands, result)) { in DoVarHandleInvokeTranslationUnchecked() 1046 mirror::VarHandle::AccessMode access_mode = in DoVarHandleInvokeTranslation() local 1049 hs.NewHandle(vh->GetMethodTypeForAccessMode(self, access_mode)); in DoVarHandleInvokeTranslation() 1072 access_mode, in DoVarHandleInvokeTranslation()
|
/art/test/712-varhandle-invocations/util-src/ |
D | generate_java.py | 442 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/ |
D | interpreter_common.cc | 788 mirror::VarHandle::AccessMode access_mode) in DoVarHandleInvokeCommon() argument 819 access_mode, in DoVarHandleInvokeCommon() 829 access_mode, in DoVarHandleInvokeCommon() 841 const auto access_mode = mirror::VarHandle::AccessMode::k ## _access_mode; \ 842 return DoVarHandleInvokeCommon(self, shadow_frame, inst, inst_data, result, access_mode); \
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2849 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic() local 2855 access_mode, in artInvokePolymorphic()
|