Lines Matching refs:value

62                                                Primitive::Type field_type, JValue* value)  in GetFieldValue()  argument
64 DCHECK_EQ(value->GetJ(), INT64_C(0)); in GetFieldValue()
69 value->SetZ(is_volatile ? o->GetFieldBooleanVolatile(offset) : o->GetFieldBoolean(offset)); in GetFieldValue()
72 value->SetB(is_volatile ? o->GetFieldByteVolatile(offset) : o->GetFieldByte(offset)); in GetFieldValue()
75 value->SetC(is_volatile ? o->GetFieldCharVolatile(offset) : o->GetFieldChar(offset)); in GetFieldValue()
79 value->SetI(is_volatile ? o->GetField32Volatile(offset) : o->GetField32(offset)); in GetFieldValue()
83 value->SetJ(is_volatile ? o->GetField64Volatile(offset) : o->GetField64(offset)); in GetFieldValue()
86 value->SetS(is_volatile ? o->GetFieldShortVolatile(offset) : o->GetFieldShort(offset)); in GetFieldValue()
90 value->SetL(is_volatile ? o->GetFieldObjectVolatile<mirror::Object>(offset) : in GetFieldValue()
149 JValue value; in Field_get() local
150 if (!GetFieldValue<true>(o, f, field_type, &value)) { in Field_get()
154 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get()
371 JValue value; in Field_setBoolean() local
372 value.SetZ(z); in Field_setBoolean()
373 SetPrimitiveField<Primitive::kPrimBoolean>(env, javaField, javaObj, value); in Field_setBoolean()
377 JValue value; in Field_setByte() local
378 value.SetB(b); in Field_setByte()
379 SetPrimitiveField<Primitive::kPrimByte>(env, javaField, javaObj, value); in Field_setByte()
383 JValue value; in Field_setChar() local
384 value.SetC(c); in Field_setChar()
385 SetPrimitiveField<Primitive::kPrimChar>(env, javaField, javaObj, value); in Field_setChar()
389 JValue value; in Field_setDouble() local
390 value.SetD(d); in Field_setDouble()
391 SetPrimitiveField<Primitive::kPrimDouble>(env, javaField, javaObj, value); in Field_setDouble()
395 JValue value; in Field_setFloat() local
396 value.SetF(f); in Field_setFloat()
397 SetPrimitiveField<Primitive::kPrimFloat>(env, javaField, javaObj, value); in Field_setFloat()
401 JValue value; in Field_setInt() local
402 value.SetI(i); in Field_setInt()
403 SetPrimitiveField<Primitive::kPrimInt>(env, javaField, javaObj, value); in Field_setInt()
407 JValue value; in Field_setLong() local
408 value.SetJ(j); in Field_setLong()
409 SetPrimitiveField<Primitive::kPrimLong>(env, javaField, javaObj, value); in Field_setLong()
413 JValue value; in Field_setShort() local
414 value.SetS(s); in Field_setShort()
415 SetPrimitiveField<Primitive::kPrimShort>(env, javaField, javaObj, value); in Field_setShort()