Lines Matching refs:array

108     Handle<mirror::Class> array(  in AssertArrayClass()  local
111 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
112 EXPECT_EQ(class_loader, array->GetClassLoader()); in AssertArrayClass()
113 EXPECT_EQ(kAccFinal | kAccAbstract, (array->GetAccessFlags() & (kAccFinal | kAccAbstract))); in AssertArrayClass()
114 AssertArrayClass(array_descriptor, array); in AssertArrayClass()
117 void AssertArrayClass(const std::string& array_descriptor, Handle<mirror::Class> array) in AssertArrayClass() argument
119 ASSERT_TRUE(array.Get() != NULL); in AssertArrayClass()
120 ASSERT_TRUE(array->GetClass() != NULL); in AssertArrayClass()
121 ASSERT_EQ(array->GetClass(), array->GetClass()->GetClass()); in AssertArrayClass()
122 EXPECT_TRUE(array->GetClass()->GetSuperClass() != NULL); in AssertArrayClass()
124 ASSERT_STREQ(array_descriptor.c_str(), array->GetDescriptor(&temp)); in AssertArrayClass()
125 EXPECT_TRUE(array->GetSuperClass() != NULL); in AssertArrayClass()
127 EXPECT_EQ(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"), array->GetSuperClass()); in AssertArrayClass()
128 EXPECT_TRUE(array->HasSuperClass()); in AssertArrayClass()
129 ASSERT_TRUE(array->GetComponentType() != NULL); in AssertArrayClass()
130 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
131 EXPECT_EQ(mirror::Class::kStatusInitialized, array->GetStatus()); in AssertArrayClass()
132 EXPECT_FALSE(array->IsErroneous()); in AssertArrayClass()
133 EXPECT_TRUE(array->IsLoaded()); in AssertArrayClass()
134 EXPECT_TRUE(array->IsResolved()); in AssertArrayClass()
135 EXPECT_TRUE(array->IsVerified()); in AssertArrayClass()
136 EXPECT_TRUE(array->IsInitialized()); in AssertArrayClass()
137 EXPECT_FALSE(array->IsArrayInstance()); in AssertArrayClass()
138 EXPECT_TRUE(array->IsArrayClass()); in AssertArrayClass()
139 EXPECT_FALSE(array->IsInterface()); in AssertArrayClass()
140 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass()
141 EXPECT_TRUE(array->IsFinal()); in AssertArrayClass()
142 EXPECT_FALSE(array->IsPrimitive()); in AssertArrayClass()
143 EXPECT_FALSE(array->IsSynthetic()); in AssertArrayClass()
144 EXPECT_EQ(0U, array->NumDirectMethods()); in AssertArrayClass()
145 EXPECT_EQ(0U, array->NumVirtualMethods()); in AssertArrayClass()
146 EXPECT_EQ(0U, array->NumInstanceFields()); in AssertArrayClass()
147 EXPECT_EQ(0U, array->NumStaticFields()); in AssertArrayClass()
148 EXPECT_EQ(2U, array->NumDirectInterfaces()); in AssertArrayClass()
149 EXPECT_TRUE(array->ShouldHaveEmbeddedImtAndVTable()); in AssertArrayClass()
150 EXPECT_EQ(2, array->GetIfTableCount()); in AssertArrayClass()
151 ASSERT_TRUE(array->GetIfTable() != NULL); in AssertArrayClass()
152 mirror::Class* direct_interface0 = mirror::Class::GetDirectInterface(self, array, 0); in AssertArrayClass()
155 mirror::Class* direct_interface1 = mirror::Class::GetDirectInterface(self, array, 1); in AssertArrayClass()
157 mirror::Class* array_ptr = array->GetComponentType(); in AssertArrayClass()
158 EXPECT_EQ(class_linker_->FindArrayClass(self, &array_ptr), array.Get()); in AssertArrayClass()
753 mirror::ObjectArray<mirror::String>* array = in TEST_F() local
756 reinterpret_cast<uintptr_t>(array->GetRawData(sizeof(mirror::HeapReference<mirror::String>), in TEST_F()