Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dvar_handle.cc833 static T Get(ShadowFrameGetter* getter) REQUIRES_SHARED(Locks::mutator_lock_) { in Get() argument
835 uint32_t raw_value = getter->Get(); in Get()
841 int64_t ValueGetter<int64_t>::Get(ShadowFrameGetter* getter) { in Get() argument
842 return getter->GetLong(); in Get()
846 float ValueGetter<float>::Get(ShadowFrameGetter* getter) { in Get() argument
847 uint32_t raw_value = getter->Get(); in Get()
852 double ValueGetter<double>::Get(ShadowFrameGetter* getter) { in Get() argument
853 int64_t raw_value = getter->GetLong(); in Get()
858 ObjPtr<Object> ValueGetter<ObjPtr<Object>>::Get(ShadowFrameGetter* getter) { in Get() argument
859 return getter->GetReference(); in Get()
[all …]
Demulated_stack_frame.cc189 ShadowFrameGetter getter(caller_frame, operands); in CreateFromShadowFrameAndArgs() local
192 self, caller_type, callee_type, &getter, &setter, num_method_params)) { in CreateFromShadowFrameAndArgs()
225 EmulatedStackFrameAccessor getter(references, stack_frame, stack_frame->GetLength()); in WriteToShadowFrame() local
229 self, frame_callsite_type, callee_type, &getter, &setter, num_method_params); in WriteToShadowFrame()
Dvar_handle.h274 ShadowFrameGetter* getter,
281 ShadowFrameGetter* getter,
/art/runtime/
Dmethod_handles-inl.h169 G* getter, in PerformConversions() argument
186 setter->SetLong(getter->GetLong()); in PerformConversions()
188 setter->SetReference(getter->GetReference()); in PerformConversions()
190 setter->Set(getter->Get()); in PerformConversions()
195 value.SetJ(getter->GetLong()); in PerformConversions()
197 value.SetL(getter->GetReference()); in PerformConversions()
199 value.SetI(getter->Get()); in PerformConversions()
222 G* getter, in PerformConversions() argument
226 return PerformConversions(self, callsite_type, callee_type, getter, setter, 0, num_conversions); in PerformConversions()
233 G* getter, in PerformConversions() argument
[all …]
Dvar_handles.cc45 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions() local
48 if (!PerformConversions(self, callsite_type, accessor_type, &getter, &setter, num_params)) { in VarHandleInvokeAccessorWithConversions()
Dmethod_handles.h125 G* getter,
Dmethod_handles.cc353 ShadowFrameGetter getter(caller_frame, operands); in ConvertAndCopyArgumentsFromCallerFrame() local
358 &getter, in ConvertAndCopyArgumentsFromCallerFrame()
999 ShadowFrameGetter getter(shadow_frame, operands); in DoVarHandleInvokeTranslationUnchecked() local
1002 if (!PerformConversions(self, callsite_type, vh_type, &getter, &setter)) { in DoVarHandleInvokeTranslationUnchecked()
/art/test/957-methodhandle-transforms/src/
DMain.java267 MethodHandle getter = MethodHandles.arrayElementGetter(int[].class); in testArrayElementGetter() local
272 int value = (int) getter.invoke(array, 0); in testArrayElementGetter()
278 value = (int) getter.invoke(array, -1); in testArrayElementGetter()
284 value = (int) getter.invoke(null, -1); in testArrayElementGetter()
291 getter = MethodHandles.arrayElementGetter(long[].class); in testArrayElementGetter()
294 long value = (long) getter.invoke(array, 0); in testArrayElementGetter()
301 getter = MethodHandles.arrayElementGetter(short[].class); in testArrayElementGetter()
304 short value = (short) getter.invoke(array, 0); in testArrayElementGetter()
311 getter = MethodHandles.arrayElementGetter(char[].class); in testArrayElementGetter()
314 char value = (char) getter.invoke(array, 0); in testArrayElementGetter()
[all …]