Home | History | Annotate | Download | only in runtime

Lines Matching refs:dex_file

29 #include "dex/dex_file-inl.h"
138 const DexFile* dex_file = GetDexFile();
139 const dex::TypeIndex declaring_class_type = dex_file->GetMethodId(GetDexMethodIndex()).class_idx_;
140 const DexFile::ClassDef* class_def = dex_file->FindClassDef(declaring_class_type);
142 return dex_file->GetIndexForClassDef(*class_def);
149 auto* dex_file = dex_cache->GetDexFile();
151 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx);
198 const DexFile* dex_file = GetDexFile();
199 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex());
201 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex());
206 if (!DexFileStringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) {
209 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2);
432 static uint32_t GetOatMethodIndexFromMethodIndex(const DexFile& dex_file,
435 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx);
436 const uint8_t* class_data = dex_file.GetClassData(class_def);
438 ClassDataItemIterator it(dex_file, class_data);
457 LOG(FATAL) << "Failed to find method index " << method_idx << " in " << dex_file.GetLocation();
472 const DexFile* dex_file = method->GetDexFile();
477 dex_file->FindTypeId(method->GetDeclaringClass()->GetDescriptor(&descriptor_storage));
479 dex::TypeIndex declaring_class_type_index = dex_file->GetIndexForTypeId(*declaring_class_type_id);
481 dex_file->FindClassDef(declaring_class_type_index);
483 uint16_t declaring_class_def_index = dex_file->GetIndexForClassDef(*declaring_class_type_def);
485 size_t oat_method_index = GetOatMethodIndexFromMethodIndex(*dex_file,
489 OatFile::OatClass oat_class = OatFile::FindOatClass(*dex_file,
548 auto* dex_file = dex_cache->GetDexFile();
549 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex());
550 const auto& proto_id = dex_file->GetMethodPrototype(method_id);
551 const DexFile::TypeList* proto_params = dex_file->GetProtoParameters(proto_id);
573 const DexFile& dex_file = GetDeclaringClass()->GetDexFile();
574 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
578 return oat_dex_file->GetOatFile()->GetVdexFile()->GetQuickenedInfoOf(dex_file,