Searched refs:num_class_defs (Results 1 – 8 of 8) sorted by relevance
/art/libdexfile/dex/ |
D | type_lookup_table.cc | 34 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 …]
|
D | type_lookup_table.h | 44 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);
|
D | dex_file.cc | 214 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/ |
D | verifier_deps.h | 213 explicit DexFileDeps(size_t num_class_defs) in DexFileDeps() 214 : verified_classes_(num_class_defs), in DexFileDeps() 215 redefined_classes_(num_class_defs) {} in DexFileDeps() 250 size_t num_class_defs);
|
D | verifier_deps.cc | 689 size_t num_class_defs, in DecodeUint16SparseBitVector() argument 693 DCHECK_EQ(vector->size(), num_class_defs); in DecodeUint16SparseBitVector() 778 size_t num_class_defs) { in DecodeDexFileDeps() argument 790 data_start, data_end, num_class_defs, /*sparse_value=*/ false, &deps.verified_classes_) && in DecodeDexFileDeps() 792 data_start, data_end, num_class_defs, /*sparse_value=*/ true, &deps.redefined_classes_); in DecodeDexFileDeps() 807 size_t num_class_defs = dex_file->NumClassDefs(); in ParseStoredData() local 811 num_class_defs))) { in ParseStoredData() 834 size_t num_class_defs = dex_file->NumClassDefs(); in ParseVerifiedClasses() local 835 deps.verified_classes_.resize(num_class_defs); in ParseVerifiedClasses() 839 num_class_defs))) { in ParseVerifiedClasses()
|
/art/runtime/ |
D | module_exclusion_test.cc | 185 for (size_t i = 0, num_class_defs = dex_file->NumClassDefs(); i != num_class_defs; ++i) { in TEST_F() local
|
D | oat_file.cc | 1891 const uint32_t num_class_defs = dex_header->class_defs_size_; in OatDexFile() local 1892 if (lookup_table_data_ + TypeLookupTable::RawDataLength(num_class_defs) > GetOatFile()->End()) { in OatDexFile() 1900 lookup_table_ = TypeLookupTable::Open(dex_data, lookup_table_data_, num_class_defs); in OatDexFile() 2042 const uint32_t num_class_defs = dex_file.NumClassDefs(); in FindClassDef() local 2043 if (num_class_defs == 0) { in FindClassDef()
|
/art/dexlayout/ |
D | dex_ir.h | 392 uint32_t num_class_defs) in Header() argument 400 class_defs_(num_class_defs) { in Header()
|