Home
last modified time | relevance | path

Searched refs:dex_file_ (Results 1 – 25 of 27) sorted by relevance

12

/art/runtime/
Ddex_file-inl.h61 if (dex_file_ == nullptr) {
62 return rhs.dex_file_ == nullptr;
64 if (rhs.dex_file_ == nullptr) {
67 if (dex_file_ == rhs.dex_file_) {
71 const char* lhs_shorty_data = dex_file_->StringDataAndUtf16LengthByIdx(proto_id_->shorty_idx_,
77 rhs.dex_file_->StringDataAndUtf16LengthByIdx(rhs.proto_id_->shorty_idx_,
85 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_);
87 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_);
88 if (!DexFileStringEquals(dex_file_, return_type_id.descriptor_idx_,
89 rhs.dex_file_, rhs_return_type_id.descriptor_idx_)) {
[all …]
Ddex_file_verifier.cc70 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumStringIds(), error_string))) { in CheckLoadStringByIdx()
73 return dex_file_->StringDataByIdx(idx); in CheckLoadStringByIdx()
77 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { in CheckLoadStringByTypeIdx()
80 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); in CheckLoadStringByTypeIdx()
86 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { in CheckLoadFieldId()
89 return &dex_file_->GetFieldId(idx); in CheckLoadFieldId()
93 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { in CheckLoadMethodId()
96 return &dex_file_->GetMethodId(idx); in CheckLoadMethodId()
684 ClassDataItemIterator it(*dex_file_, ptr_); in CheckIntraClassDataItem()
1420 ClassDataItemIterator it(*dex_file_, ptr); in FindFirstClassDataDefiner()
[all …]
Ddex_file.h1035 : dex_file_(dex_file), size_(0), pos_(0) { in DexFileParameterIterator()
1036 type_list_ = dex_file_.GetProtoParameters(proto_id); in DexFileParameterIterator()
1047 return dex_file_.StringByTypeIdx(GetTypeIdx()); in GetDescriptor()
1050 const DexFile& dex_file_;
1074 Signature(const DexFile* dex, const DexFile::ProtoId& proto) : dex_file_(dex), proto_id_(&proto) { in Signature()
1077 Signature() : dex_file_(nullptr), proto_id_(nullptr) { in Signature()
1082 const DexFile* const dex_file_; variable
1091 : dex_file_(dex_file), pos_(0), ptr_pos_(raw_class_data_item), last_idx_(0) { in ClassDataItemIterator()
1200 return dex_file_.GetCodeItem(method_.code_off_); in GetMethodCodeItem()
1265 const DexFile& dex_file_; variable
[all …]
Ddex_file_verifier.h38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location), in DexFileVerifier()
114 const DexFile* const dex_file_; variable
Ddex_file.cc992 if (dex_file_ == nullptr) { in ToString()
996 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); in ToString()
1003 result += dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_); in ToString()
1007 result += dex_file_->StringByTypeIdx(proto_id_->return_type_idx_); in ToString()
1012 if (dex_file_ == nullptr) { in operator ==()
1020 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); in operator ==()
1023 StringPiece param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
1034 return tail == dex_file_->StringByTypeIdx(proto_id_->return_type_idx_); in operator ==()
1054 LOG(WARNING) << "Duplicate field in " << dex_file_.GetLocation(); in ReadClassDataField()
1063 LOG(WARNING) << "Duplicate method in " << dex_file_.GetLocation(); in ReadClassDataMethod()
[all …]
/art/compiler/sea_ir/types/
Dtype_inference.cc40 : dex_file_(graph->GetDexFile()), dex_method_idx_(graph->method_idx_), type_cache_(types), in FunctionTypeInfo()
42 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in FunctionTypeInfo()
43 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_)); in FunctionTypeInfo()
48 art::verifier::RegTypeCache* types): dex_file_(graph->GetDexFile()), in FunctionTypeInfo()
52 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in FunctionTypeInfo()
53 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_)); in FunctionTypeInfo()
58 const art::DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetReturnValueType()
59 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_; in GetReturnValueType()
60 const char* descriptor = dex_file_->StringByTypeIdx(return_type_idx); in GetReturnValueType()
90 dex_file_->GetMethodPrototype(dex_file_->GetMethodId(dex_method_idx_)); in GetDeclaredArgumentTypes()
[all …]
Dtype_inference.h84 const art::DexFile* dex_file_; variable
/art/compiler/driver/
Ddex_compilation_unit.h56 return dex_file_; in GetDexFile()
72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
73 return dex_file_->GetMethodShorty(method_id); in GetShorty()
77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
78 return dex_file_->GetMethodShorty(method_id, shorty_len); in GetShorty()
118 const DexFile* const dex_file_; variable
Ddex_compilation_unit.cc30 dex_file_(cu->dex_file), in DexCompilationUnit()
50 dex_file_(&dex_file), in DexCompilationUnit()
61 symbol_ += MangleForJni(PrettyMethod(dex_method_idx_, *dex_file_)); in GetSymbol()
Dcompiler_driver.h435 return *dex_file_; in GetDexFile()
467 : dex_file_(dex_file), in PatchInformation()
471 CHECK(dex_file_ != nullptr); in PatchInformation()
475 const DexFile* const dex_file_; variable
Dcompiler_driver.cc1460 dex_file_(dex_file), in ParallelCompilationManager()
1479 CHECK(dex_file_ != nullptr); in GetDexFile()
1480 return dex_file_; in GetDexFile()
1543 const DexFile* const dex_file_; member in art::ParallelCompilationManager
/art/runtime/verifier/
Dmethod_verifier.cc338 dex_file_(dex_file), in MethodVerifier()
518 ClassReference ref(dex_file_, dex_file_->GetIndexForClassDef(*class_def_)); in Fail()
526 …std::string location(StringPrintf("%s: [0x%X] ", PrettyMethod(dex_method_idx_, *dex_file_).c_str(), in Fail()
534 return info_messages_ << "VFY: " << PrettyMethod(dex_method_idx_, *dex_file_) in LogVerifyInfo()
645 mirror::Class* exception_type = linker->ResolveType(*dex_file_, in ScanTryCatchBlocks()
801 if (idx >= dex_file_->GetHeader().field_ids_size_) { in CheckFieldIndex()
803 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex()
810 if (idx >= dex_file_->GetHeader().method_ids_size_) { in CheckMethodIndex()
812 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex()
819 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckNewInstance()
[all …]
Dmethod_verifier-inl.h50 return MethodReference(dex_file_, dex_method_idx_); in GetMethodReference()
Dmethod_verifier.h163 return dex_file_->GetVersion(); in DexFileVersion()
653 const DexFile* const dex_file_; // The dex file containing the method. variable
/art/compiler/
Doat_writer.cc211 dex_file_(nullptr), in DexMethodVisitor()
216 DCHECK(dex_file_ == nullptr); in StartClass()
218 dex_file_ = dex_file; in StartClass()
227 dex_file_ = nullptr; in EndClass()
246 const DexFile* dex_file_; member in art::OatWriter::DexMethodVisitor
298 writer_->compiler_driver_->GetCompiledMethod(MethodReference(dex_file_, method_idx)); in VisitMethod()
307 ClassReference class_ref(dex_file_, class_def_index_); in EndClass()
443 std::string name = PrettyMethod(it.GetMemberIndex(), *dex_file_, true); in VisitMethod()
458 ClassReference class_ref(dex_file_, class_def_index_); in VisitMethod()
474 << PrettyMethod(it.GetMemberIndex(), *dex_file_); in VisitMethod()
[all …]
/art/runtime/mirror/
Ddex_cache.h150 return GetFieldPtr<const DexFile*>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); in GetDexFile()
155 return SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); in SetDexFile()
165 uint64_t dex_file_; variable
Ddex_cache.cc47 SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); in Init()
/art/compiler/optimizing/
Dbuilder.h47 dex_file_(dex_file), in arena_()
127 const DexFile* const dex_file_; variable
Dbuilder.cc328 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx); in BuildInvoke()
329 const DexFile::ProtoId& proto_id = dex_file_->GetProtoId(method_id.proto_idx_); in BuildInvoke()
330 const char* descriptor = dex_file_->StringDataByIdx(proto_id.shorty_idx_); in BuildInvoke()
/art/compiler/sea_ir/code_gen/
Dcode_gen.h150 const art::DexFile& dex_file): CodeGenPassVisitor(code_gen_data), dex_file_(dex_file) { } in CodeGenVisitor()
168 const art::DexFile& dex_file_; variable
Dcode_gen.cc199 symbol += art::MangleForJni(PrettyMethod(invoke->GetCalledMethodIndex(), dex_file_)); in Visit()
/art/compiler/sea_ir/ir/
Dsea.h281 return &dex_file_; in GetDexFile()
349 const art::DexFile& dex_file_; variable
Dsea.cc465 regions_(), parameters_(), dex_file_(df), code_item_(NULL) { } in SeaGraph()
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc395 dex_file_(NULL) { in DexFileMethodInliner()
684 DCHECK(dex_file_ == nullptr); in FindIntrinsics()
693 dex_file_ = dex_file; in FindIntrinsics()
702 if (PrettyMethod(method_idx, *dex_file_) == "int java.lang.String.length()") { in AddInlineMethod()
705 LOG(ERROR) << "Inliner: " << PrettyMethod(method_idx, *dex_file_) << " already inline"; in AddInlineMethod()
Ddex_file_method_inliner.h327 const DexFile* dex_file_; variable

12