/art/runtime/ |
dex_method_iterator_test.cc | 35 const DexFile& dex_file = it.GetDexFile(); local 39 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
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;
|
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-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_file_test.cc | 17 #include "dex_file.h" 76 const DexFile* dex_file = DexFile::Open(location, location); local 77 CHECK(dex_file != NULL); 78 EXPECT_EQ(PROT_READ, dex_file->GetPermissions()); 79 EXPECT_TRUE(dex_file->IsReadOnly()); 80 return dex_file;
|
intern_table.cc | 102 const DexFile* dex_file = dex_cache->GetDexFile(); local 104 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str()); 106 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
|
common_throws.cc | 21 #include "dex_file-inl.h" 280 const DexFile& dex_file = *dex_cache->GetDexFile(); local 282 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'"; 299 const DexFile& dex_file, 304 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference"; 312 const DexFile& dex_file = *dex_cache->GetDexFile(); local 314 dex_file, type); 321 const DexFile& dex_file = *dex_cache->GetDexFile(); local 323 dex_file, type); 456 const DexFile& dex_file local [all...] |
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...] |
class_linker_test.cc | 24 #include "dex_file.h" 993 const DexFile* dex_file = Runtime::Current()->GetCompileTimeClassPath(jclass_loader)[0]; local [all...] |
common_test.h | 33 #include "dex_file-inl.h" 192 const DexFile& dex_file = *dex_cache->GetDexFile(); local 194 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, 435 const DexFile* dex_file = DexFile::Open(filename, filename); local 436 CHECK(dex_file != NULL) << "Failed to open " << filename; 437 CHECK_EQ(PROT_READ, dex_file->GetPermissions()); 438 CHECK(dex_file->IsReadOnly()); 439 opened_dex_files_.push_back(dex_file); 440 return dex_file; 444 const DexFile* dex_file = OpenTestDexFile(dex_name) local [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());
|
java_lang_VMClassLoader.cc | 73 const DexFile* dex_file = path[index]; local 74 const std::string& location(dex_file->GetLocation());
|
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/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
|
object_test.cc | 29 #include "dex_file.h" 260 const DexFile* dex_file = Runtime::Current()->GetCompileTimeClassPath(class_loader)[0]; local 261 CHECK(dex_file != NULL); 266 const DexFile::StringId* klass_string_id = dex_file->FindStringId("LStaticsFromCode;"); 268 const DexFile::TypeId* klass_type_id = dex_file->FindTypeId( 269 dex_file->GetIndexForStringId(*klass_string_id)); 272 const DexFile::StringId* type_string_id = dex_file->FindStringId("Ljava/lang/Object;"); 274 const DexFile::TypeId* type_type_id = dex_file->FindTypeId( 275 dex_file->GetIndexForStringId(*type_string_id)); 278 const DexFile::StringId* name_str_id = dex_file->FindStringId("s0") [all...] |
/art/compiler/dex/ |
compiler_ir.h | 49 dex_file(NULL), 78 const DexFile* dex_file; // DexFile containing the method being compiled. member in struct:art::CompilationUnit
|
/art/compiler/driver/ |
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);
|
/art/compiler/jni/portable/ |
jni_compiler.cc | 22 #include "dex_file-inl.h" 66 const DexFile* dex_file = dex_compilation_unit_->GetDexFile(); local 68 dex_file->GetMethodId(dex_compilation_unit_->GetDexMethodIndex()); 69 char const return_shorty = dex_file->GetMethodShorty(method_id)[0]; 74 MangleForJni(PrettyMethod(method_idx, *dex_file)).c_str()));
|
/art/compiler/ |
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...] |
elf_writer_mclinker.cc | 242 const DexFile& dex_file = it.GetDexFile(); local 245 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx)); 353 const DexFile& dex_file = it.GetDexFile(); local 359 mirror::DexCache* dex_cache = linker->FindDexCache(dex_file); 362 method = linker->ResolveMethod(dex_file, method_idx, dex_cache, NULL, NULL, invoke_type); 366 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx));
|
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...] |
image_writer.cc | 27 #include "dex_file-inl.h" 222 const DexFile& dex_file = *dex_cache->GetDexFile(); local 223 const DexFile::StringId* string_id = dex_file.FindStringId(utf16_string); 226 uint32_t string_idx = dex_file.GetIndexForStringId(*string_id);
|
/art/runtime/entrypoints/ |
entrypoint_utils.cc | 20 #include "dex_file-inl.h" 113 const DexFile& dex_file = *referring_class->GetDexCache()->GetDexFile(); local 114 fields_class = class_linker->ResolveType(dex_file, 115 dex_file.GetFieldId(field_idx).class_idx_, 218 const DexFile& dex_file = *referring_class->GetDexCache()->GetDexFile(); local 219 methods_class = class_linker->ResolveType(dex_file, 220 dex_file.GetMethodId(method_idx).class_idx_,
|
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 19 #include "dex_file-inl.h" 452 const DexFile* dex_file; local 459 dex_file = &mh.GetDexFile(); 517 dex_file = &MethodHelper(called).GetDexFile(); 522 dex_file->GetMethodShorty(dex_file->GetMethodId(dex_method_idx), &shorty_len);
|
/art/dex2oat/ |
dex2oat.cc | 33 #include "dex_file-inl.h" 371 const DexFile* dex_file = DexFile::Open(parsed[i], parsed[i]); local 372 if (dex_file == NULL) { 375 dex_files.push_back(dex_file); 424 const DexFile* dex_file = DexFile::Open(dex_filename, dex_location); local 425 if (dex_file == NULL) { 429 dex_files.push_back(dex_file); 915 const DexFile* dex_file = DexFile::Open(*zip_archive.get(), zip_location); local 944 const DexFile* dex_file = dex_files[i]; local [all...] |