Searched refs:getter (Results 1 – 9 of 9) sorted by relevance
/art/runtime/mirror/ |
D | var_handle.cc | 740 static T Get(ShadowFrameGetter* getter) REQUIRES_SHARED(Locks::mutator_lock_) { in Get() argument 742 uint32_t raw_value = getter->Get(); in Get() 748 int64_t ValueGetter<int64_t>::Get(ShadowFrameGetter* getter) { in Get() argument 749 return getter->GetLong(); in Get() 753 float ValueGetter<float>::Get(ShadowFrameGetter* getter) { in Get() argument 754 uint32_t raw_value = getter->Get(); in Get() 759 double ValueGetter<double>::Get(ShadowFrameGetter* getter) { in Get() argument 760 int64_t raw_value = getter->GetLong(); in Get() 765 ObjPtr<Object> ValueGetter<ObjPtr<Object>>::Get(ShadowFrameGetter* getter) { in Get() argument 766 return getter->GetReference(); in Get() [all …]
|
D | emulated_stack_frame.cc | 189 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()
|
D | var_handle.h | 299 ShadowFrameGetter* getter, 306 ShadowFrameGetter* getter,
|
/art/runtime/ |
D | method_handles-inl.h | 169 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 …]
|
D | var_handles.cc | 45 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions() local 48 if (!PerformConversions(self, callsite_type, accessor_type, &getter, &setter, num_params)) { in VarHandleInvokeAccessorWithConversions()
|
D | method_handles.h | 125 G* getter,
|
D | method_handles.cc | 353 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/2036-structural-subclass-shadow/ |
D | expected-stdout.txt | 1 value-getter is 42 5 value-getter is 0
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 267 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 …]
|