Home
last modified time | relevance | path

Searched refs:num_class_defs (Results 1 – 8 of 8) sorted by relevance

/art/libdexfile/dex/
Dtype_lookup_table.cc34 uint32_t num_class_defs = dex_file.NumClassDefs(); in Create() local
35 if (UNLIKELY(!SupportedSize(num_class_defs))) { in Create()
38 size_t mask_bits = CalculateMaskBits(num_class_defs); in Create()
93 uint32_t num_class_defs) { in Open() argument
96 size_t mask_bits = CalculateMaskBits(num_class_defs); in Open()
147 uint32_t TypeLookupTable::RawDataLength(uint32_t num_class_defs) { in RawDataLength() argument
148 return SupportedSize(num_class_defs) ? RoundUpToPowerOfTwo(num_class_defs) * sizeof(Entry) : 0u; in RawDataLength()
151 uint32_t TypeLookupTable::CalculateMaskBits(uint32_t num_class_defs) { in CalculateMaskBits() argument
152 return SupportedSize(num_class_defs) ? MinimumBitsToStore(num_class_defs - 1u) : 0u; in CalculateMaskBits()
155 bool TypeLookupTable::SupportedSize(uint32_t num_class_defs) { in SupportedSize() argument
[all …]
Dtype_lookup_table.h44 uint32_t num_class_defs);
88 static uint32_t RawDataLength(uint32_t num_class_defs);
161 static uint32_t CalculateMaskBits(uint32_t num_class_defs);
162 static bool SupportedSize(uint32_t num_class_defs);
Ddex_file.cc214 size_t num_class_defs = NumClassDefs(); in FindClassDef() local
216 if (num_class_defs == 0) { in FindClassDef()
219 for (size_t i = 0; i < num_class_defs; ++i) { in FindClassDef()
/art/runtime/verifier/
Dverifier_deps.h162 explicit DexFileDeps(size_t num_class_defs) in DexFileDeps()
163 : assignable_types_(num_class_defs), in DexFileDeps()
164 verified_classes_(num_class_defs) {} in DexFileDeps()
188 size_t num_class_defs);
Dverifier_deps.cc426 size_t num_class_defs) { in DecodeSetVector() argument
431 *cursor += (num_class_defs + 1) * sizeof(uint32_t); in DecodeSetVector()
432 for (uint32_t i = 0; i < num_class_defs; ++i) { in DecodeSetVector()
539 size_t num_class_defs) { in DecodeDexFileDeps() argument
547 num_class_defs) && in DecodeDexFileDeps()
568 size_t num_class_defs = dex_file->NumClassDefs(); in ParseStoredData() local
573 num_class_defs))) { in ParseStoredData()
600 size_t num_class_defs = dex_file->NumClassDefs(); in ParseVerifiedClasses() local
601 deps.verified_classes_.resize(num_class_defs); in ParseVerifiedClasses()
606 num_class_defs))) { in ParseVerifiedClasses()
/art/runtime/
Dmodule_exclusion_test.cc185 for (size_t i = 0, num_class_defs = dex_file->NumClassDefs(); i != num_class_defs; ++i) { in TEST_F() local
Doat_file.cc2029 const uint32_t num_class_defs = dex_header->class_defs_size_; in InitializeTypeLookupTable() local
2030 if (lookup_table_data_ + TypeLookupTable::RawDataLength(num_class_defs) > in InitializeTypeLookupTable()
2039 lookup_table_ = TypeLookupTable::Open(dex_data, lookup_table_data_, num_class_defs); in InitializeTypeLookupTable()
2179 const uint32_t num_class_defs = dex_file.NumClassDefs(); in FindClassDef() local
2180 if (num_class_defs == 0) { in FindClassDef()
/art/dexlayout/
Ddex_ir.h392 uint32_t num_class_defs) in Header() argument
400 class_defs_(num_class_defs) { in Header()