Home
last modified time | relevance | path

Searched refs:class_def_idx (Results 1 – 21 of 21) sorted by relevance

/art/libdexfile/dex/
Dtype_lookup_table.cc45 for (size_t class_def_idx = 0; class_def_idx < dex_file.NumClassDefs(); ++class_def_idx) { in Create() local
46 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
52 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
55 conflict_class_defs.push_back(class_def_idx); in Create()
60 for (uint16_t class_def_idx : conflict_class_defs) { in Create() local
61 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
78 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
Dclass_iterator.h31 ClassIteratorData(const DexFile& dex_file, uint32_t class_def_idx) in ClassIteratorData() argument
33 class_def_idx_(class_def_idx) {} in ClassIteratorData()
52 ClassIterator(const DexFile& dex_file, uint32_t class_def_idx) in ClassIterator() argument
53 : data_(dex_file, class_def_idx) {} in ClassIterator()
Dclass_reference.h32 ClassReference(const DexFile* file, uint32_t class_def_idx) in ClassReference() argument
33 : DexFileReference(file, class_def_idx) {} in ClassReference()
Dclass_accessor_test.cc30 uint32_t class_def_idx = 0u; in TEST_F() local
35 EXPECT_EQ(class_def_idx, accessor.GetClassDefIndex()); in TEST_F()
36 ++class_def_idx; in TEST_F()
86 EXPECT_EQ(class_def_idx, dex_file->NumClassDefs()); in TEST_F()
Dtype_lookup_table_test.cc46 uint32_t class_def_idx = table.Lookup(descriptor, hash); in TEST_P() local
47 ASSERT_EQ(pair.second, class_def_idx); in TEST_P()
Ddex_file_structs.h283 const uint8_t* GetFlagsPointer(uint32_t class_def_idx) const { in GetFlagsPointer()
284 if (flags_offset_[class_def_idx] == 0) { in GetFlagsPointer()
287 return reinterpret_cast<const uint8_t*>(this) + flags_offset_[class_def_idx]; in GetFlagsPointer()
/art/compiler/driver/
Ddex_compilation_unit.cc34 uint16_t class_def_idx, in DexCompilationUnit() argument
44 class_def_idx_(class_def_idx), in DexCompilationUnit()
Ddex_compilation_unit.h43 uint16_t class_def_idx,
/art/test/661-oat-writer-layout/
Dinfo.txt4 MethodHotness bitmask (and sub-sorts by class_def_idx, then method_id).
/art/runtime/verifier/
Dmethod_verifier.h240 const dex::ClassDef& class_def_idx,
258 const dex::ClassDef& class_def_idx,
/art/compiler/
Dcompiler.h59 uint16_t class_def_idx,
/art/dex2oat/
Ddex2oat_vdex_test.cc110 uint16_t class_def_idx = GetClassDefIndex(cls, dex_file); in HasVerifiedClass() local
111 return deps->GetVerifiedClasses(dex_file)[class_def_idx]; in HasVerifiedClass()
Dverifier_deps_test.cc258 uint16_t class_def_idx = GetClassDefIndex(cls, dex_file); in HasVerifiedClass() local
259 return verifier_deps_->GetVerifiedClasses(dex_file)[class_def_idx]; in HasVerifiedClass()
/art/compiler/optimizing/
Doptimizing_compiler.cc260 uint16_t class_def_idx,
1064 uint16_t class_def_idx, in Compile() argument
1093 class_def_idx, in Compile()
1274 const uint16_t class_def_idx = method->GetClassDefIndex(); in JitCompile() local
1332 info.class_def_index = class_def_idx; in JitCompile()
1383 class_def_idx, in JitCompile()
1439 info.class_def_index = class_def_idx; in JitCompile()
/art/runtime/
Dhidden_api.cc533 uint16_t class_def_idx = ext->GetPreRedefineClassDefIndex(); in GetDexFlags() local
534 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16); in GetDexFlags()
535 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
Dart_method.cc462 uint16_t class_def_idx, in GetOatMethodIndexFromMethodIndex() argument
464 ClassAccessor accessor(dex_file, class_def_idx); in GetOatMethodIndexFromMethodIndex()
/art/runtime/oat/
Doat_file.cc2349 const uint32_t class_def_idx = oat_dex_file->GetTypeLookupTable().Lookup(descriptor, hash); in FindClassDef() local
2350 if (class_def_idx != dex::kDexNoIndex) { in FindClassDef()
2351 CHECK_LT(class_def_idx, dex_file.NumClassDefs()) << oat_dex_file->GetOatFile()->GetLocation(); in FindClassDef()
2352 lookup_table_classdef = &dex_file.GetClassDef(class_def_idx); in FindClassDef()
2464 uint16_t class_def_idx, in FindOatClass() argument
2466 CHECK_LT(class_def_idx, dex_file.NumClassDefs()); in FindOatClass()
2473 return oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
Doat_file.h390 EXPORT static OatClass FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, bool* found);
/art/dex2oat/driver/
Dcompiler_driver.cc374 uint16_t class_def_idx, in CompileMethodHarness() argument
390 class_def_idx, in CompileMethodHarness()
460 uint16_t class_def_idx, in CompileMethodQuick() argument
471 uint16_t class_def_idx, in CompileMethodQuick()
494 dex_file, dex_file.GetClassDef(class_def_idx), method_idx); in CompileMethodQuick()
511 dex_file.GetClassDef(class_def_idx), in CompileMethodQuick()
527 class_def_idx, in CompileMethodQuick()
563 class_def_idx, in CompileMethodQuick()
/art/runtime/mirror/
Dclass.cc1508 uint16_t class_def_idx = GetDexClassDefIndex(); in GetClassDef() local
1509 if (class_def_idx == DexFile::kDexNoIndex16) { in GetClassDef()
1512 return &GetDexFile().GetClassDef(class_def_idx); in GetClassDef()
Dclass.h1169 void SetDexClassDefIndex(uint16_t class_def_idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexClassDefIndex() argument
1171 OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); in SetDexClassDefIndex()