Searched defs:dex_file (Results 1 - 25 of 118) sorted by relevance

12345

/art/runtime/
H A Ddex_method_iterator_test.cc39 const DexFile& dex_file = it.GetDexFile(); local
43 LOG(INFO) << invoke_type << " " << dex_file.PrettyMethod(method_idx);
H A Dmethod_reference.h22 #include "dex_file.h"
28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) {
31 return dex_file->PrettyMethod(dex_method_index, with_signature);
33 const DexFile* dex_file; member in struct:art::MethodReference
39 if (mr1.dex_file == mr2.dex_file) {
42 return mr1.dex_file < mr2.dex_file;
H A Dstring_reference.h23 #include "dex_file-inl.h"
32 : dex_file(file), string_index(index) { }
35 return dex_file->GetStringData(dex_file->GetStringId(string_index));
38 const DexFile* dex_file; member in struct:art::StringReference
45 if (a.dex_file != b.dex_file) {
46 return a.dex_file < b.dex_file;
60 if (sr1.dex_file
[all...]
H A Dart_field.cc52 const DexFile& dex_file,
56 return Runtime::Current()->GetClassLinker()->ResolveString(dex_file,
51 ResolveGetStringName(Thread* self, const DexFile& dex_file, dex::StringIndex string_idx, ObjPtr<mirror::DexCache> dex_cache) argument
H A Dimtable-inl.h23 #include "dex_file.h"
48 const DexFile* dex_file = method->GetDexFile(); local
49 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex());
52 *class_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodDeclaringClassDescriptor(method_id));
55 *name_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodName(method_id));
57 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_)));
66 const DexFile::TypeList* param_types = dex_file->GetProtoParameters(proto_id);
71 dex_file
[all...]
/art/compiler/
H A Dcompiler.cc41 const DexFile& dex_file) {
50 << " in " << dex_file.PrettyMethod(method_idx);
55 << code_item.registers_size_ << " in " << dex_file.PrettyMethod(method_idx);
39 IsPathologicalCase(const DexFile::CodeItem& code_item, uint32_t method_idx, const DexFile& dex_file) argument
/art/runtime/entrypoints/quick/
H A Dquick_dexcache_entrypoints.cc22 #include "dex_file-inl.h"
37 const DexFile* dex_file = outer_method->GetDexFile(); local
38 if (dex_file != nullptr &&
39 dex_file->GetOatDexFile() != nullptr &&
40 !dex_file->GetOatDexFile()->GetOatFile()->GetBssGcRoots().empty()) {
46 !class_table->InsertOatFile(dex_file->GetOatDexFile()->GetOatFile()))
48 << dex_file->GetOatDexFile()->GetOatFile()->GetLocation();
56 dex_file->GetOatDexFile()->GetOatFile());
/art/compiler/driver/
H A Ddex_compilation_unit.cc26 const DexFile& dex_file,
35 dex_file_(&dex_file),
24 DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, ClassLinker* class_linker, const DexFile& dex_file, const DexFile::CodeItem* code_item, uint16_t class_def_idx, uint32_t method_idx, uint32_t access_flags, const VerifiedMethod* verified_method, Handle<mirror::DexCache> dex_cache) argument
/art/compiler/optimizing/
H A Ddex_cache_array_fixups_arm.cc79 const DexFile& dex_file) {
81 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file);
86 auto lb = dex_cache_array_bases_.lower_bound(&dex_file);
88 !dex_cache_array_bases_.key_comp()(&dex_file, lb->first)) {
94 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file);
97 dex_cache_array_bases_.PutBefore(lb, &dex_file, base);
78 GetOrCreateDexCacheArrayBase(HInstruction* cursor, const DexFile& dex_file) argument
H A Ddex_cache_array_fixups_mips.cc73 HMipsDexCacheArraysBase* GetOrCreateDexCacheArrayBase(const DexFile& dex_file) { argument
75 &dex_file,
76 [this, &dex_file]() {
78 new (GetGraph()->GetArena()) HMipsDexCacheArraysBase(dex_file);
H A Dnodes_arm.h24 explicit HArmDexCacheArraysBase(const DexFile& dex_file) argument
26 dex_file_(&dex_file),
H A Dblock_builder.h22 #include "dex_file.h"
30 const DexFile* const dex_file,
34 dex_file_(dex_file),
29 HBasicBlockBuilder(HGraph* graph, const DexFile* const dex_file, const DexFile::CodeItem& code_item) argument
H A Dbuilder.h23 #include "dex_file.h"
24 #include "dex_file-inl.h"
42 const DexFile* dex_file,
51 dex_file_(dex_file),
56 block_builder_(graph, dex_file, code_item),
64 dex_file,
95 /* dex_file */ nullptr,
39 HGraphBuilder(HGraph* graph, DexCompilationUnit* dex_compilation_unit, const DexCompilationUnit* const outer_compilation_unit, const DexFile* dex_file, const DexFile::CodeItem& code_item, CompilerDriver* driver, CodeGenerator* code_generator, OptimizingCompilerStats* compiler_stats, const uint8_t* interpreter_metadata, Handle<mirror::DexCache> dex_cache, VariableSizedHandleScope* handles) argument
H A Dnodes_mips.h39 explicit HMipsDexCacheArraysBase(const DexFile& dex_file) argument
41 dex_file_(&dex_file),
/art/compiler/utils/
H A Dtype_reference.h32 TypeReference(const DexFile* file, dex::TypeIndex index) : dex_file(file), type_index(index) { }
34 const DexFile* dex_file; member in struct:art::TypeReference
43 StringReference sr1(tr1.dex_file, tr1.dex_file->GetTypeId(tr1.type_index).descriptor_idx_);
44 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.type_index).descriptor_idx_);
H A Datomic_method_ref_map-inl.h22 #include "dex_file-inl.h"
31 ElementArray* const array = GetArray(ref.dex_file);
43 const ElementArray* const array = GetArray(ref.dex_file);
52 inline void AtomicMethodRefMap<T>::AddDexFile(const DexFile* dex_file) { argument
53 arrays_.Put(dex_file, std::move(ElementArray(dex_file->NumMethodIds())));
58 const DexFile* dex_file) {
59 auto it = arrays_.find(dex_file);
65 const DexFile* dex_file) const {
66 auto it = arrays_.find(dex_file);
57 GetArray( const DexFile* dex_file) argument
73 const DexFile* dex_file = pair.first; local
[all...]
/art/dexlayout/
H A Ddex_ir_builder.cc27 static void CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections);
29 Header* DexIrBuilder(const DexFile& dex_file) { argument
30 const DexFile::Header& disk_header = dex_file.GetHeader();
45 for (uint32_t i = 0; i < dex_file.NumStringIds(); ++i) {
46 collections.CreateStringId(dex_file, i);
50 for (uint32_t i = 0; i < dex_file.NumTypeIds(); ++i) {
51 collections.CreateTypeId(dex_file, i);
55 for (uint32_t i = 0; i < dex_file.NumProtoIds(); ++i) {
56 collections.CreateProtoId(dex_file, i);
60 for (uint32_t i = 0; i < dex_file
83 CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections) argument
[all...]
/art/test/117-nopatchoat/
H A Dnopatchoat.cc18 #include "dex_file-inl.h"
34 const DexFile& dex_file = klass->GetDexFile(); local
35 return dex_file.GetOatDexFile();
/art/test/595-profile-saving/
H A Dprofile-saving.cc17 #include "dex_file.h"
77 const DexFile* dex_file = soa.Decode<mirror::Class>(cls)->GetDexCache()->GetDexFile(); local
79 dex_file,
/art/test/948-change-annotations/src/
H A DMain.java90 byte[] dex_file) {
91 Redefinition.doCommonClassRedefinition(target, class_file, dex_file);
88 doCommonClassRedefinition(Class<?> target, byte[] class_file, byte[] dex_file) argument
/art/compiler/debug/
H A Dmethod_debug_info.h21 #include "dex_file.h"
28 const DexFile* dex_file; // Native methods (trampolines) do not reference dex file. member in struct:art::debug::MethodDebugInfo
/art/dexoptanalyzer/
H A Ddexoptanalyzer_test.cc37 int Analyze(const std::string& dex_file, argument
43 argv_str.push_back("--dex-file=" + dex_file);
72 void Verify(const std::string& dex_file, argument
75 int dexoptanalyzerResult = Analyze(dex_file, compiler_filter, assume_profile_changed);
77 OatFileAssistant oat_file_assistant(dex_file.c_str(), kRuntimeISA, /*load_executable*/ false);
/art/runtime/mirror/
H A Ddex_cache_test.cc140 const DexFile& dex_file = *(method1->GetDexFile()); local
142 class_linker_->FindDexCache(Thread::Current(), dex_file));
144 const DexFile::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex());
145 const DexFile::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex());
148 class_linker_->ResolveMethodType(dex_file, method1_id.proto_idx_, dex_cache, class_loader));
150 class_linker_->ResolveMethodType(dex_file, method2_id.proto_idx_, dex_cache, class_loader));
157 ASSERT_EQ(2u, dex_file.NumProtoIds());
158 ASSERT_EQ(dex_file.NumProtoIds(), dex_cache->NumResolvedMethodTypes());
161 for (size_t i = 0; i < dex_file.NumProtoIds(); ++i) {
/art/runtime/openjdkjvmti/
H A Dti_class_definition.cc36 #include "dex_file.h"
90 const art::DexFile* dex_file = nullptr; local
105 dex_file = orig_dex->AsDexCache()->GetDexFile();
118 dex_file = reinterpret_cast<const art::DexFile*>(static_cast<uintptr_t>(val.GetJ()));
122 if (dex_file == nullptr) {
123 dex_file = &klass->GetDexFile();
125 std::unique_ptr<FixedUpDexFile> fixed_dex_file(FixedUpDexFile::Create(*dex_file));
159 const art::DexFile& dex_file = m_klass->GetDexFile(); local
160 original_dex_file_ = art::ArraySlice<const unsigned char>(dex_file.Begin(), dex_file
[all...]
/art/compiler/dex/
H A Dverification_results.cc141 void VerificationResults::AddDexFile(const DexFile* dex_file) { argument
142 atomic_verified_methods_.AddDexFile(dex_file);
144 // There can be some verified methods that are already registered for the dex_file since we set
149 if (ref.dex_file == dex_file) {

Completed in 578 milliseconds

12345