Home
last modified time | relevance | path

Searched refs:class_def_idx (Results 1 – 25 of 25) 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_iterator.h31 ClassIteratorData(const DexFile& dex_file, uint32_t class_def_idx) in ClassIteratorData() argument
33 class_def_idx_(class_def_idx) {} in ClassIteratorData()
49 ClassIterator(const DexFile& dex_file, uint32_t class_def_idx) in ClassIterator() argument
50 : 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()
Dcompiler_options.cc163 uint16_t class_def_idx, in IsMethodVerifiedWithoutFailures() argument
176 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.h291 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/compiler/
Dcompiler.h63 uint16_t class_def_idx,
/art/runtime/verifier/
Dmethod_verifier.h256 const dex::ClassDef& class_def_idx,
278 const dex::ClassDef& class_def_idx,
/art/compiler/optimizing/
Doptimizing_compiler.cc279 uint16_t class_def_idx,
1008 uint16_t class_def_idx, in Compile() argument
1019 if (compiler_options.IsMethodVerifiedWithoutFailures(method_idx, class_def_idx, dex_file) || in Compile()
1042 class_def_idx, in Compile()
1228 const uint16_t class_def_idx = method->GetClassDefIndex(); in JitCompile() local
1269 info.class_def_index = class_def_idx; in JitCompile()
1320 class_def_idx, in JitCompile()
1377 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/runtime/
Dhidden_api.cc426 uint16_t class_def_idx = ext->GetPreRedefineClassDefIndex(); in GetDexFlags() local
427 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16); in GetDexFlags()
428 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
Doat_file.cc2020 const uint32_t class_def_idx = oat_dex_file->GetTypeLookupTable().Lookup(descriptor, hash); in FindClassDef() local
2021 lookup_table_classdef = (class_def_idx != dex::kDexNoIndex) in FindClassDef()
2022 ? &dex_file.GetClassDef(class_def_idx) in FindClassDef()
2167 uint16_t class_def_idx, in FindOatClass() argument
2169 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16); in FindOatClass()
2176 return oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
Doat_file.h370 static OatClass FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, bool* found);
Dart_method.cc431 uint16_t class_def_idx, in GetOatMethodIndexFromMethodIndex() argument
433 ClassAccessor accessor(dex_file, class_def_idx); in GetOatMethodIndexFromMethodIndex()
/art/dex2oat/driver/
Dcompiler_driver.cc426 uint16_t class_def_idx, in CompileMethodHarness() argument
443 class_def_idx, in CompileMethodHarness()
475 uint16_t class_def_idx, in CompileMethodDex2Dex() argument
486 uint16_t class_def_idx, in CompileMethodDex2Dex()
507 class_def_idx, in CompileMethodDex2Dex()
522 class_def_idx, in CompileMethodDex2Dex()
537 uint16_t class_def_idx, in CompileMethodQuick() argument
549 uint16_t class_def_idx, in CompileMethodQuick()
567 dex_file, dex_file.GetClassDef(class_def_idx), method_idx); in CompileMethodQuick()
596 class_def_idx, in CompileMethodQuick()
[all …]
/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.cc1184 uint16_t class_def_idx = GetDexClassDefIndex(); in GetClassDef() local
1185 if (class_def_idx == DexFile::kDexNoIndex16) { in GetClassDef()
1188 return &GetDexFile().GetClassDef(class_def_idx); in GetClassDef()
Dclass.h1147 void SetDexClassDefIndex(uint16_t class_def_idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexClassDefIndex() argument
1149 OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); in SetDexClassDefIndex()