Home | History | Annotate | Download | only in runtime

Lines Matching full:dexfile

173 ClassLinker* ClassLinker::CreateFromCompiler(const std::vector<const DexFile*>& boot_class_path,
203 void ClassLinker::InitFromCompiler(const std::vector<const DexFile*>& boot_class_path) {
328 const DexFile* dex_file = boot_class_path[i];
672 const OatFile* ClassLinker::FindOpenedOatFileForDexFile(const DexFile& dex_file) {
692 const DexFile* ClassLinker::FindDexFileInOatLocation(const std::string& dex_location,
737 const DexFile* ClassLinker::FindOrCreateOatFileForDexLocation(const std::string& dex_location,
798 const DexFile* ClassLinker::FindOrCreateOatFileForDexLocationLocked(const std::string& dex_location,
813 const DexFile* dex_file = FindDexFileInOatLocation(dex_location,
840 const DexFile* result = oat_dex_file->OpenDexFile();
844 << " DexFile::GetLocationChecksum()=" << result->GetLocationChecksum();
895 const DexFile* ClassLinker::VerifyAndOpenDexFileFromOatFile(const OatFile* oat_file,
907 const DexFile* ClassLinker::FindDexFileInOatFileFromDexLocation(const std::string& dex_location,
923 if (!DexFile::GetChecksum(dex_location, &dex_location_checksum)) {
931 const DexFile* dex_file = VerifyAndOpenDexFileFromOatFile(oat_file.release(),
944 if (!DexFile::GetChecksum(dex_location, &dex_location_checksum)) {
948 const DexFile* dex_file = VerifyAndOpenDexFileFromOatFile(oat_file.release(),
1046 const DexFile* dex_file = oat_dex_file->OpenDexFile();
1177 mirror::DexCache* ClassLinker::AllocDexCache(Thread* self, const DexFile& dex_file) {
1240 klass->SetDexClassDefIndex(DexFile::kDexNoIndex16); // Default to no valid class def index.
1241 klass->SetDexTypeIndex(DexFile::kDexNoIndex16); // Default to no valid type index.
1292 DexFile::ClassPathEntry pair = DexFile::FindInClassPath(descriptor, boot_class_path_);
1320 DexFile::ClassPathEntry pair = DexFile::FindInClassPath(descriptor, boot_class_path_);
1334 const std::vector<const DexFile*>* class_path;
1341 DexFile::ClassPathEntry pair = DexFile::FindInClassPath(descriptor, *class_path);
1384 const DexFile& dex_file,
1385 const DexFile::ClassDef& dex_class_def) {
1465 size_t ClassLinker::SizeOfClass(const DexFile& dex_file,
1466 const DexFile::ClassDef& dex_class_def) {
1473 const DexFile::FieldId& field_id = dex_file.GetFieldId(it.GetMemberIndex());
1505 const OatFile::OatClass* ClassLinker::GetOatClass(const DexFile& dex_file, uint16_t class_def_idx) {
1506 DCHECK_NE(class_def_idx, DexFile::kDexNoIndex16);
1518 static uint32_t GetOatMethodIndexFromMethodIndex(const DexFile& dex_file, uint16_t class_def_idx,
1520 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx);
1605 const void* ClassLinker::GetOatCodeFor(const DexFile& dex_file, uint16_t class_def_idx,
1634 const DexFile::ClassDef* dex_class_def = kh.GetClassDef();
1636 const DexFile& dex_file = kh.GetDexFile();
1718 void ClassLinker::LoadClass(const DexFile& dex_file,
1719 const DexFile::ClassDef& dex_class_def,
1839 void ClassLinker::LoadField(const DexFile& /*dex_file*/, const ClassDataItemIterator& it,
1847 mirror::ArtMethod* ClassLinker::LoadMethod(Thread* self, const DexFile& dex_file,
1851 const DexFile::MethodId& method_id = dex_file.GetMethodId(dex_method_idx);
1867 const DexFile::StringId* void_string_id = dex_file.FindStringId("V");
1869 const DexFile::TypeId* void_type_id =
1873 const DexFile::ProtoId* finalizer_proto =
1910 void ClassLinker::AppendToBootClassPath(const DexFile& dex_file) {
1917 void ClassLinker::AppendToBootClassPath(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache) {
1923 bool ClassLinker::IsDexFileRegisteredLocked(const DexFile& dex_file) const {
1933 bool ClassLinker::IsDexFileRegistered(const DexFile& dex_file) const {
1938 void ClassLinker::RegisterDexFileLocked(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache) {
1948 void ClassLinker::RegisterDexFile(const DexFile& dex_file) {
1970 void ClassLinker::RegisterDexFile(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache) {
1975 mirror::DexCache* ClassLinker::FindDexCache(const DexFile& dex_file) const {
1997 LOG(FATAL) << "Failed to find DexCache for DexFile " << location;
2345 const DexFile* dex_file = dex_cache->GetDexFile();
2348 const DexFile::StringId* descriptor_string_id = dex_file->FindStringId(descriptor);
2350 const DexFile::TypeId* type_id =
2362 const DexFile::StringId* string_id = dex_file->FindStringId(descriptor);
2364 const DexFile::TypeId* type_id =
2453 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile();
2522 bool ClassLinker::VerifyClassUsingOatFile(const DexFile& dex_file, mirror::Class* klass,
2601 void ClassLinker::ResolveClassExceptionHandlerTypes(const DexFile& dex_file, mirror::Class* klass) {
2610 void ClassLinker::ResolveMethodExceptionHandlerTypes(const DexFile& dex_file,
2613 const DexFile::CodeItem* code_item = dex_file.GetCodeItem(method->GetCodeItemOffset());
2620 const byte* handlers_ptr = DexFile::GetCatchHandlerData(*code_item, 0);
2628 if (iterator.GetHandlerTypeIndex() != DexFile::kDexNoIndex16) {
2914 const DexFile::ClassDef* dex_class_def = kh.GetClassDef();
3038 const DexFile::ClassDef* dex_class_def = kh.GetClassDef();
3040 const DexFile& dex_file = kh.GetDexFile();
3181 const DexFile& dex_file = *method->GetDeclaringClass()->GetDexCache()->GetDexFile();
3182 const DexFile::ProtoId& proto_id =
3241 void ClassLinker::ConstructFieldMap(const DexFile& dex_file, const DexFile::ClassDef& dex_class_def,
3273 bool ClassLinker::LoadSuperAndInterfaces(SirtRef<mirror::Class>& klass, const DexFile& dex_file) {
3275 const DexFile::ClassDef& class_def = dex_file.GetClassDef(klass->GetDexClassDefIndex());
3277 if (super_class_idx != DexFile::kDexNoIndex16) {
3292 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def);
3957 mirror::String* ClassLinker::ResolveString(const DexFile& dex_file,
3964 const DexFile::StringId& string_id = dex_file.GetStringId(string_idx);
3972 mirror::Class* ClassLinker::ResolveType(const DexFile& dex_file,
4004 mirror::ArtMethod* ClassLinker::ResolveMethod(const DexFile& dex_file,
4017 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx);
4151 mirror::ArtField* ClassLinker::ResolveField(const DexFile& dex_file,
4161 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx);
4191 mirror::ArtField* ClassLinker::ResolveFieldJLS(const DexFile& dex_file,
4200 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx);
4222 const DexFile& dex_file = *dex_cache->GetDexFile();
4223 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx);