/art/runtime/ |
method_reference.h | 29 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 31 const DexFile* dex_file; member in struct:art::MethodReference 37 if (mr1.dex_file == mr2.dex_file) { 40 return mr1.dex_file < mr2.dex_file;
|
object_utils.h | 21 #include "dex_file.h" 108 const DexFile& dex_file = GetDexFile(); local 109 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); 110 return dex_file.GetTypeDescriptor(type_id); 186 const DexFile& dex_file = GetDexFile(); local 189 return dex_file.GetSourceFile(*dex_class_def); 273 const DexFile& dex_file = GetDexFile(); local 274 return dex_file.GetFieldName(dex_file.GetFieldId(field_index)); 284 const DexFile& dex_file = GetDexFile() local 299 const DexFile& dex_file = GetDexFile(); local 328 const DexFile& dex_file = GetDexFile(); local 418 const DexFile& dex_file = GetDexFile(); local 439 const DexFile& dex_file = GetDexFile(); local 448 const DexFile& dex_file = GetDexFile(); local 464 const DexFile& dex_file = GetDexFile(); local 474 const DexFile& dex_file = GetDexFile(); local 484 const DexFile& dex_file = GetDexFile(); local 492 const DexFile& dex_file = GetDexFile(); local 503 const DexFile& dex_file = GetDexFile(); local 509 const DexFile& dex_file = GetDexFile(); local 573 const DexFile& dex_file = GetDexFile(); local 606 const DexFile& dex_file = GetDexFile(); local [all...] |
dex_file_verifier.h | 20 #include "dex_file.h" 27 static bool Verify(const DexFile* dex_file, const byte* begin, size_t size); 30 DexFileVerifier(const DexFile* dex_file, const byte* begin, size_t size) 31 : dex_file_(dex_file), begin_(begin), size_(size), 32 header_(&dex_file->GetHeader()), ptr_(NULL), previous_item_(NULL) {
|
class_linker-inl.h | 35 const DexFile& dex_file = *dex_cache->GetDexFile(); local 36 resolved_string = ResolveString(dex_file, string_idx, dex_cache); 48 const DexFile& dex_file = *dex_cache->GetDexFile(); local 49 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 60 const DexFile& dex_file = *dex_cache->GetDexFile(); local 61 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 75 const DexFile& dex_file = *dex_cache->GetDexFile(); local 76 resolved_method = ResolveMethod(dex_file, method_idx, dex_cache, class_loader, referrer, type); 90 const DexFile& dex_file = *dex_cache->GetDexFile(); local 91 resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static) [all...] |
dex_method_iterator_test.cc | 35 const DexFile& dex_file = it.GetDexFile(); local 39 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
class_linker.h | 26 #include "dex_file.h" 77 const DexFile& dex_file, const DexFile::ClassDef& dex_class_def) 119 mirror::String* ResolveString(const DexFile& dex_file, uint32_t string_idx, 126 mirror::Class* ResolveType(const DexFile& dex_file, uint16_t type_idx, 129 return ResolveType(dex_file, 148 mirror::Class* ResolveType(const DexFile& dex_file, 159 mirror::ArtMethod* ResolveMethod(const DexFile& dex_file, 180 mirror::ArtField* ResolveField(const DexFile& dex_file, 191 mirror::ArtField* ResolveFieldJLS(const DexFile& dex_file, 211 void RegisterDexFile(const DexFile& dex_file) [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 != NULL); 132 return *dex_file;
|
class_linker.cc | 36 #include "dex_file-inl.h" 328 const DexFile* dex_file = boot_class_path[i]; local 329 CHECK(dex_file != NULL); 330 AppendToBootClassPath(*dex_file); 672 const OatFile* ClassLinker::FindOpenedOatFileForDexFile(const DexFile& dex_file) { 674 return FindOpenedOatFileFromDexLocation(dex_file.GetLocation(), dex_file.GetLocationChecksum()); 813 const DexFile* dex_file = FindDexFileInOatLocation(dex_location, local 931 const DexFile* dex_file = VerifyAndOpenDexFileFromOatFile(oat_file.release(), local 948 const DexFile* dex_file = VerifyAndOpenDexFileFromOatFile(oat_file.release(), local 1046 const DexFile* dex_file = oat_dex_file->OpenDexFile(); local 1636 const DexFile& dex_file = kh.GetDexFile(); local 2345 const DexFile* dex_file = dex_cache->GetDexFile(); local 2453 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); local 3040 const DexFile& dex_file = kh.GetDexFile(); local 3181 const DexFile& dex_file = *method->GetDeclaringClass()->GetDexCache()->GetDexFile(); local 4222 const DexFile& dex_file = *dex_cache->GetDexFile(); local [all...] |
dex_file.cc | 17 #include "dex_file.h" 30 #include "dex_file-inl.h" 54 const DexFile* dex_file = class_path[i]; local 55 const DexFile::ClassDef* dex_class_def = dex_file->FindClassDef(descriptor); 57 return ClassPathEntry(dex_file, dex_class_def); 105 UniquePtr<const DexFile> dex_file(DexFile::OpenFile(fd, filename, false)); 106 if (dex_file.get() == NULL) { 109 *checksum = dex_file->GetHeader().checksum_; 194 const DexFile* dex_file = OpenMemory(location, dex_header->checksum_, map.release()); local 195 if (dex_file == NULL) [all...] |
/art/compiler/ |
oat_writer.cc | 24 #include "dex_file-inl.h" 108 const DexFile* dex_file = (*dex_files_)[i]; local 109 CHECK(dex_file != NULL); 110 OatDexFile* oat_dex_file = new OatDexFile(offset, *dex_file); 128 const DexFile* dex_file = (*dex_files_)[i]; local 129 offset += dex_file->GetHeader().file_size_; 138 const DexFile* dex_file = (*dex_files_)[i]; local 140 class_def_index < dex_file->NumClassDefs(); 143 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); 144 const byte* class_data = dex_file->GetClassData(class_def) 213 const DexFile* dex_file = (*dex_files_)[i]; local 520 const DexFile* dex_file = (*dex_files_)[i]; local 525 const DexFile* dex_file = (*dex_files_)[i]; local 587 const DexFile* dex_file = (*dex_files_)[i]; local [all...] |
oat_test.cc | 33 const DexFile* dex_file) 36 compiler_driver_->GetCompiledMethod(MethodReference(dex_file, 112 const DexFile* dex_file = java_lang_dex_file_; local 113 uint32_t dex_file_checksum = dex_file->GetLocationChecksum(); 114 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file->GetLocation(), 116 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); 117 for (size_t i = 0; i < dex_file->NumClassDefs(); i++) { 118 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); 119 const byte* class_data = dex_file->GetClassData(class_def); 122 ClassDataItemIterator it(*dex_file, class_data) [all...] |
oat_writer.h | 94 const DexFile& dex_file) 98 const DexFile& dex_file, 110 size_t& oat_class_index, const DexFile& dex_file); 112 size_t oat_class_index, const DexFile& dex_file, 116 uint32_t method_idx, const DexFile& dex_file); 118 void ReportWriteFailure(const char* what, uint32_t method_idx, const DexFile& dex_file, 123 explicit OatDexFile(size_t offset, const DexFile& dex_file);
|
/art/compiler/sea_ir/ |
frontend.cc | 45 jobject class_loader, const DexFile& dex_file 50 LOG(INFO) << "Compiling " << PrettyMethod(method_idx, dex_file) << "."; 51 sea_ir::SeaGraph* ir_graph = sea_ir::SeaGraph::GetGraph(dex_file); 52 std::string symbol = "dex_" + MangleForJni(PrettyMethod(method_idx, dex_file)); 54 code_item, class_def_idx, method_idx, method_access_flags, dex_file); 58 MethodReference mref(&dex_file, method_idx); 63 LOG(INFO) << "Compiled SEA IR method " << PrettyMethod(method_idx, dex_file) << "."; 75 const DexFile& dex_file, 78 class_def_idx, method_idx, class_loader, dex_file 90 const art::DexFile& dex_file) { [all...] |
/art/runtime/native/ |
java_lang_DexCache.cc | 17 #include "dex_file.h" 30 const DexFile* dex_file = dex_cache->GetDexFile(); local 31 if (dex_file == NULL) { 34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); 35 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
|
dalvik_system_DexFile.cc | 22 #include "dex_file-inl.h" 109 const DexFile* dex_file; local 111 dex_file = linker->FindDexFileInOatFileFromDexLocation(dex_location, dex_location_checksum); 114 dex_file = linker->FindOrCreateOatFileForDexLocation(dex_location, dex_location_checksum, oat_location); 116 if (dex_file == NULL) { 123 return static_cast<jint>(reinterpret_cast<uintptr_t>(dex_file)); 127 const DexFile* dex_file = reinterpret_cast<const DexFile*>(static_cast<uintptr_t>(dex_file_address)); local 128 if (dex_file == NULL) { 129 ThrowNullPointerException(NULL, "dex_file == null"); 131 return dex_file; 135 const DexFile* dex_file; local 152 const DexFile* dex_file = toDexFile(cookie); local 178 const DexFile* dex_file; local [all...] |
/art/compiler/driver/ |
dex_compilation_unit.cc | 30 dex_file_(cu->dex_file), 40 const DexFile& dex_file, 48 dex_file_(&dex_file),
|
compiler_driver.cc | 29 #include "dex_file-inl.h" 299 const art::DexFile& dex_file); 307 const art::DexFile& dex_file); 316 const art::DexFile& dex_file); 325 const art::DexFile& dex_file); 329 const art::DexFile& dex_file); 333 const art::DexFile& dex_file); 501 const DexFile& dex_file, 504 const char* descriptor = dex_file.GetClassDescriptor(class_def); 538 const DexFile* dex_file; local 580 const DexFile* dex_file = dex_files[i]; local 708 const DexFile* dex_file = exception_type.second; local 946 const DexFile& dex_file = *referrer_class->GetDexCache()->GetDexFile(); local 1005 const DexFile& dex_file = *referrer_class->GetDexCache()->GetDexFile(); local 1482 const DexFile& dex_file = *manager->GetDexFile(); local 1588 const DexFile& dex_file = *manager->GetDexFile(); local 1630 const DexFile* dex_file = dex_files[i]; local 1640 const DexFile& dex_file = *manager->GetDexFile(); local 2112 const DexFile& dex_file = *manager->GetDexFile(); local 2208 const DexFile* dex_file = dex_files[i]; local 2217 const DexFile* dex_file = dex_files[i]; local 2226 const DexFile& dex_file = *manager->GetDexFile(); local [all...] |
compiler_driver_test.cc | 25 #include "dex_file.h" 69 const DexFile* dex_file = class_path[i]; local 70 CHECK(dex_file != NULL); 71 MakeDexFileExecutable(class_loader, *dex_file); 75 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) { 77 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { 78 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); 79 const char* descriptor = dex_file.GetClassDescriptor(class_def);
|
compiler_driver.h | 28 #include "dex_file.h" 148 void AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file, 150 bool RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index); 154 bool CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx) 157 bool CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, uint32_t string_idx) 161 bool CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, 168 bool CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, 194 void AddCodePatch(const DexFile* dex_file, 202 void AddMethodPatch(const DexFile* dex_file, 274 PatchInformation(const DexFile* dex_file, [all...] |
dex_compilation_unit.h | 22 #include "dex_file.h" 38 const DexFile& dex_file, const DexFile::CodeItem* code_item,
|
/art/compiler/dex/ |
frontend.cc | 114 jobject class_loader, const DexFile& dex_file 119 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "..."; 139 (PrettyMethod(method_idx, dex_file).find(cu.compiler_method_match) != 182 class_loader, dex_file); 251 VLOG(compiler) << "Compiled " << PrettyMethod(method_idx, dex_file); 253 VLOG(compiler) << "Deferred " << PrettyMethod(method_idx, dex_file); 259 LOG(INFO) << PrettyMethod(method_idx, dex_file) << " " << Dumpable<MemStats>(mem_stats); 265 << " " << PrettyMethod(method_idx, dex_file); 279 const DexFile& dex_file, 282 method_idx, class_loader, dex_file [all...] |
/art/runtime/mirror/ |
dex_cache.cc | 34 void DexCache::Init(const DexFile* dex_file, 41 CHECK(dex_file != NULL); 49 SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file, false); local
|
dex_cache.h | 45 void Init(const DexFile* dex_file, 162 void SetDexFile(const DexFile* dex_file) { 163 return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file, false);
|
/art/compiler/dex/quick/ |
mir_to_lir-inl.h | 68 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " 78 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " 88 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " 98 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " 108 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " 119 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
|
/art/compiler/llvm/ |
compiler_llvm.cc | 43 const DexFile& dex_file, 208 const art::DexFile& dex_file) { 213 NULL, class_loader, class_linker, dex_file, code_item, 222 const art::DexFile& dex_file) { 226 NULL, NULL, class_linker, dex_file, NULL,
|