Home
last modified time | relevance | path

Searched refs:NumClassDefs (Results 1 – 25 of 33) 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.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()
Dart_dex_file_loader_test.cc109 EXPECT_EQ(3U, raw->NumClassDefs()); in TEST_F()
124 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
230 EXPECT_EQ(1U, raw->NumClassDefs()); in TEST_F()
Ddex_file.h416 uint32_t NumClassDefs() const { in NumClassDefs() function
423 DCHECK_LT(idx, NumClassDefs()) << GetLocation(); in GetClassDef()
Ddex_file-inl.h459 return { ClassIterator(*this, 0u), ClassIterator(*this, NumClassDefs()) }; in GetClasses()
Ddex_file.cc214 size_t num_class_defs = NumClassDefs(); in FindClassDef()
/art/runtime/verifier/
Dmethod_verifier_test.cc69 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()
307 DCHECK_EQ(dex_deps->verified_classes_.size(), dex_file.NumClassDefs()); in RecordClassVerified()
314 DCHECK_EQ(dex_deps->verified_classes_.size(), dex_file.NumClassDefs()); in HasRecordedVerifiedStatus()
568 size_t num_class_defs = dex_file->NumClassDefs(); in ParseStoredData()
600 size_t num_class_defs = dex_file->NumClassDefs(); in ParseVerifiedClasses()
/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/dexlayout/
Ddexlayout_test.cc361 for (uint32_t i = 0; i < dex_file->NumClassDefs(); i += 1) { in CreateProfile()
785 EXPECT_GT(dex_file->NumClassDefs(), 1u); in TEST_F()
786 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in TEST_F()
819 ASSERT_EQ(output_dex_file->NumClassDefs(), options.class_filter_.size()); in TEST_F()
820 for (uint32_t i = 0; i < output_dex_file->NumClassDefs(); ++i) { in TEST_F()
Ddex_ir_builder.cc270 dex_file.NumClassDefs()); in DexIrBuilder()
300 for (uint32_t i = 0; i < dex_file.NumClassDefs(); ++i) { in DexIrBuilder()
/art/runtime/
Dmodule_exclusion_test.cc65 for (size_t i = 0u, size = dex_file->NumClassDefs(); i != size; ++i) { in DoTest()
185 for (size_t i = 0, num_class_defs = dex_file->NumClassDefs(); i != num_class_defs; ++i) { in TEST_F()
Dvdex_file.cc262 sizeof(uint32_t) + TypeLookupTable::RawDataLength(dex_file->NumClassDefs()); in WriteToDisk()
419 uint32_t end_of_assignability_types = dex_file_class_defs[dex_file.NumClassDefs()]; in GetExtraStringsOffsets()
454 for (uint32_t i = class_def_index + 1; i < dex_file.NumClassDefs() + 1; ++i) { in ComputeClassStatus()
Doat_file_manager.cc642 for (uint32_t cdef_idx = 0; cdef_idx < dex_file->NumClassDefs(); cdef_idx++) { in Run()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h43 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/
Dverifier_deps_test.cc227 ASSERT_EQ(verified_classes.size(), dex_file->NumClassDefs()); in VerifyClassStatus()
228 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in VerifyClassStatus()
/art/dex2oat/driver/
Dcompiler_driver.cc1689 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in ResolveDexFile()
1772 DCHECK_EQ(verified_classes.size(), dex_file->NumClassDefs()); in FastVerify()
2030 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in VerifyDexFile()
2098 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in SetVerifiedDexFile()
2534 context.ForAll(0, dex_file.NumClassDefs(), &visitor, init_thread_count); in InitializeClasses()
2636 context.ForAllLambda(0, dex_file.NumClassDefs(), compile, thread_count); in CompileDexFile()
Dcompiler_driver_test.cc95 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { in MakeDexFileExecutable()
/art/openjdkjvmti/
Dti_redefine.cc799 if (current_dex_cache->GetDexFile()->NumClassDefs() != 1) { in AllocateOrGetOriginalDexFile()
931 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckMethods()
1013 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckFields()
1072 if (dex_file_->NumClassDefs() != 1) { in CheckClass()
1075 dex_file_->NumClassDefs())); in CheckClass()
1610 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckVerification()
3007 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in UpdateClassInPlace()
Dti_class.cc132 if (dex_file->NumClassDefs() != 1) { in MakeSingleDexFile()
893 uint32_t num_defs = dex_file->NumClassDefs(); in CopyClassDescriptors()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc243 num_class_defs_ += dex_file.NumClassDefs(); in ProcessDexFile()
/art/runtime/native/
Ddalvik_system_DexFile.cc476 for (size_t i = 0; i < dex_file->NumClassDefs(); ++i) { in DexFile_getClassNameList()
/art/tools/hiddenapi/
Dhiddenapi.cc575 : num_classdefs_(dex_file.NumClassDefs()), in HiddenapiClassDataBuilder()
/art/oatdump/
Doatdump.cc250 class_def_index < dex_file->NumClassDefs(); in WalkOatDexFile()
896 uint32_t table_size = TypeLookupTable::RawDataLength(dex_file->NumClassDefs()); in DumpOatDexFile()
2703 class_def_index != dex_file->NumClassDefs(); in DumpImtStats()

12