Lines Matching refs:field
175 void AssertField(mirror::Class* klass, mirror::ArtField* field) in AssertField() argument
177 EXPECT_TRUE(field != NULL); in AssertField()
178 EXPECT_TRUE(field->GetClass() != NULL); in AssertField()
179 EXPECT_EQ(klass, field->GetDeclaringClass()); in AssertField()
180 EXPECT_TRUE(field->GetName() != NULL); in AssertField()
182 FieldHelper fh(hs.NewHandle(field)); in AssertField()
266 mirror::ArtField* field = klass->GetInstanceField(i); in AssertClass() local
267 AssertField(klass.Get(), field); in AssertClass()
268 EXPECT_FALSE(field->IsStatic()); in AssertClass()
272 mirror::ArtField* field = klass->GetStaticField(i); in AssertClass() local
273 AssertField(klass.Get(), field); in AssertClass()
274 EXPECT_TRUE(field->IsStatic()); in AssertClass()
287 mirror::ArtField* field = klass->GetInstanceField(i); in AssertClass() local
288 fh.ChangeField(field); in AssertClass()
291 if (!field->IsPrimitiveType()) { in AssertClass()
293 ASSERT_EQ(current_ref_offset.Uint32Value(), field->GetOffset().Uint32Value()); in AssertClass()
304 if (field->GetOffset().Uint32Value() < end_ref_offset.Uint32Value()) { in AssertClass()
306 ASSERT_LT(field->GetOffset().Uint32Value(), start_ref_offset.Uint32Value()); in AssertClass()
307 CHECK(!IsAligned<4>(field->GetOffset().Uint32Value())); in AssertClass()
416 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check() local
417 StringPiece field_name(field->GetName()); in Check()
425 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check() local
426 StringPiece field_name(field->GetName()); in Check()
439 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check() local
440 if (field->GetOffset().Uint32Value() != offset.cpp_offset) { in Check()
447 mirror::ArtField* field = is_static ? klass->GetStaticField(i) : klass->GetInstanceField(i); in Check() local
448 if (field->GetOffset().Uint32Value() != offset.cpp_offset) { in Check()
452 << " Java=" << field->GetOffset().Uint32Value() << " C++=" << offset.cpp_offset; in Check()