Home
last modified time | relevance | path

Searched refs:NumStaticFields (Results 1 – 20 of 20) sorted by relevance

/art/runtime/mirror/
Dfield.cc49 DCHECK_LT(GetArtFieldIndex(), declaring_class->NumStaticFields()); in GetArtField()
Ddex_cache_test.cc90 EXPECT_NE(klass1->NumStaticFields(), 0u); in TEST_F()
Dclass.cc429 if (NumStaticFields() > 0) { in DumpClass()
430 os << " static fields (" << NumStaticFields() << " entries):\n"; in DumpClass()
432 for (size_t i = 0; i < NumStaticFields(); ++i) { in DumpClass()
1179 size_t array_size = NumInstanceFields() + NumStaticFields(); in GetDeclaredFields()
2125 return ext->EnsureStaticJFieldIDsArrayPresent(h_this->NumStaticFields()); in EnsureStaticFieldIds()
Dclass-inl.h1108 inline uint32_t Class::NumStaticFields() { in NumStaticFields() function
Dclass.h1103 uint32_t NumStaticFields() REQUIRES_SHARED(Locks::mutator_lock_);
/art/libdexfile/dex/
Dclass_accessor.h329 uint32_t NumStaticFields() const { in NumStaticFields() function
338 return NumStaticFields() + NumInstanceFields(); in NumFields()
Dclass_accessor-inl.h221 return { std::next(fields.begin(), NumStaticFields()), fields.end() }; in GetInstanceFields()
/art/runtime/
Dproxy_test.cc104 ASSERT_EQ(2u, proxyClass->NumStaticFields()); in TEST_F()
Dclass_linker_test.cc114 EXPECT_EQ(0U, primitive->NumStaticFields()); in AssertPrimitiveClass()
165 EXPECT_EQ(0U, JavaLangObject->NumStaticFields()); in AssertObjectClass()
225 EXPECT_EQ(0U, array->NumStaticFields()); in AssertArrayClass()
353 for (size_t i = 0; i < klass->NumStaticFields(); i++) { in AssertClass()
502 size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in Check()
977 EXPECT_EQ(0U, MyClass->NumStaticFields()); in TEST_F()
1196 EXPECT_EQ(9U, statics->NumStaticFields()); in TEST_F()
Dhidden_api_test.cc654 for (size_t i = 0; i < proxyClass->NumStaticFields(); ++i) { in TEST_F()
Dclass_linker.cc3966 accessor.NumStaticFields()); in LoadClass()
4041 << " (unique static fields: " << num_sfields << "/" << accessor.NumStaticFields() in LoadClass()
4054 DCHECK_EQ(klass->NumStaticFields(), num_sfields); in LoadClass()
5557 if (klass->NumStaticFields() != 0) { in CanWeInitializeClass()
5785 const size_t num_static_fields = klass->NumStaticFields(); in InitializeClass()
6246 DCHECK_EQ(temp_class->NumStaticFields(), 0u); in FixupTemporaryDeclaringClass()
9256 const size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in LinkFields()
Druntime_image.cc1434 if (cls->NumStaticFields() == 0u) { in TryInitializeClass()
/art/dex2oat/driver/
Dcompiler_driver.cc1414 klass->NumStaticFields() != 0) { in operator ()()
2290 klass->NumStaticFields() > kMaxEncodedFields; in TryInitializeClass()
/art/runtime/hprof/
Dhprof.cc1194 const size_t num_static_fields = klass->NumStaticFields(); in DumpHeapClass()
/art/openjdkjvmti/
Dti_class.cc569 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields()
Dti_heap.cc462 count += inf_klass->NumStaticFields(); in CountInterfaceFields()
/art/dexdump/
Ddexdump.cc713 fprintf(gOutFile, "static_fields_size : %d\n", accessor.NumStaticFields()); in dumpClassDef()
/art/oatdump/
Doatdump.cc2180 if (klass->NumStaticFields() != 0) { in DumpObject()
/art/compiler/optimizing/
Dinstruction_builder.cc1539 if (klass->NumStaticFields() != 0u) { in HasTrivialClinit()
/art/dex2oat/linker/
Dimage_writer.cc763 uint32_t num_static_fields = as_klass->NumStaticFields(); in GetImageBin()