/art/runtime/jit/ |
profile_compilation_info.h | 29 #include "dex/dex_file.h" 94 bool MatchesDex(const DexFile* dex_file) const { 95 return dex_checksum == dex_file->GetLocationChecksum() && 96 dex_location == GetProfileDexFileKey(dex_file->GetLocation()); 252 bool AddClassesForDex(const DexFile* dex_file, Iterator index_begin, Iterator index_end) { 253 DexFileData* data = GetOrAddDexFileData(dex_file); 262 DexFileData* data = GetOrAddDexFileData(ref.dex_file); 287 const DexFile* dex_file, 290 DexFileData* data = GetOrAddDexFileData(dex_file); 324 // If there exists a DexData object which maps to a dex_file, then it verifies that [all...] |
profile_compilation_info.cc | 148 DexFileData* data = GetOrAddDexFileData(ref.dex_file); 705 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file); 721 DexFileData* class_dex_data = GetOrAddDexFileData(class_ref.dex_file); [all...] |
/art/compiler/driver/ |
compiler_driver.h | 39 #include "dex/dex_file.h" 172 const DexFile* dex_file, 211 const DexFile* dex_file, 282 const VerifiedMethod* GetVerifiedMethod(const DexFile* dex_file, uint32_t method_idx) const; 328 bool ShouldVerifyClassBasedOnProfile(const DexFile& dex_file, uint16_t class_idx) const; 336 const DexFile& dex_file) const; 408 const DexFile& dex_file, 426 const DexFile& dex_file, 437 const DexFile& dex_file, 449 const DexFile& dex_file, [all...] |
/art/compiler/optimizing/ |
optimizing_compiler.cc | 266 bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const OVERRIDE; 274 const DexFile& dex_file, 279 const DexFile& dex_file, 428 const DexFile& dex_file ATTRIBUTE_UNUSED) const { 747 const DexFile& dex_file = *dex_compilation_unit.GetDexFile(); local 762 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) { 772 && (CodeItemInstructionAccessor(dex_file, code_item).InsnsSizeInCodeUnits() > 778 CodeItemDebugInfoAccessor code_item_accessor(dex_file, code_item, method_idx); 782 dex_file, 892 const DexFile& dex_file = *dex_compilation_unit.GetDexFile(); local 1196 const DexFile* dex_file = method->GetDexFile(); local [all...] |
code_generator_mips.h | 597 PcRelativePatchInfo(const DexFile* dex_file, 600 : PatchInfo<MipsLabel>(dex_file, off_or_idx), 622 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, 625 PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, 628 PcRelativePatchInfo* NewBootImageStringPatch(const DexFile& dex_file, 631 PcRelativePatchInfo* NewStringBssEntryPatch(const DexFile& dex_file, 642 JitPatchInfo(const DexFile& dex_file, uint64_t idx) 643 : target_dex_file(dex_file), index(idx) { } 659 JitPatchInfo* NewJitRootStringPatch(const DexFile& dex_file, 662 JitPatchInfo* NewJitRootClassPatch(const DexFile& dex_file, [all...] |
/art/dex2oat/linker/ |
image_test.h | 148 for (const std::unique_ptr<const DexFile>& dex_file : extra_dex_files) { 152 class_linker->AppendToBootClassPath(soa.Self(), *dex_file.get()); 154 class_path.push_back(dex_file.get()); 158 for (const DexFile* dex_file : class_path) { 159 dex_file_locations.push_back(dex_file->GetLocation()); 160 if (dex_file->IsReadOnly()) { 161 dex_file->EnableWrite(); 208 for (const DexFile* dex_file : class_path) { 209 dex_file_to_oat_index_map.emplace(dex_file, image_idx); 260 const DexFile* dex_file = class_path[i] local [all...] |
oat_writer.cc | 39 #include "dex/dex_file-inl.h" 150 explicit DexFileSource(const uint8_t* dex_file) 151 : type_(kRawData), source_(dex_file) { 771 virtual bool StartClass(const DexFile* dex_file, size_t class_def_index) { 774 dex_file_ = dex_file; 813 bool StartClass(const DexFile* dex_file, size_t class_def_index) OVERRIDE { 814 DexMethodVisitor::StartClass(dex_file, class_def_index); 858 target_method.dex_file->NumMethodIds(), 864 target_type.dex_file->NumTypeIds(), 870 target_string.dex_file->NumStringIds() 2354 const DexFile* dex_file = (*dex_files_)[i]; local 3173 const DexFile* dex_file = (*dex_files_)[i]; local 3579 std::unique_ptr<const DexFile> dex_file; local 3969 const DexFile& dex_file = *opened_dex_files[i]; local 4421 const DexFile* dex_file = (*dex_files_)[i]; local [all...] |
multi_oat_relative_patcher_test.cc | 137 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local 138 MethodReference ref1(dex_file, 1u); 139 MethodReference ref2(dex_file, 2u); 170 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local 171 MethodReference ref1(dex_file, 1u); 172 MethodReference ref2(dex_file, 2u); 173 MethodReference ref3(dex_file, 3u);
|
/art/dex2oat/ |
dex2oat_image_test.cc | 34 #include "dex/dex_file-inl.h" 77 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { 78 for (size_t i = 0; i < dex_file->NumMethodIds(); ++i) { 80 method_visitor(MethodReference(dex_file.get(), i)); 83 for (size_t i = 0; i < dex_file->NumTypeIds(); ++i) { 85 class_visitor(TypeReference(dex_file.get(), dex::TypeIndex(i))); 100 WriteLine(out_file, ref.dex_file->PrettyType(ref.TypeIndex())); 157 for (const std::string& dex_file : dex_files) { 158 argv.push_back("--dex-file=" + dex_file); 159 argv.push_back("--dex-location=" + dex_file); [all...] |
dex2oat_test.cc | 37 #include "dex/dex_file-inl.h" 567 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); local 568 ASSERT_TRUE(dex_file != nullptr); 569 uint32_t class_def_count = dex_file->NumClassDefs(); 698 std::unique_ptr<const DexFile>& dex_file = dex_files[0]; local 702 dex_file->GetLocationChecksum()); 994 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); local [all...] |
/system/core/libunwindstack/tests/ |
DexFilesTest.cpp | 94 void WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, uint32_t dex_file); 95 void WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, uint64_t dex_file); 96 void WriteDex(uint64_t dex_file); 121 uint32_t dex_file) { 127 // uint32_t dex_file 128 memory_->SetData32(entry_addr + 8, dex_file); 132 uint64_t dex_file) { 138 // uint64_t dex_file 139 memory_->SetData64(entry_addr + 16, dex_file); 142 void DexFilesTest::WriteDex(uint64_t dex_file) { [all...] |
/art/openjdkjvmti/ |
fixed_up_dex_file.cc | 34 #include "dex/dex_file-inl.h" 48 static void RecomputeDexChecksum(art::DexFile* dex_file) { 49 reinterpret_cast<art::DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = 50 dex_file->CalculateChecksum();
|
/art/runtime/dex/ |
art_dex_file_loader_test.cc | 31 #include "dex/dex_file.h" 32 #include "dex/dex_file-inl.h" 334 for (std::unique_ptr<const DexFile>& dex_file : dex_files) { 335 ASSERT_FALSE(dex_file->IsPlatformDexFile()); 362 for (std::unique_ptr<const DexFile>& dex_file : dex_files) { 363 ASSERT_FALSE(dex_file->IsPlatformDexFile()); 390 for (std::unique_ptr<const DexFile>& dex_file : dex_files) { 391 ASSERT_TRUE(dex_file->IsPlatformDexFile()); 418 for (std::unique_ptr<const DexFile>& dex_file : dex_files) { 419 ASSERT_FALSE(dex_file->IsPlatformDexFile()) [all...] |
/art/compiler/ |
verifier_deps_test.cc | 24 #include "dex/dex_file-inl.h" 125 for (const DexFile* dex_file : dex_files_) { 126 class_linker_->RegisterDexFile(*dex_file, loader.Get()); 128 for (const DexFile* dex_file : dex_files_) { 129 compiler_driver_->GetVerificationResults()->AddDexFile(dex_file); 230 for (const DexFile* dex_file : dex_files_) { 231 const std::set<dex::TypeIndex>& unverified_classes = deps.GetUnverifiedClasses(*dex_file); 232 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { 233 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); 234 const char* descriptor = dex_file->GetClassDescriptor(class_def) 272 const DexFile& dex_file = *dex_dep.first; local 1151 const DexFile* dex_file = dex_files[0]; local [all...] |
/art/dexlayout/ |
dex_visualize.cc | 174 const DexFile* dex_file, 179 if (!profile_info->GetMethodHotness(MethodReference(dex_file, method_idx)).IsHot()) { 242 * Dumps a gnuplot data file showing the parts of the dex_file that belong to each class. 246 const DexFile* dex_file, 259 if (profile_info != nullptr && !profile_info->ContainsClass(*dex_file, type_idx)) { 292 dumper->DumpMethodItem(method_item.get(), dex_file, class_index, profile_info); 297 dumper->DumpMethodItem(method_item.get(), dex_file, class_index, profile_info);
|
/art/runtime/ |
class_loader_context.cc | 25 #include "dex/dex_file.h" 66 for (std::unique_ptr<const DexFile>& dex_file : info.opened_dex_files) { 67 dex_file.release(); 346 const std::unique_ptr<const DexFile>& dex_file = info.opened_dex_files[k]; local 351 DexFileLoader::GetBaseLocation(dex_file->GetLocation())).second; 356 std::string location = dex_file->GetLocation(); 376 out << dex_file->GetLocationChecksum(); 433 for (const std::unique_ptr<const DexFile>& dex_file : info.opened_dex_files) { 434 result.push_back(dex_file.get()); 456 // Collects the dex files from the give Java dex_file object. Only the dex files wit 535 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); local 572 ObjPtr<mirror::Object> dex_file; local [all...] |
type_lookup_table.h | 65 static std::unique_ptr<TypeLookupTable> Create(const DexFile& dex_file, 69 // data contained in dex_file as well. Lookup table does not own raw_data or dex_file. 122 explicit TypeLookupTable(const DexFile& dex_file, uint8_t* storage);
|
class_linker.cc | 59 #include "dex/dex_file-inl.h" 594 for (auto& dex_file : boot_class_path) { 595 if (dex_file.get() == nullptr) { 599 AppendToBootClassPath(self, *dex_file); 600 boot_dex_files_.push_back(std::move(dex_file)); 1107 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); local 1292 const DexFile* const dex_file = dex_cache->GetDexFile(); local 1388 std::unique_ptr<const DexFile> dex_file; local 1426 std::unique_ptr<const DexFile> dex_file = OpenOatDexFile(oat_file, local 1712 std::unique_ptr<const DexFile> dex_file = OpenOatDexFile(oat_file, local 2973 const DexFile& dex_file = klass->GetDexFile(); local 3465 const DexFile* dex_file = dex_cache->GetDexFile(); local 3583 const DexFile* dex_file = dex_cache->GetDexFile(); local 4136 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); local 4855 const DexFile& dex_file = *dex_cache->GetDexFile(); local 5030 const DexFile* dex_file = m->GetDexFile(); local 5055 const DexFile* dex_file = m->GetDexFile(); local 7755 const DexFile& dex_file = *dex_cache->GetDexFile(); local 7772 const DexFile& dex_file = *dex_cache->GetDexFile(); local 7786 const DexFile& dex_file = *dex_cache->GetDexFile(); local 7862 const DexFile& dex_file = *dex_cache->GetDexFile(); local 7932 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8037 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8062 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8088 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8112 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8144 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8180 const DexFile& dex_file = *dex_cache->GetDexFile(); local 8531 const DexFile* const dex_file = referrer->GetDexFile(); local 8924 const DexFile& dex_file = klass->GetDexFile(); local [all...] |
class_linker.h | 31 #include "dex/dex_file.h" 222 const DexFile& dex_file, 453 ObjPtr<mirror::DexCache> RegisterDexFile(const DexFile& dex_file, 481 bool IsDexFileRegistered(Thread* self, const DexFile& dex_file) 484 ObjPtr<mirror::DexCache> FindDexCache(Thread* self, const DexFile& dex_file) 518 bool VerifyClassUsingOatFile(const DexFile& dex_file, 657 void InsertDexFileInToClassLoader(ObjPtr<mirror::Object> dex_file, 714 void AppendToBootClassPath(Thread* self, const DexFile& dex_file) 747 const DexFile* dex_file; member in struct:art::ClassLinker::DexCacheData [all...] |
common_runtime_test.h | 138 DexFile* dex_file = const_cast<DexFile*>(dex.get()); local 139 mutator(dex_file); 140 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum();
|
/art/compiler/dex/ |
verification_results.h | 63 void AddDexFile(const DexFile* dex_file) REQUIRES(!verified_methods_lock_);
|
/art/compiler/jni/quick/ |
jni_compiler.h | 68 const DexFile& dex_file);
|
/art/libdexfile/dex/ |
dex_file_verifier.h | 24 #include "dex_file.h" 31 static bool Verify(const DexFile* dex_file, 43 DexFileVerifier(const DexFile* dex_file, 48 : dex_file_(dex_file), 53 header_(&dex_file->GetHeader()),
|
dex_file_loader_test.cc | 17 #include "dex_file.h" 24 #include "dex_file-inl.h" 251 std::unique_ptr<const DexFile> dex_file(dex_file_loader.Open(dex_bytes->data(), 260 CHECK(dex_file != nullptr) << error_message; 262 CHECK(dex_file == nullptr) << "Expected dex file open to fail."; 264 return dex_file; 267 static void ValidateDexFileHeader(std::unique_ptr<const DexFile> dex_file) { 278 const DexFile::Header& header = dex_file->GetHeader(); 301 EXPECT_EQ(header.checksum_, dex_file->GetLocationChecksum());
|
/art/tools/runtime_memusage/ |
sanitizer_logcat_analysis.sh | 284 for dex_file in $(awk "{print \$8}" "$dex_start"); do 285 apk_dex_files+=( $(basename "$dex_file") ) 296 for dex_file in "${apk_dex_files[@]}"; do 297 exported_dex_file=$intermediates_dir/$dex_file"_export.dex"
|