Home
last modified time | relevance | path

Searched refs:boxed_value (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dmethod_handles_test.cc183 Handle<mirror::Object> boxed_value = hs.NewHandle(BoxPrimitive(Primitive::kPrimInt, value)); in TEST_F() local
184 Handle<mirror::Class> from = hs.NewHandle(boxed_value->GetClass()); in TEST_F()
186 value.SetL(boxed_value.Get()); in TEST_F()
199 Handle<mirror::Object> boxed_value = hs.NewHandle(BoxPrimitive(Primitive::kPrimDouble, value)); in TEST_F() local
200 Handle<mirror::Class> from = hs.NewHandle(boxed_value->GetClass()); in TEST_F()
202 value.SetL(boxed_value.Get()); in TEST_F()
296 Handle<mirror::Object> boxed_value = hs.NewHandle(BoxPrimitive(Primitive::kPrimInt, value)); in TEST_F() local
299 value.SetL(boxed_value.Get()); in TEST_F()
311 Handle<mirror::Object> boxed_value = hs.NewHandle(BoxPrimitive(Primitive::kPrimInt, value)); in TEST_F() local
314 value.SetL(boxed_value.Get()); in TEST_F()
[all …]
Dreflection.cc930 JValue boxed_value; in UnboxPrimitive() local
936 boxed_value.SetZ(primitive_field->GetBoolean(o)); in UnboxPrimitive()
939 boxed_value.SetB(primitive_field->GetByte(o)); in UnboxPrimitive()
942 boxed_value.SetC(primitive_field->GetChar(o)); in UnboxPrimitive()
945 boxed_value.SetF(primitive_field->GetFloat(o)); in UnboxPrimitive()
948 boxed_value.SetD(primitive_field->GetDouble(o)); in UnboxPrimitive()
951 boxed_value.SetI(primitive_field->GetInt(o)); in UnboxPrimitive()
954 boxed_value.SetJ(primitive_field->GetLong(o)); in UnboxPrimitive()
957 boxed_value.SetS(primitive_field->GetShort(o)); in UnboxPrimitive()
970 boxed_value, unboxed_value); in UnboxPrimitive()
/art/runtime/native/
Djava_lang_reflect_Field.cc350 ObjPtr<mirror::Object> boxed_value = soa.Decode<mirror::Object>(javaValue); in Field_set() local
352 if (!UnboxPrimitiveForField(boxed_value, in Field_set()