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.cc108 EXPECT_NE(klass1->NumStaticFields(), 0u); in TEST_F()
Dclass.cc472 if (h_this->NumStaticFields() > 0) { in DumpClass()
473 os << " static fields (" << h_this->NumStaticFields() << " entries):\n"; in DumpClass()
475 for (size_t i = 0; i < h_this->NumStaticFields(); ++i) { in DumpClass()
1717 return ext->EnsureStaticJFieldIDsArrayPresent(h_this->NumStaticFields()); in EnsureStaticFieldIds()
Dclass-inl.h1122 inline uint32_t Class::NumStaticFields() { in NumStaticFields() function
Dclass.h1078 uint32_t NumStaticFields() REQUIRES_SHARED(Locks::mutator_lock_);
/art/libdexfile/dex/
Dclass_accessor.h326 uint32_t NumStaticFields() const { in NumStaticFields() function
335 return NumStaticFields() + NumInstanceFields(); in NumFields()
Dclass_accessor-inl.h217 return { std::next(fields.begin(), NumStaticFields()), fields.end() }; in GetInstanceFields()
/art/runtime/
Dproxy_test.cc111 ASSERT_EQ(2u, proxyClass->NumStaticFields()); in TEST_F()
Dclass_linker_test.cc113 EXPECT_EQ(0U, primitive->NumStaticFields()); in AssertPrimitiveClass()
168 EXPECT_EQ(0U, JavaLangObject->NumStaticFields()); in AssertObjectClass()
228 EXPECT_EQ(0U, array->NumStaticFields()); in AssertArrayClass()
357 for (size_t i = 0; i < klass->NumStaticFields(); i++) { in AssertClass()
503 size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in Check()
961 EXPECT_EQ(0U, MyClass->NumStaticFields()); in TEST_F()
1180 EXPECT_EQ(9U, statics->NumStaticFields()); in TEST_F()
Dhidden_api_test.cc470 for (size_t i = 0; i < proxyClass->NumStaticFields(); ++i) { in TEST_F()
Dclass_linker.cc3868 accessor.NumStaticFields()); in LoadClass()
3936 << " (unique static fields: " << num_sfields << "/" << accessor.NumStaticFields() in LoadClass()
3949 DCHECK_EQ(klass->NumStaticFields(), num_sfields); in LoadClass()
5343 if (klass->NumStaticFields() != 0) { in CanWeInitializeClass()
5572 const size_t num_static_fields = klass->NumStaticFields(); in InitializeClass()
6030 DCHECK_EQ(temp_class->NumStaticFields(), 0u); in FixupTemporaryDeclaringClass()
8465 const size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in LinkFields()
/art/openjdkjvmti/
Dti_class.cc572 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetClassFields()
Dti_heap.cc464 count += inf_klass->NumStaticFields(); in CountInterfaceFields()
/art/runtime/native/
Djava_lang_Class.cc293 size_t array_size = klass->NumInstanceFields() + klass->NumStaticFields(); in GetDeclaredFields()
/art/runtime/hprof/
Dhprof.cc1199 const size_t num_static_fields = klass->NumStaticFields(); in DumpHeapClass()
/art/dexdump/
Ddexdump.cc652 fprintf(gOutFile, "static_fields_size : %d\n", accessor.NumStaticFields()); in dumpClassDef()
/art/dex2oat/driver/
Dcompiler_driver.cc2284 klass->NumStaticFields() > kMaxEncodedFields; in TryInitializeClass()
/art/compiler/optimizing/
Dinstruction_builder.cc1239 if (klass->NumStaticFields() != 0u) { in HasTrivialClinit()
/art/oatdump/
Doatdump.cc2240 if (klass->NumStaticFields() != 0) { in DumpObject()
/art/dex2oat/linker/
Dimage_writer.cc834 uint32_t num_static_fields = klass->NumStaticFields(); in AssignImageBinSlot()