Home
last modified time | relevance | path

Searched refs:NumClassDefs (Results 1 – 25 of 31) sorted by relevance

12

/art/libdexfile/dex/
Dclass_accessor_test.cc31 ASSERT_GT(dex_file->NumClassDefs(), 0u); in TEST_F()
86 EXPECT_EQ(class_def_idx, dex_file->NumClassDefs()); in TEST_F()
Dtype_lookup_table.cc30 uint32_t num_class_defs = dex_file.NumClassDefs(); in Create()
45 for (size_t class_def_idx = 0; class_def_idx < dex_file.NumClassDefs(); ++class_def_idx) { in Create()
Dart_dex_file_loader_test.cc149 EXPECT_EQ(3U, raw->NumClassDefs()); in TEST_F()
164 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
270 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
Ddex_file.h512 uint32_t NumClassDefs() const { in NumClassDefs() function
519 DCHECK_LT(idx, NumClassDefs()) << GetLocation(); in GetClassDef()
Ddex_file-inl.h567 return { ClassIterator(*this, 0u), ClassIterator(*this, NumClassDefs()) }; in GetClasses()
Ddex_file.cc334 size_t num_class_defs = NumClassDefs(); in FindClassDef()
Ddex_file_verifier.cc2022 uint32_t num_header_elems = dex_file_->NumClassDefs() + 1; in CheckIntraHiddenapiClassData()
2567 uint32_t num_header_elems = dex_file_->NumClassDefs() + 1; in CheckInterHiddenapiClassData()
2574 for (uint32_t i = 0; i < dex_file_->NumClassDefs(); ++i) { in CheckInterHiddenapiClassData()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc61 for (uint16_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); ++cdef_idx) { in Java_Main_areClassesVerified()
157 for (uint16_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); ++cdef_idx) { in Java_Main_areClassesPreverified()
/art/runtime/verifier/
Dmethod_verifier_test.cc80 for (size_t i = 0; i < dex.NumClassDefs(); i++) { in VerifyDexFile()
Dverifier_deps.cc45 std::unique_ptr<DexFileDeps> deps(new DexFileDeps(dex_file->NumClassDefs())); in VerifierDeps()
301 DCHECK_EQ(dex_deps->verified_classes_.size(), dex_file.NumClassDefs()); in RecordClassVerified()
308 DCHECK_EQ(dex_deps->verified_classes_.size(), dex_file.NumClassDefs()); in HasRecordedVerifiedStatus()
564 size_t num_class_defs = dex_file->NumClassDefs(); in ParseStoredData()
593 size_t num_class_defs = dex_file->NumClassDefs(); in ParseVerifiedClasses()
/art/runtime/
Dvdex_file.cc272 sizeof(uint32_t) + TypeLookupTable::RawDataLength(dex_file->NumClassDefs()); in WriteToDisk()
435 uint32_t end_of_assignability_types = dex_file_class_defs[dex_file.NumClassDefs()]; in GetExtraStringsOffsets()
470 for (uint32_t i = class_def_index + 1; i < dex_file.NumClassDefs() + 1; ++i) { in ComputeClassStatus()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h44 return dex_file->NumClassDefs(); in NumberOfDexIndices()
/art/dex2oat/linker/
Dimage_write_read_test.cc121 for (size_t j = 0; j < dex->NumClassDefs(); ++j) { in TestWriteRead()
/art/dex2oat/driver/
Dcompiler_driver.cc994 processed_classes_(/*start_bits=*/ dex_cache->GetDexFile()->NumClassDefs(), in DexFileRecord()
1010 DCHECK_LT(c->GetDexClassDefIndex(), dex_cache_->GetDexFile()->NumClassDefs()); in IsProcessedClass()
1015 DCHECK_LT(c->GetDexClassDefIndex(), dex_cache_->GetDexFile()->NumClassDefs()); in MarkProcessedClass()
1791 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in ResolveDexFile()
1870 DCHECK_EQ(verified_classes.size(), dex_file->NumClassDefs()); in FastVerify()
2129 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in VerifyDexFile()
2194 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in SetVerifiedDexFile()
2644 context.ForAll(0, dex_file.NumClassDefs(), &visitor, init_thread_count); in InitializeClasses()
2749 context.ForAllLambda(0, dex_file.NumClassDefs(), compile, thread_count); in CompileDexFile()
Dcompiler_driver_test.cc101 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { in MakeDexFileExecutable()
/art/dex2oat/
Dverifier_deps_test.cc217 ASSERT_EQ(verified_classes.size(), dex_file->NumClassDefs()); in VerifyClassStatus()
218 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in VerifyClassStatus()
Ddex2oat_test.cc511 uint32_t class_def_count = dex_file->NumClassDefs(); in CheckResult()
803 uint32_t class_def_count = new_dex_file->NumClassDefs(); in CheckResult()
/art/openjdkjvmti/
Dti_redefine.cc935 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckMethods()
1017 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckFields()
1076 if (dex_file_->NumClassDefs() != 1) { in CheckClass()
1079 dex_file_->NumClassDefs())); in CheckClass()
1635 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckVerification()
3019 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in UpdateClassInPlace()
Dti_class.cc129 if (dex_file->NumClassDefs() != 1) { in MakeSingleDexFile()
889 uint32_t num_defs = dex_file->NumClassDefs(); in CopyClassDescriptors()
/art/runtime/oat/
Doat_file.cc2351 CHECK_LT(class_def_idx, dex_file.NumClassDefs()) << oat_dex_file->GetOatFile()->GetLocation(); in FindClassDef()
2359 const uint32_t num_class_defs = dex_file.NumClassDefs(); in FindClassDef()
2466 CHECK_LT(class_def_idx, dex_file.NumClassDefs()); in FindOatClass()
Doat_file_manager.cc719 for (uint32_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); cdef_idx++) { in Run()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc243 num_class_defs_ += dex_file.NumClassDefs(); in ProcessDexFile()
/art/runtime/native/
Ddalvik_system_DexFile.cc549 for (size_t i = 0; i < dex_file->NumClassDefs(); ++i) { in DexFile_getClassNameList()
/art/tools/hiddenapi/
Dhiddenapi.cc556 : num_classdefs_(dex_file.NumClassDefs()), in HiddenapiClassDataBuilder()
/art/oatdump/
Doatdump.cc256 class_def_index < dex_file->NumClassDefs(); in WalkOatDexFile()
915 uint32_t table_size = TypeLookupTable::RawDataLength(dex_file->NumClassDefs()); in DumpOatDexFile()
2789 class_def_index != dex_file->NumClassDefs(); in DumpImtStats()

12