Home
last modified time | relevance | path

Searched refs:getter (Results 1 – 8 of 8) sorted by relevance

/art/runtime/mirror/
Dvar_handle.cc746 static T Get(ShadowFrameGetter* getter) REQUIRES_SHARED(Locks::mutator_lock_) { in Get() argument
748 uint32_t raw_value = getter->Get(); in Get()
754 int64_t ValueGetter<int64_t>::Get(ShadowFrameGetter* getter) { in Get() argument
755 return getter->GetLong(); in Get()
759 float ValueGetter<float>::Get(ShadowFrameGetter* getter) { in Get() argument
760 uint32_t raw_value = getter->Get(); in Get()
765 double ValueGetter<double>::Get(ShadowFrameGetter* getter) { in Get() argument
766 int64_t raw_value = getter->GetLong(); in Get()
771 ObjPtr<Object> ValueGetter<ObjPtr<Object>>::Get(ShadowFrameGetter* getter) { in Get() argument
772 return getter->GetReference(); in Get()
[all …]
Demulated_stack_frame.cc181 ShadowFrameGetter getter(caller_frame, operands); in CreateFromShadowFrameAndArgs() local
183 CopyArguments<ShadowFrameGetter, EmulatedStackFrameAccessor>(self, caller_type, &getter, &setter); in CreateFromShadowFrameAndArgs()
205 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); in WriteToShadowFrame() local
208 CopyArguments<EmulatedStackFrameAccessor, ShadowFrameSetter>(self, callee_type, &getter, &setter); in WriteToShadowFrame()
Dvar_handle.h293 ShadowFrameGetter getter,
347 ShadowFrameGetter* getter,
354 ShadowFrameGetter* getter,
/art/runtime/
Dmethod_handles-inl.h154 G* getter, in PerformConversions() argument
166 setter->SetLong(getter->GetLong()); in PerformConversions()
168 setter->SetReference(getter->GetReference()); in PerformConversions()
170 setter->Set(getter->Get()); in PerformConversions()
175 value.SetJ(getter->GetLong()); in PerformConversions()
177 value.SetL(getter->GetReference()); in PerformConversions()
179 value.SetI(getter->Get()); in PerformConversions()
201 G* getter, in CopyArguments() argument
211 setter->SetLong(getter->GetLong()); in CopyArguments()
213 setter->SetReference(getter->GetReference()); in CopyArguments()
[all …]
Dmethod_handles.h132 G* getter,
139 G* getter,
Dvar_handles.cc73 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions() local
76 if (!PerformConversions(throw_wmt, from_types, to_types, &getter, &setter)) { in VarHandleInvokeAccessorWithConversions()
/art/test/2036-structural-subclass-shadow/
Dexpected-stdout.txt1 value-getter is 42
5 value-getter is 0
/art/test/957-methodhandle-transforms/src/
DMain.java268 MethodHandle getter = MethodHandles.arrayElementGetter(int[].class); in testArrayElementGetter() local
273 int value = (int) getter.invoke(array, 0); in testArrayElementGetter()
279 value = (int) getter.invoke(array, -1); in testArrayElementGetter()
285 value = (int) getter.invoke(null, -1); in testArrayElementGetter()
292 getter = MethodHandles.arrayElementGetter(long[].class); in testArrayElementGetter()
295 long value = (long) getter.invoke(array, 0); in testArrayElementGetter()
302 getter = MethodHandles.arrayElementGetter(short[].class); in testArrayElementGetter()
305 short value = (short) getter.invoke(array, 0); in testArrayElementGetter()
312 getter = MethodHandles.arrayElementGetter(char[].class); in testArrayElementGetter()
315 char value = (char) getter.invoke(array, 0); in testArrayElementGetter()
[all …]