/art/runtime/mirror/ |
D | var_handle_test.cc | 237 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 …]
|
D | var_handle.h | 129 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 …]
|
D | var_handle.cc | 44 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/ |
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 | 726 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/ |
D | intrinsics_utils.h | 151 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()
|
D | instruction_simplifier.cc | 2937 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()
|
D | intrinsics_x86.cc | 3563 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()
|
D | intrinsics_x86_64.cc | 3494 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks() local 3504 Immediate(1u << static_cast<uint32_t>(access_mode))); in GenerateVarHandleAccessModeAndVarTypeChecks()
|
D | intrinsics_arm64.cc | 4424 mirror::VarHandle::AccessMode access_mode = in GenerateVarHandleAccessModeAndVarTypeChecks() local 4445 __ Tbz(temp2, static_cast<uint32_t>(access_mode), slow_path->GetEntryLabel()); in GenerateVarHandleAccessModeAndVarTypeChecks()
|
D | intrinsics_arm_vixl.cc | 4058 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/ |
D | generate_java.py | 442 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/ |
D | interpreter_common.cc | 447 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/ |
D | quick_trampoline_entrypoints.cc | 2422 mirror::VarHandle::AccessMode access_mode = in artInvokePolymorphic() local 2428 access_mode, in artInvokePolymorphic()
|