/art/libdexfile/dex/ |
dex_file_tracking_registrar.cc | 83 if (kDexFileAccessTracking && dex_file_ != nullptr) { 85 LOG(ERROR) << "RegisterDexFile: " << dex_file_->GetLocation() + " @ " << std::hex 86 << reinterpret_cast<uintptr_t>(dex_file_->Begin()); 114 // dex_file_ 151 const void* dex_file_begin = reinterpret_cast<const void*>(dex_file_->Begin()); 152 size_t dex_file_size = dex_file_->Size(); 157 for (size_t classdef_ctr = 0; classdef_ctr < dex_file_->NumClassDefs(); ++classdef_ctr) { 158 const DexFile::ClassDef& cd = dex_file_->GetClassDef(classdef_ctr); 159 const uint8_t* class_data = dex_file_->GetClassData(cd); 161 ClassDataItemIterator cdit(*dex_file_, class_data) [all...] |
dex_file_tracking_registrar.h | 37 : dex_file_(dex_file) { 51 // Set of functions concerning Code Items of dex_file_ 61 // Set of functions concerning String Data Items of dex_file_ 71 const DexFile* const dex_file_; member in class:art::dex::tracking::DexFileTrackingRegistrar
|
dex_file-inl.h | 151 if (dex_file_ == nullptr) { 152 return rhs.dex_file_ == nullptr; 154 if (rhs.dex_file_ == nullptr) { 157 if (dex_file_ == rhs.dex_file_) { 161 const char* lhs_shorty_data = dex_file_->StringDataAndUtf16LengthByIdx(proto_id_->shorty_idx_, 167 rhs.dex_file_->StringDataAndUtf16LengthByIdx(rhs.proto_id_->shorty_idx_, 175 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_); 177 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_); 178 if (!DexFileStringEquals(dex_file_, return_type_id.descriptor_idx_ [all...] |
dex_file_verifier.cc | 103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) { 106 return dex_file_->StringDataByIdx(idx); 171 if (UNLIKELY(!CheckIndex(type_idx.index_, dex_file_->NumTypeIds(), error_string))) { 174 return CheckLoadStringByIdx(dex_file_->GetTypeId(type_idx).descriptor_idx_, error_string); 178 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { 181 return &dex_file_->GetFieldId(idx); 185 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { 188 return &dex_file_->GetMethodId(idx); 192 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumProtoIds(), err_string))) { 195 return &dex_file_->GetProtoId(idx) [all...] |
code_item_accessors-inl.h | 166 dex_file_ = &dex_file; 177 debug_info_offset_ = down_cast<const CompactDexFile*>(dex_file_)->GetDebugInfoOffset( 192 return dex_file_->DecodeDebugLocalInfo(RegistersSize(),
|
dex_file.cc | 638 if (dex_file_ == nullptr) { 642 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); 649 result += dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_); 653 result += dex_file_->StringByTypeIdx(proto_id_->return_type_idx_); 658 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); 663 const char* return_type = dex_file_->GetReturnTypeDescriptor(*proto_id_); 668 if (dex_file_ == nullptr) { 676 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); 679 StringPiece param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); 690 return tail == dex_file_->StringByTypeIdx(proto_id_->return_type_idx_) [all...] |
/art/openjdkjvmti/ |
fixed_up_dex_file.h | 56 return *dex_file_; 70 : dex_file_(std::move(fixed_up_dex_file)), 74 std::unique_ptr<const art::DexFile> dex_file_; member in class:openjdkjvmti::FixedUpDexFile 75 // The backing data for dex_file_.
|
ti_redefine.cc | 327 dex_file_(redefined_dex_file), 494 cl->GetInternTable()->InternStrong(dex_file_->GetLocation().c_str()))); 503 dex_file_.get(), 616 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); 618 art::ClassDataItemIterator new_iter(*dex_file_, 619 dex_file_->GetClassData(dex_file_->GetClassDef(0))); 640 const art::DexFile::MethodId& new_method_id = dex_file_->GetMethodId(new_iter.GetMemberIndex()); 641 const char* new_method_name = dex_file_->GetMethodName(new_method_id); 642 art::Signature new_method_signature = dex_file_->GetMethodSignature(new_method_id) [all...] |
ti_redefine.h | 122 dex_file_(std::move(other.dex_file_)), 132 return *dex_file_; 211 std::unique_ptr<const art::DexFile> dex_file_; member in class:openjdkjvmti::Redefiner::ClassRedefinition
|
/art/dexdump/ |
dexdump_test.cc | 37 dex_file_ = GetLibCoreDexFileNames()[0]; 50 std::string dex_file_; member in class:art::DexDumpTest 61 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 66 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg; 72 dex_file_}, &error_msg)) << error_msg; 78 dex_file_}, &error_msg)) << error_msg;
|
/art/dexlist/ |
dexlist_test.cc | 39 dex_file_ = GetLibCoreDexFileNames()[0]; 52 std::string dex_file_; member in class:art::DexListTest 63 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 68 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg; 73 ASSERT_TRUE(Exec({"-o", "/dev/null", dex_file_}, &error_msg)) << error_msg; 79 dex_file_}, &error_msg)) << error_msg;
|
/art/compiler/driver/ |
dex_compilation_unit.h | 57 return dex_file_; 73 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 74 return dex_file_->GetMethodShorty(method_id); 78 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 79 return dex_file_->GetMethodShorty(method_id, shorty_len); 125 const DexFile* const dex_file_; member in class:art::DexCompilationUnit
|
dex_compilation_unit.cc | 37 dex_file_(&dex_file), 49 symbol_ += MangleForJni(dex_file_->PrettyMethod(dex_method_idx_));
|
/art/tools/veridex/ |
resolver.h | 39 : dex_file_(dex_file), 79 return dex_file_; 83 return GetResolverOf(kls)->dex_file_; 90 const DexFile& dex_file_; member in class:art::VeridexResolver
|
resolver.cc | 27 size_t class_def_count = dex_file_.NumClassDefs(); 29 const DexFile::ClassDef& class_def = dex_file_.GetClassDef(class_def_index); 30 std::string name(dex_file_.StringByTypeIdx(class_def.class_idx_)); 40 const uint8_t* class_data = dex_file_.GetClassData(class_def); 46 ClassDataItemIterator it(dex_file_, class_data); 84 CHECK_LT(index.index_, dex_file_.NumTypeIds()); 89 std::string name(dex_file_.StringByTypeIdx(index)); 127 const DexFile& dex_file = resolver_it->second->dex_file_; 150 const DexFile& other_dex_file = resolver->dex_file_; 209 const DexFile& other_dex_file = resolver->dex_file_; [all...] |
/art/compiler/optimizing/ |
builder.cc | 49 dex_file_(&graph->GetDexFile()), 66 dex_file_(&graph->GetDexFile()), 91 << dex_file_->PrettyMethod(dex_compilation_unit_->GetDexMethodIndex()) 100 << dex_file_->PrettyMethod(dex_compilation_unit_->GetDexMethodIndex()) 120 HBasicBlockBuilder block_builder(graph_, dex_file_, code_item_accessor_, &local_allocator); 129 dex_file_, 174 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); 190 dex_file_, 201 dex_file_, [all...] |
block_builder.h | 72 const DexFile* const dex_file_; member in class:art::HBasicBlockBuilder
|
builder.h | 63 const DexFile* const dex_file_; member in class:art::HGraphBuilder
|
/system/core/libunwindstack/ |
DexFile.cpp | 63 if (dex_file_ == nullptr) { 67 if (!dex_file_->IsInDataSection(dex_file_->Begin() + dex_offset)) { 71 for (uint32_t i = 0; i < dex_file_->NumClassDefs(); ++i) { 72 const art::DexFile::ClassDef& class_def = dex_file_->GetClassDef(i); 73 const uint8_t* class_data = dex_file_->GetClassData(class_def); 77 for (art::ClassDataItemIterator it(*dex_file_.get(), class_data); it.HasNext(); it.Next()) { 85 art::CodeItemInstructionAccessor code(*dex_file_.get(), code_item); 90 uint64_t offset = reinterpret_cast<const uint8_t*>(code.Insns()) - dex_file_->Begin(); 93 *method_name = dex_file_->PrettyMethod(it.GetMemberIndex(), false) [all...] |
DexFile.h | 40 std::unique_ptr<const art::DexFile> dex_file_; member in class:unwindstack::DexFile
|
/art/runtime/verifier/ |
method_verifier.cc | 118 << dex_file_->PrettyMethod(dex_method_idx_); 572 dex_file_(dex_file), 650 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 651 const char* method_name = dex_file_->StringDataByIdx(method_id.name_idx_); 664 LOG(WARNING) << "Method " << dex_file_->PrettyMethod(dex_method_idx_) [all...] |
method_verifier-inl.h | 56 return MethodReference(dex_file_, dex_method_idx_);
|
/art/tools/hiddenapi/ |
hiddenapi.cc | 84 : dex_file_(dex_file), class_def_(dex_file.GetClassDef(idx)) {} 86 const DexFile& GetDexFile() const { return dex_file_; } 90 const uint8_t* GetData() const { return dex_file_.GetClassData(class_def_); } 92 const char* GetDescriptor() const { return dex_file_.GetClassDescriptor(class_def_); } 95 const DexFile& dex_file_; member in class:art::DexClass
|
/art/dexoptanalyzer/ |
dexoptanalyzer.cc | 160 dex_file_ = option.substr(strlen("--dex-file=")).ToString(); 256 oat_file_assistant = std::make_unique<OatFileAssistant>(dex_file_.c_str(), 290 std::string dex_file_; member in class:art::FINAL
|
/art/runtime/ |
oat_file_manager.cc | 204 dex_file_(dex_file), 205 cached_descriptor_(dex_file_->StringByTypeIdx(dex::TypeIndex(*type_info->GetIterator()))), 225 return dex_file_ < rhs.dex_file_; 233 cached_descriptor_ = dex_file_->StringByTypeIdx(dex::TypeIndex(*type_info_->GetIterator())); 242 return dex_file_; 247 const DexFile* dex_file_; member in class:art::DexFileAndClassPair
|