Home
last modified time | relevance | path

Searched refs:setter (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dmethod_handles-inl.h155 S* setter) { in PerformConversions() argument
166 setter->SetLong(getter->GetLong()); in PerformConversions()
168 setter->SetReference(getter->GetReference()); in PerformConversions()
170 setter->Set(getter->Get()); in PerformConversions()
187 setter->SetLong(value.GetJ()); in PerformConversions()
189 setter->SetReference(value.GetL()); in PerformConversions()
191 setter->Set(value.GetI()); in PerformConversions()
202 S* setter) REQUIRES_SHARED(Locks::mutator_lock_) { in CopyArguments() argument
211 setter->SetLong(getter->GetLong()); in CopyArguments()
213 setter->SetReference(getter->GetReference()); in CopyArguments()
[all …]
Dmethod_handles.h133 S* setter) REQUIRES_SHARED(Locks::mutator_lock_);
140 S* setter) REQUIRES_SHARED(Locks::mutator_lock_);
Dvar_handles.cc75 ShadowFrameSetter setter(accessor_frame.get(), kFirstDestinationReg); in VarHandleInvokeAccessorWithConversions() local
76 if (!PerformConversions(throw_wmt, from_types, to_types, &getter, &setter)) { in VarHandleInvokeAccessorWithConversions()
/art/test/957-methodhandle-transforms/src/
DMain.java377 MethodHandle setter = MethodHandles.arrayElementSetter(int[].class); in testArrayElementSetter() local
381 setter.invoke(array, 0, 42); in testArrayElementSetter()
382 setter.invoke(array, 1, 43); in testArrayElementSetter()
392 setter.invoke(array, -1, 42); in testArrayElementSetter()
398 setter.invoke(null, 0, 42); in testArrayElementSetter()
405 setter = MethodHandles.arrayElementSetter(long[].class); in testArrayElementSetter()
407 setter.invoke(array, 0, 42l); in testArrayElementSetter()
414 setter = MethodHandles.arrayElementSetter(short[].class); in testArrayElementSetter()
416 setter.invoke(array, 0, (short) 42); in testArrayElementSetter()
423 setter = MethodHandles.arrayElementSetter(char[].class); in testArrayElementSetter()
[all …]
/art/runtime/mirror/
Demulated_stack_frame.cc182 EmulatedStackFrameAccessor setter(references, stack_frame, stack_frame->GetLength()); in CreateFromShadowFrameAndArgs() local
183 CopyArguments<ShadowFrameGetter, EmulatedStackFrameAccessor>(self, caller_type, &getter, &setter); in CreateFromShadowFrameAndArgs()
206 ShadowFrameSetter setter(callee_frame, first_dest_reg); in WriteToShadowFrame() local
208 CopyArguments<EmulatedStackFrameAccessor, ShadowFrameSetter>(self, callee_type, &getter, &setter); in WriteToShadowFrame()
/art/runtime/interpreter/
Dinterpreter_common.cc731 ShadowFrameSetter* setter) in PackArgumentForBootstrapMethod() argument
742 setter->Set(static_cast<uint32_t>(decoded_value.GetI())); in PackArgumentForBootstrapMethod()
746 setter->SetLong(decoded_value.GetJ()); in PackArgumentForBootstrapMethod()
752 setter->SetReference(decoded_value.GetL()); in PackArgumentForBootstrapMethod()
778 ShadowFrameSetter* setter) in PackCollectorArrayForBootstrapMethod() argument
802 setter->SetReference(array.Get()); \ in PackCollectorArrayForBootstrapMethod()
832 setter->SetReference(array.Get()); \ in PackCollectorArrayForBootstrapMethod()
1038 ShadowFrameSetter setter(bootstrap_frame.get(), 0u); in InvokeBootstrapMethod() local
1049 setter.SetReference(lookup); in InvokeBootstrapMethod()
1063 &setter)) { in InvokeBootstrapMethod()
[all …]