Home
last modified time | relevance | path

Searched refs:NumClassDefs (Results 1 – 25 of 29) 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()
Dart_dex_file_loader_test.cc100 EXPECT_EQ(3U, raw->NumClassDefs()); in TEST_F()
115 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
221 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
Dtype_lookup_table.cc34 uint32_t num_class_defs = dex_file.NumClassDefs(); in Create()
49 for (size_t class_def_idx = 0; class_def_idx < dex_file.NumClassDefs(); ++class_def_idx) { in Create()
Ddex_file.h397 uint32_t NumClassDefs() const { in NumClassDefs() function
404 DCHECK_LT(idx, NumClassDefs()) << GetLocation(); in GetClassDef()
Ddex_file-inl.h454 return { ClassIterator(*this, 0u), ClassIterator(*this, NumClassDefs()) }; in GetClasses()
Ddex_file.cc213 size_t num_class_defs = NumClassDefs(); in FindClassDef()
/art/runtime/verifier/
Dmethod_verifier_test.cc60 for (size_t i = 0; i < dex.NumClassDefs(); i++) { in VerifyDexFile()
Dverifier_deps.cc43 std::unique_ptr<DexFileDeps> deps(new DexFileDeps(dex_file->NumClassDefs())); in VerifierDeps()
520 DCHECK_EQ(dex_deps->redefined_classes_.size(), dex_file.NumClassDefs()); in MaybeRecordClassRedefinition()
540 DCHECK_EQ(dex_deps->verified_classes_.size(), dex_file.NumClassDefs()); in RecordClassVerified()
789 DexFileDeps deps(dex_file->NumClassDefs()); in ParseVerifiedClasses()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc60 for (uint16_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); ++cdef_idx) { in Java_Main_areClassesVerified()
154 for (uint16_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); ++cdef_idx) { in Java_Main_areClassesPreverified()
/art/dexlayout/
Ddexlayout_test.cc370 for (uint32_t i = 0; i < dex_file->NumClassDefs(); i += 1) { in CreateProfile()
794 EXPECT_GT(dex_file->NumClassDefs(), 1u); in TEST_F()
795 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in TEST_F()
828 ASSERT_EQ(output_dex_file->NumClassDefs(), options.class_filter_.size()); in TEST_F()
829 for (uint32_t i = 0; i < output_dex_file->NumClassDefs(); ++i) { in TEST_F()
Ddex_ir_builder.cc269 dex_file.NumClassDefs()); in DexIrBuilder()
299 for (uint32_t i = 0; i < dex_file.NumClassDefs(); ++i) { in DexIrBuilder()
/art/runtime/
Dmodule_exclusion_test.cc63 for (size_t i = 0u, size = dex_file->NumClassDefs(); i != size; ++i) { in DoTest()
Doat_file_manager.cc195 for (uint16_t i = 0; i < dex_file->NumClassDefs(); ++i) { in GenerateTypeIndexes()
273 } else if (dex_file->NumClassDefs() > 0U) { in AddDexFilesFromOat()
900 for (uint32_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); cdef_idx++) { in Run()
Dclass_loader_context.cc892 if (cp_dex_file != nullptr && cp_dex_file->NumClassDefs() > 0) { in CollectDexFilesFromJavaDexFile()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h43 return dex_file->NumClassDefs(); in NumberOfDexIndices()
/art/openjdkjvmti/
Dti_redefine.cc584 if (current_dex_cache->GetDexFile()->NumClassDefs() != 1) { in AllocateOrGetOriginalDexFile()
669 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckSameMethods()
722 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckSameFields()
789 if (dex_file_->NumClassDefs() != 1) { in CheckClass()
792 dex_file_->NumClassDefs())); in CheckClass()
1172 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckVerification()
1514 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in UpdateClass()
Dti_class.cc130 if (dex_file->NumClassDefs() != 1) { in MakeSingleDexFile()
887 uint32_t num_defs = dex_file->NumClassDefs(); in CopyClassDescriptors()
/art/libdexfile/external/
Ddex_file_ext.cc123 for (; class_def_index_ < dex_file_->NumClassDefs(); class_def_index_++) { in GetMethodCacheEntryForOffset()
/art/dex2oat/driver/
Dcompiler_driver_test.cc95 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { in MakeDexFileExecutable()
/art/dex2oat/
Dverifier_deps_test.cc231 ASSERT_EQ(verified_classes.size(), dex_file->NumClassDefs()); in VerifyClassStatus()
232 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in VerifyClassStatus()
/art/dex2oat/linker/
Dimage_test.h497 for (size_t j = 0; j < dex->NumClassDefs(); ++j) { in TestWriteRead()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc243 num_class_defs_ += dex_file.NumClassDefs(); in ProcessDexFile()
/art/runtime/native/
Ddalvik_system_DexFile.cc497 for (size_t i = 0; i < dex_file->NumClassDefs(); ++i) { in DexFile_getClassNameList()
/art/tools/hiddenapi/
Dhiddenapi.cc552 : num_classdefs_(dex_file.NumClassDefs()), in HiddenapiClassDataBuilder()
/art/oatdump/
Doatdump.cc252 class_def_index < dex_file->NumClassDefs(); in WalkOatDexFile()
914 uint32_t table_size = TypeLookupTable::RawDataLength(dex_file->NumClassDefs()); in DumpOatDexFile()
3037 class_def_index != dex_file->NumClassDefs(); in DumpImtStats()

12