/art/compiler/utils/ |
string_reference.h | 31 StringReference(const DexFile* file, uint32_t index) : dex_file(file), string_index(index) { } 33 const DexFile* dex_file; member in struct:art::StringReference 45 if (sr1.dex_file == sr2.dex_file) { 50 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index)), 51 sr1.dex_file->GetStringData(sr2.dex_file->GetStringId(sr2.string_index))) < 0); 56 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index)) [all...] |
test_dex_file_builder_test.cc | 19 #include "dex_file-inl.h" 33 std::unique_ptr<const DexFile> dex_file(builder.Build(dex_location)); 34 ASSERT_TRUE(dex_file != nullptr); 35 EXPECT_STREQ(dex_location, dex_file->GetLocation().c_str()); 50 ASSERT_EQ(arraysize(expected_strings), dex_file->NumStringIds()); 52 EXPECT_STREQ(expected_strings[i], dex_file->GetStringData(dex_file->GetStringId(i))) << i; 63 ASSERT_EQ(arraysize(expected_types), dex_file->NumTypeIds()); 65 EXPECT_STREQ(expected_types[i], dex_file->GetTypeDescriptor(dex_file->GetTypeId(i))) << i [all...] |
/art/runtime/ |
method_reference.h | 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 30 const DexFile* dex_file; member in struct:art::MethodReference 36 if (mr1.dex_file == mr2.dex_file) { 39 return mr1.dex_file < mr2.dex_file;
|
dex_file_verifier_test.cc | 28 #include "dex_file-inl.h" 61 static void MakeDexVersion37(DexFile* dex_file) { 63 CHECK_EQ(*(dex_file->Begin() + offset), '5'); 64 *(const_cast<uint8_t*>(dex_file->Begin()) + offset) = '7'; 113 static void FixUpChecksum(uint8_t* dex_file) { 114 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); 118 const uint8_t* non_sum_ptr = dex_file + non_sum; 132 // Note: `dex_file` will be destroyed before `dex_bytes`. 133 std::unique_ptr<DexFile> dex_file( 135 f(dex_file.get()) 181 std::unique_ptr<const DexFile> dex_file = std::move(tmp[0]); local [all...] |
type_lookup_table.cc | 20 #include "dex_file-inl.h" 45 uint32_t TypeLookupTable::RawDataLength(const DexFile& dex_file) { 46 return RawDataLength(dex_file.NumClassDefs()); 61 TypeLookupTable* TypeLookupTable::Create(const DexFile& dex_file, uint8_t* storage) { 62 const uint32_t num_class_defs = dex_file.NumClassDefs(); 64 ? new TypeLookupTable(dex_file, storage) 68 TypeLookupTable* TypeLookupTable::Open(const uint8_t* raw_data, const DexFile& dex_file) { 69 return new TypeLookupTable(raw_data, dex_file); 72 TypeLookupTable::TypeLookupTable(const DexFile& dex_file, uint8_t* storage) 73 : dex_file_(dex_file), [all...] |
dex_method_iterator_test.cc | 39 const DexFile& dex_file = it.GetDexFile(); local 43 LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
type_lookup_table_test.cc | 21 #include "dex_file-inl.h" 35 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); 36 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); 44 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); 45 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file));
|
art_method-inl.h | 26 #include "dex_file.h" 27 #include "dex_file-inl.h" 284 const DexFile* dex_file = GetDexFile(); local 285 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx)); 290 const DexFile* dex_file = GetDexFile(); local 291 return dex_file->GetMethodShorty(dex_file->GetMethodId(GetDexMethodIndex()), out_length); 298 const DexFile* dex_file = GetDexFile(); local 299 return dex_file->GetMethodSignature(dex_file->GetMethodId(dex_method_idx)) 308 const DexFile* dex_file = GetDexFile(); local 346 const DexFile* dex_file = GetDexFile(); local 352 const DexFile* dex_file = GetDexFile(); local 375 const DexFile* dex_file = GetDexFile(); local 384 const DexFile* dex_file = GetDexFile(); local 429 const DexFile* dex_file = GetDexFile(); local [all...] |
type_lookup_table.h | 20 #include "dex_file.h" 63 static TypeLookupTable* Create(const DexFile& dex_file, uint8_t* storage = nullptr); 66 static TypeLookupTable* Open(const uint8_t* raw_data, const DexFile& dex_file); 77 static uint32_t RawDataLength(const DexFile& dex_file); 119 explicit TypeLookupTable(const DexFile& dex_file, uint8_t* storage); 122 TypeLookupTable(const uint8_t* raw_data, const DexFile& dex_file);
|
class_linker-inl.h | 71 const DexFile& dex_file = *dex_cache->GetDexFile(); local 72 resolved_string = ResolveString(dex_file, string_idx, dex_cache); 87 const DexFile& dex_file = *dex_cache->GetDexFile(); local 88 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 103 const DexFile& dex_file = *dex_cache->GetDexFile(); local 104 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 131 const DexFile* dex_file = dex_cache->GetDexFile(); local 132 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx); 135 resolved_type = ResolveType(*dex_file, method.class_idx_, dex_cache, class_loader); 151 const DexFile* dex_file = h_dex_cache->GetDexFile() local 181 const DexFile& dex_file = *dex_cache->GetDexFile(); local [all...] |
dex_method_iterator.h | 22 #include "dex_file.h" 130 const DexFile* dex_file = dex_files_[dex_file_index_]; local 131 CHECK(dex_file != nullptr); 132 return *dex_file;
|
/art/compiler/optimizing/ |
dex_cache_array_fixups_arm.cc | 52 const DexFile& dex_file = load_string->GetDexFile(); variable 53 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(dex_file); 55 DexCacheArraysLayout layout(kArmPointerSize, &dex_file); 68 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(*target_method.dex_file); 70 DexCacheArraysLayout layout(kArmPointerSize, target_method.dex_file); 78 HArmDexCacheArraysBase* GetOrCreateDexCacheArrayBase(const DexFile& dex_file) { 80 auto lb = dex_cache_array_bases_.lower_bound(&dex_file); 82 !dex_cache_array_bases_.key_comp()(&dex_file, lb->first)) { 88 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file); 91 dex_cache_array_bases_.PutBefore(lb, &dex_file, base) [all...] |
nodes_arm.h | 24 explicit HArmDexCacheArraysBase(const DexFile& dex_file) 26 dex_file_(&dex_file),
|
sharpening.cc | 91 if (target_method.dex_file == &outer_graph->GetDexFile() && 98 ContainsElement(compiler_driver_->GetDexFilesForOatFile(), target_method.dex_file); 110 DCHECK_EQ(target_method.dex_file, &graph_->GetDexFile()); 160 const DexFile& dex_file = load_string->GetDexFile(); local 171 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *compilation_unit_.GetDexFile()) 173 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); 178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache); 184 DCHECK(ContainsElement(compiler_driver_->GetDexFilesForOatFile(), &dex_file)); 209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache); 214 desired_load_kind = ContainsElement(compiler_driver_->GetDexFilesForOatFile(), &dex_file) [all...] |
builder.h | 23 #include "dex_file.h" 24 #include "dex_file-inl.h" 40 const DexFile* dex_file, 48 dex_file_(dex_file), 53 block_builder_(graph, dex_file, code_item), 58 dex_file, 85 /* dex_file */ nullptr,
|
/art/compiler/ |
compiler.cc | 41 const DexFile& dex_file) { 50 << " in " << PrettyMethod(method_idx, dex_file); 55 << code_item.registers_size_ << " in " << PrettyMethod(method_idx, dex_file);
|
compiler.h | 20 #include "dex_file.h" 47 virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0; 55 const DexFile& dex_file, 60 const DexFile& dex_file) const = 0; 96 const DexFile& dex_file);
|
/art/compiler/dex/quick/ |
dex_file_to_method_inliner_map.cc | 40 DexFileMethodInliner* DexFileToMethodInlinerMap::GetMethodInliner(const DexFile* dex_file) { 44 auto it = inliners_.find(dex_file); 59 DexFileMethodInliner** inliner = &inliners_[dex_file]; // inserts new entry if not found 68 locked_inliner->FindIntrinsics(dex_file);
|
dex_file_to_method_inliner_map.h | 43 DexFileMethodInliner* GetMethodInliner(const DexFile* dex_file) NO_THREAD_SAFETY_ANALYSIS;
|
/art/compiler/jni/quick/ |
jni_compiler.h | 20 #include "dex_file.h" 28 uint32_t method_idx, const DexFile& dex_file);
|
/art/compiler/driver/ |
dex_compilation_unit.cc | 27 const DexFile& dex_file, 36 dex_file_(&dex_file),
|
compiler_driver.cc | 40 #include "dex_file-inl.h" 340 explicit DexFileMethodSet(const DexFile& dex_file) 341 : dex_file_(dex_file), 342 method_indexes_(dex_file.NumMethodIds(), false, Allocator::GetMallocAllocator()) { 498 const DexFile& dex_file, const DexFile::ClassDef& class_def) 505 const char* descriptor = dex_file.GetClassDescriptor(class_def); 536 const DexFile& dex_file, 542 return GetDexToDexCompilationLevel(self, driver, class_loader, dex_file, class_def); 568 const DexFile& dex_file, 576 MethodReference method_ref(&dex_file, method_idx) 674 const DexFile* dex_file; local 768 const DexFile* dex_file = dex_files[i]; local 1114 const DexFile* dex_file = exception_type.second; local 2039 const DexFile& dex_file = *manager_->GetDexFile(); variable 2152 const DexFile& dex_file = *manager_->GetDexFile(); variable 2243 const DexFile& dex_file = *manager_->GetDexFile(); variable 2335 const DexFile& dex_file = *manager_->GetDexFile(); variable 2396 const DexFile& dex_file = *manager_->GetDexFile(); variable 2536 const DexFile* dex_file = dex_files[i]; local 2608 const DexFile& dex_file = *manager_->GetDexFile(); variable [all...] |
/art/compiler/dex/ |
quick_compiler_callbacks.cc | 28 method_inliner_map_->GetMethodInliner(ref.dex_file)->AnalyseMethodCode(verifier);
|
dex_to_dex_compiler.h | 22 #include "dex_file.h" 46 const DexFile& dex_file,
|
/art/compiler/debug/ |
method_debug_info.h | 21 #include "dex_file.h" 28 const DexFile* dex_file; // Native methods (trampolines) do not reference dex file. member in struct:art::debug::MethodDebugInfo
|