• Home
  • Raw
  • Download

Lines Matching refs:dex_file_

296       dex_file_(dex_file),  in MethodVerifier()
457 ClassReference ref(dex_file_, dex_file_->GetIndexForClassDef(*class_def_)); in Fail()
465 std::string location(StringPrintf("%s: [0x%X]", PrettyMethod(dex_method_idx_, *dex_file_).c_str(), in Fail()
571 mirror::Class* exception_type = linker->ResolveType(*dex_file_, in ScanTryCatchBlocks()
706 if (idx >= dex_file_->GetHeader().field_ids_size_) { in CheckFieldIndex()
708 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex()
715 if (idx >= dex_file_->GetHeader().method_ids_size_) { in CheckMethodIndex()
717 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex()
724 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckNewInstance()
726 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckNewInstance()
730 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewInstance()
739 if (idx >= dex_file_->GetHeader().string_ids_size_) { in CheckStringIndex()
741 << dex_file_->GetHeader().string_ids_size_ << ")"; in CheckStringIndex()
748 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckTypeIndex()
750 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckTypeIndex()
757 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckNewArray()
759 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckNewArray()
763 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewArray()
1044 prepend += PrettyMethod(dex_method_idx_, *dex_file_); in VerifyCodeFlow()
1056 MethodReference ref(dex_file_, dex_method_idx_); in VerifyCodeFlow()
1130 indent_os << inst->DumpString(dex_file_) << "\n"; in Dump()
1174 dex_file_->GetMethodPrototype(dex_file_->GetMethodId(dex_method_idx_)); in SetTypesFromSignature()
1175 DexFileParameterIterator iterator(*dex_file_, proto_id); in SetTypesFromSignature()
1237 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); in SetTypesFromSignature()
1319 LOG(FATAL) << "work_line diverged in " << PrettyMethod(dex_method_idx_, *dex_file_) in CodeFlowVerifyMethod()
1328 std::string prepend(PrettyMethod(dex_method_idx_, *dex_file_)); in CodeFlowVerifyMethod()
1424 LogVerifyInfo() << "Processing " << inst->DumpString(dex_file_) << "\n" in CodeFlowVerifyInstruction()
2137 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2138 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2139 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
2161 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2162 is_constructor = StringPiece(dex_file_->GetMethodName(method_id)) == "<init>"; in CodeFlowVerifyInstruction()
2163 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2164 return_type_descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
2229 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2230 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2231 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
2286 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in CodeFlowVerifyInstruction()
2287 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in CodeFlowVerifyInstruction()
2288 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
2526 DCHECK(Runtime::Current()->IsStarted()) << PrettyMethod(dex_method_idx_, *dex_file_); in CodeFlowVerifyInstruction()
2599 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "Unexpected opcode " << inst->DumpString(dex_file_); in CodeFlowVerifyInstruction()
2614 info_messages_ << "Rejecting opcode " << inst->DumpString(dex_file_); in CodeFlowVerifyInstruction()
2822 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClassAndCheckAccess()
2896 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx); in ResolveMethodAndCheckAccess()
2900 append += dex_file_->GetMethodName(method_id); in ResolveMethodAndCheckAccess()
2911 const char* name = dex_file_->GetMethodName(method_id); in ResolveMethodAndCheckAccess()
2912 std::string signature(dex_file_->CreateMethodSignature(method_id.proto_idx_, NULL)); in ResolveMethodAndCheckAccess()
3005 << PrettyMethod(dex_method_idx_, *dex_file_) in VerifyInvocationArgs()
3013 << PrettyMethod(dex_method_idx_, *dex_file_) in VerifyInvocationArgs()
3401 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in GetStaticField()
3406 field_idx, dex_file_->GetFieldName(field_id), in GetStaticField()
3407 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); in GetStaticField()
3413 mirror::ArtField* field = Runtime::Current()->GetClassLinker()->ResolveFieldJLS(*dex_file_, in GetStaticField()
3419 << dex_file_->GetFieldName(field_id) << ") in " in GetStaticField()
3420 << dex_file_->GetFieldDeclaringClassDescriptor(field_id); in GetStaticField()
3438 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in GetInstanceField()
3443 field_idx, dex_file_->GetFieldName(field_id), in GetInstanceField()
3444 dex_file_->GetFieldDeclaringClassDescriptor(field_id))); in GetInstanceField()
3450 mirror::ArtField* field = Runtime::Current()->GetClassLinker()->ResolveFieldJLS(*dex_file_, in GetInstanceField()
3456 << dex_file_->GetFieldName(field_id) << ") in " in GetInstanceField()
3457 << dex_file_->GetFieldDeclaringClassDescriptor(field_id); in GetInstanceField()
3476 reg_types_.FromClass(dex_file_->GetFieldDeclaringClassDescriptor(field_id), in GetInstanceField()
3485 << " of " << PrettyMethod(dex_method_idx_, *dex_file_); in GetInstanceField()
3516 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in VerifyISGet()
3517 descriptor = dex_file_->GetFieldTypeDescriptor(field_id); in VerifyISGet()
3570 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx); in VerifyISPut()
3571 descriptor = dex_file_->GetFieldTypeDescriptor(field_id); in VerifyISPut()
3835 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetMethodReturnType()
3836 const DexFile::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id); in GetMethodReturnType()
3838 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(return_type_idx)); in GetMethodReturnType()
3844 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetDeclaringClass()
3846 = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_)); in GetDeclaringClass()