Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dtype_lookup_table.cc49 for (size_t class_def_idx = 0; class_def_idx < dex_file.NumClassDefs(); ++class_def_idx) { in Create() local
50 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
56 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
59 conflict_class_defs.push_back(class_def_idx); in Create()
64 for (uint16_t class_def_idx : conflict_class_defs) { in Create() local
65 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
82 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
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()
Dcompiler_options.cc164 uint16_t class_def_idx, in IsMethodVerifiedWithoutFailures() argument
177 const char* descriptor = dex_file.GetClassDescriptor(dex_file.GetClassDef(class_def_idx)); in IsMethodVerifiedWithoutFailures()
Ddex_compilation_unit.h42 uint16_t class_def_idx,
Dcompiler_options.h300 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/dex2oat/dex/
Ddex_to_dex_compiler.h60 uint16_t class_def_idx,
Ddex_to_dex_compiler.cc511 uint16_t class_def_idx, in CompileMethod() argument
528 class_def_idx, in CompileMethod()
/art/runtime/verifier/
Dmethod_verifier.h223 const dex::ClassDef& class_def_idx,
241 const dex::ClassDef& class_def_idx,
/art/compiler/
Dcompiler.h63 uint16_t class_def_idx,
/art/runtime/
Dhidden_api.cc390 uint16_t class_def_idx = ext->GetPreRedefineClassDefIndex(); in GetDexFlags() local
391 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16); in GetDexFlags()
392 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
Doat_file.cc2029 const uint32_t class_def_idx = oat_dex_file->GetTypeLookupTable().Lookup(descriptor, hash); in FindClassDef() local
2030 lookup_table_classdef = (class_def_idx != dex::kDexNoIndex) in FindClassDef()
2031 ? &dex_file.GetClassDef(class_def_idx) in FindClassDef()
2181 uint16_t class_def_idx, in FindOatClass() argument
2183 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16); in FindOatClass()
2190 return oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
Doat_file.h362 static OatClass FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, bool* found);
Dart_method.cc422 uint16_t class_def_idx, in GetOatMethodIndexFromMethodIndex() argument
424 ClassAccessor accessor(dex_file, class_def_idx); in GetOatMethodIndexFromMethodIndex()
/art/compiler/optimizing/
Doptimizing_compiler.cc279 uint16_t class_def_idx,
1045 uint16_t class_def_idx, in Compile() argument
1056 if (compiler_options.IsMethodVerifiedWithoutFailures(method_idx, class_def_idx, dex_file) || in Compile()
1079 class_def_idx, in Compile()
1262 const uint16_t class_def_idx = method->GetClassDefIndex(); in JitCompile() local
1318 info.class_def_index = class_def_idx; in JitCompile()
1354 class_def_idx, in JitCompile()
1427 info.class_def_index = class_def_idx; in JitCompile()
Dinliner.cc423 uint16_t class_def_idx = method->GetDeclaringClass()->GetDexClassDefIndex(); in IsMethodUnverified() local
425 class_def_idx, in IsMethodUnverified()
/art/dex2oat/
Dverifier_deps_test.cc264 uint16_t class_def_idx = GetClassDefIndex(cls, dex_file); in HasUnverifiedClass() local
265 return !verifier_deps_->GetVerifiedClasses(dex_file)[class_def_idx]; in HasUnverifiedClass()
269 uint16_t class_def_idx = GetClassDefIndex(cls, *primary_dex_file_); in HasRedefinedClass() local
270 return verifier_deps_->GetRedefinedClasses(*primary_dex_file_)[class_def_idx]; in HasRedefinedClass()
/art/runtime/mirror/
Dclass.h1074 void SetDexClassDefIndex(uint16_t class_def_idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexClassDefIndex() argument
1075 SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); in SetDexClassDefIndex()