Searched refs:statics (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | class_linker_test.cc | 839 Handle<mirror::Class> statics( in TEST_F() local 841 class_linker_->EnsureInitialized(statics, true, true); in TEST_F() 846 mirror::ArtMethod* clinit = statics->FindDirectMethod("<clinit>", "()V"); in TEST_F() 849 EXPECT_EQ(9U, statics->NumStaticFields()); in TEST_F() 851 mirror::ArtField* s0 = mirror::Class::FindStaticField(soa.Self(), statics, "s0", "Z"); in TEST_F() 855 EXPECT_EQ(true, s0->GetBoolean(statics.Get())); in TEST_F() 856 s0->SetBoolean<false>(statics.Get(), false); in TEST_F() 858 mirror::ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics, "s1", "B"); in TEST_F() 860 EXPECT_EQ(5, s1->GetByte(statics.Get())); in TEST_F() 861 s1->SetByte<false>(statics.Get(), 6); in TEST_F() [all …]
|
D | class_linker.cc | 2776 mirror::ObjectArray<mirror::ArtField>* statics = AllocArtFieldArray(self, it.NumStaticFields()); in LoadClassMembers() local 2777 if (UNLIKELY(statics == nullptr)) { in LoadClassMembers() 2781 klass->SetSFields(statics); in LoadClassMembers()
|