Searched refs:num_class_defs (Results 1 – 8 of 8) sorted by relevance
34 uint32_t num_class_defs = dex_file.NumClassDefs(); in Create() local35 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() argument96 size_t mask_bits = CalculateMaskBits(num_class_defs); in Open()147 uint32_t TypeLookupTable::RawDataLength(uint32_t num_class_defs) { in RawDataLength() argument148 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() argument152 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 …]
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);
214 size_t num_class_defs = NumClassDefs(); in FindClassDef() local216 if (num_class_defs == 0) { in FindClassDef()219 for (size_t i = 0; i < num_class_defs; ++i) { in FindClassDef()
162 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);
426 size_t num_class_defs) { in DecodeSetVector() argument431 *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() argument547 num_class_defs) && in DecodeDexFileDeps()568 size_t num_class_defs = dex_file->NumClassDefs(); in ParseStoredData() local573 num_class_defs))) { in ParseStoredData()600 size_t num_class_defs = dex_file->NumClassDefs(); in ParseVerifiedClasses() local601 deps.verified_classes_.resize(num_class_defs); in ParseVerifiedClasses()606 num_class_defs))) { in ParseVerifiedClasses()
185 for (size_t i = 0, num_class_defs = dex_file->NumClassDefs(); i != num_class_defs; ++i) { in TEST_F() local
2029 const uint32_t num_class_defs = dex_header->class_defs_size_; in InitializeTypeLookupTable() local2030 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() local2180 if (num_class_defs == 0) { in FindClassDef()
392 uint32_t num_class_defs) in Header() argument400 class_defs_(num_class_defs) { in Header()