Home
last modified time | relevance | path

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

/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.h54 return dex_file_; in GetDexFile()
70 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
71 return dex_file_->GetMethodShorty(method_id); in GetShorty()
75 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
76 return dex_file_->GetMethodShorty(method_id, shorty_len); in GetShorty()
108 const DexFile* const dex_file_; variable
Ddex_compilation_unit.cc30 dex_file_(cu->dex_file), in DexCompilationUnit()
48 dex_file_(&dex_file), in DexCompilationUnit()
58 symbol_ += MangleForJni(PrettyMethod(dex_method_idx_, *dex_file_)); in GetSymbol()
Dcompiler_driver.h252 return *dex_file_; in GetDexFile()
281 : dex_file_(dex_file), in PatchInformation()
288 CHECK(dex_file_ != NULL); in PatchInformation()
291 const DexFile* const dex_file_; variable
Dcompiler_driver.cc1349 dex_file_(dex_file), in ParallelCompilationManager()
1367 CHECK(dex_file_ != NULL); in GetDexFile()
1368 return dex_file_; in GetDexFile()
1429 const DexFile* const dex_file_; member in art::ParallelCompilationManager
/art/runtime/
Dobject_utils.h73 dex_file_(NULL), in SHARED_LOCKS_REQUIRED()
89 dex_file_ = NULL; in ChangeClass()
203 if (dex_file_ == NULL) { in GetDexFile()
204 dex_file_ = GetDexCache()->GetDexFile(); in GetDexFile()
206 return *dex_file_; in GetDexFile()
244 const DexFile* dex_file_; variable
254 FieldHelper() : class_linker_(NULL), dex_cache_(NULL), dex_file_(NULL), field_(NULL) {} in FieldHelper()
255 …per(const mirror::ArtField* f) : class_linker_(NULL), dex_cache_(NULL), dex_file_(NULL), field_(f)… in FieldHelper()
257 : class_linker_(l), dex_cache_(NULL), dex_file_(NULL), field_(f) {} in FieldHelper()
265 dex_file_ = NULL; in ChangeField()
[all …]
Ddex_file_verifier.cc564 ClassDataItemIterator it(*dex_file_, ptr_); in CheckIntraClassDataItem()
1316 ClassDataItemIterator it(*dex_file_, ptr); in FindFirstClassDataDefiner()
1319 const DexFile::FieldId& field = dex_file_->GetFieldId(it.GetMemberIndex()); in FindFirstClassDataDefiner()
1324 const DexFile::MethodId& method = dex_file_->GetMethodId(it.GetMemberIndex()); in FindFirstClassDataDefiner()
1336 const DexFile::FieldId& field = dex_file_->GetFieldId(field_items[0].field_idx_); in FindFirstAnnotationsDirectoryDefiner()
1342 const DexFile::MethodId& method = dex_file_->GetMethodId(method_items[0].method_idx_); in FindFirstAnnotationsDirectoryDefiner()
1348 const DexFile::MethodId& method = dex_file_->GetMethodId(parameter_items[0].method_idx_); in FindFirstAnnotationsDirectoryDefiner()
1366 const char* prev_str = dex_file_->GetStringData(*prev_item); in CheckInterStringIdItem()
1367 const char* str = dex_file_->GetStringData(*item); in CheckInterStringIdItem()
1380 const char* descriptor = dex_file_->StringDataByIdx(item->descriptor_idx_); in CheckInterTypeIdItem()
[all …]
Ddex_file_verifier.h31 : dex_file_(dex_file), begin_(begin), size_(size), in DexFileVerifier()
85 const DexFile* dex_file_; variable
Ddex_file.h919 : dex_file_(dex_file), size_(0), pos_(0) { in DexFileParameterIterator()
920 type_list_ = dex_file_.GetProtoParameters(proto_id); in DexFileParameterIterator()
931 return dex_file_.StringByTypeIdx(GetTypeIdx()); in GetDescriptor()
934 const DexFile& dex_file_;
945 : dex_file_(dex_file), pos_(0), ptr_pos_(raw_class_data_item), last_idx_(0) { in ClassDataItemIterator()
1042 return dex_file_.GetCodeItem(method_.code_off_); in GetMethodCodeItem()
1107 const DexFile& dex_file_; variable
1150 const DexFile& dex_file_; variable
Ddex_file.cc872 LOG(WARNING) << "Duplicate field " << PrettyField(GetMemberIndex(), dex_file_) in ReadClassDataField()
873 << " in " << dex_file_.GetLocation(); in ReadClassDataField()
882 LOG(WARNING) << "Duplicate method " << PrettyMethod(GetMemberIndex(), dex_file_) in ReadClassDataMethod()
883 << " in " << dex_file_.GetLocation(); in ReadClassDataMethod()
946 : dex_file_(dex_file), dex_cache_(dex_cache), class_loader_(class_loader), linker_(linker), in EncodedStaticFieldValueIterator()
1030 mirror::String* resolved = linker_->ResolveString(dex_file_, jval_.i, dex_cache_); in ReadValueToField()
1035 mirror::Class* resolved = linker_->ResolveType(dex_file_, jval_.i, dex_cache_, class_loader_); in ReadValueToField()
Dclass_linker_test.cc612 …offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::DexCache, dex_file_), "dex… in DexCacheOffsets()
/art/runtime/verifier/
Dmethod_verifier.cc296 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()
[all …]
Dmethod_verifier.h167 return dex_file_->GetVersion(); in DexFileVersion()
179 return info_messages_ << "VFY: " << PrettyMethod(dex_method_idx_, *dex_file_) in LogVerifyInfo()
691 const DexFile* const dex_file_; // The dex file containing the method. variable
/art/runtime/mirror/
Ddex_cache.h159 return GetFieldPtr<const DexFile*>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), false); in GetDexFile()
163 return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file, false); in SetDexFile()
174 uint32_t dex_file_; variable
Ddex_cache.cc49 SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file, false); in Init()
/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()