/art/runtime/mirror/ |
dex_cache_test.cc | 19 #include "dex_cache.h" 34 SirtRef<DexCache> dex_cache(soa.Self(), class_linker_->AllocDexCache(soa.Self(), 36 ASSERT_TRUE(dex_cache.get() != NULL); 38 EXPECT_EQ(java_lang_dex_file_->NumStringIds(), dex_cache->NumStrings()); 39 EXPECT_EQ(java_lang_dex_file_->NumTypeIds(), dex_cache->NumResolvedTypes()); 40 EXPECT_EQ(java_lang_dex_file_->NumMethodIds(), dex_cache->NumResolvedMethods()); 41 EXPECT_EQ(java_lang_dex_file_->NumFieldIds(), dex_cache->NumResolvedFields()); 42 EXPECT_EQ(java_lang_dex_file_->NumTypeIds(), dex_cache->NumInitializedStaticStorage()); 44 EXPECT_LE(0, dex_cache->GetStrings()->GetLength()); 45 EXPECT_LE(0, dex_cache->GetResolvedTypes()->GetLength()) [all...] |
class.cc | 24 #include "dex_cache.h" 355 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const { 357 ArtMethod* method = FindDeclaredVirtualMethod(dex_cache, dex_method_idx); 365 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(dex_cache, dex_method_idx); 386 ArtMethod* Class::FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const { 387 if (GetDexCache() == dex_cache) { 408 ArtMethod* Class::FindDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const { 410 ArtMethod* method = klass->FindDeclaredDirectMethod(dex_cache, dex_method_idx); 431 ArtMethod* Class::FindDeclaredVirtualMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const { 432 if (GetDexCache() == dex_cache) { [all...] |
class.h | 566 ArtMethod* FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const 575 ArtMethod* FindDeclaredVirtualMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const 581 ArtMethod* FindVirtualMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const 587 ArtMethod* FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const 593 ArtMethod* FindDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx) const 691 ArtField* FindInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) 697 ArtField* FindDeclaredInstanceField(const DexCache* dex_cache, uint32_t dex_field_idx) 706 ArtField* FindStaticField(const DexCache* dex_cache, uint32_t dex_field_idx) 712 ArtField* FindDeclaredStaticField(const DexCache* dex_cache, uint32_t dex_field_idx) [all...] |
/art/runtime/native/ |
java_lang_DexCache.cc | 18 #include "mirror/dex_cache.h" 27 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local 29 DCHECK_EQ(dex_cache->GetThinLockId(), soa.Self()->GetThinLockId()); 30 const DexFile* dex_file = dex_cache->GetDexFile();
|
/art/runtime/ |
class_linker-inl.h | 23 #include "mirror/dex_cache.h" 34 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local 35 const DexFile& dex_file = *dex_cache->GetDexFile(); 36 resolved_string = ResolveString(dex_file, string_idx, dex_cache); 46 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local 48 const DexFile& dex_file = *dex_cache->GetDexFile(); 49 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 56 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local 57 mirror::Class* resolved_type = dex_cache->GetResolvedType(type_idx); 60 const DexFile& dex_file = *dex_cache->GetDexFile() 73 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local 88 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local [all...] |
class_linker.cc | 51 #include "mirror/dex_cache-inl.h" 1979 mirror::DexCache* dex_cache = dex_caches_[i]; local 1987 mirror::DexCache* dex_cache = dex_caches_[i]; local 1994 mirror::DexCache* dex_cache = dex_caches_[i]; local 2196 mirror::DexCache* dex_cache = klass->GetDexCache(); local 2314 mirror::DexCache* dex_cache = dex_caches->Get(i); local 2344 mirror::DexCache* dex_cache = dex_caches->Get(i); local 2792 mirror::DexCache* dex_cache = NULL; local 4221 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local [all...] |
intern_table.cc | 20 #include "mirror/dex_cache.h" 101 mirror::DexCache* dex_cache = dex_caches->Get(i); local 102 const DexFile* dex_file = dex_cache->GetDexFile(); 107 mirror::String* image = dex_cache->GetResolvedString(string_idx);
|
common_throws.cc | 279 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache(); local 280 const DexFile& dex_file = *dex_cache->GetDexFile(); 311 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache(); local 312 const DexFile& dex_file = *dex_cache->GetDexFile(); 320 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); local 321 const DexFile& dex_file = *dex_cache->GetDexFile();
|
class_linker.h | 120 mirror::DexCache* dex_cache) 150 mirror::DexCache* dex_cache, 161 mirror::DexCache* dex_cache, 182 mirror::DexCache* dex_cache, 193 mirror::DexCache* dex_cache, 214 void RegisterDexFile(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache) 402 void AppendToBootClassPath(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache) 433 void RegisterDexFileLocked(const DexFile& dex_file, SirtRef<mirror::DexCache>& dex_cache)
|
object_utils.h | 26 #include "mirror/dex_cache.h" 193 mirror::DexCache* dex_cache = GetDexCache(); local 194 if (dex_cache != NULL && !klass_->IsProxyClass()) { 195 return dex_cache->GetLocation()->ToModifiedUtf8(); 618 const mirror::DexCache* dex_cache = GetDexCache(); local 619 result = dex_file_ = dex_cache->GetDexFile();
|
common_test.h | 191 const mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); local 192 const DexFile& dex_file = *dex_cache->GetDexFile();
|
Android.mk | 83 mirror/dex_cache.cc \
|
dex_file.cc | 942 mirror::DexCache* dex_cache, 946 : dex_file_(dex_file), dex_cache_(dex_cache), class_loader_(class_loader), linker_(linker), [all...] |
thread.cc | 798 const mirror::DexCache* dex_cache = c->GetDexCache(); local 800 if (dex_cache != NULL) { // be tolerant of bad input 801 const DexFile& dex_file = *dex_cache->GetDexFile(); [all...] |
class_linker_test.cc | 31 #include "mirror/dex_cache.h" 336 mirror::DexCache* dex_cache = class_linker_->FindDexCache(*dex); local 337 mirror::ObjectArray<mirror::ArtMethod>* resolved_methods = dex_cache->GetResolvedMethods(); [all...] |
dex_file.h | [all...] |
debugger.cc | 2486 const mirror::DexCache* dex_cache = m->GetDeclaringClass()->GetDexCache(); local [all...] |
/art/compiler/driver/ |
compiler_driver_test.cc | 30 #include "mirror/dex_cache-inl.h" 104 mirror::DexCache* dex_cache = class_linker_->FindDexCache(*dex); local 105 EXPECT_EQ(dex->NumStringIds(), dex_cache->NumStrings()); 106 for (size_t i = 0; i < dex_cache->NumStrings(); i++) { 107 const mirror::String* string = dex_cache->GetResolvedString(i); 110 EXPECT_EQ(dex->NumTypeIds(), dex_cache->NumResolvedTypes()); 111 for (size_t i = 0; i < dex_cache->NumResolvedTypes(); i++) { 112 mirror::Class* type = dex_cache->GetResolvedType(i); 116 EXPECT_EQ(dex->NumMethodIds(), dex_cache->NumResolvedMethods()); 117 for (size_t i = 0; i < dex_cache->NumResolvedMethods(); i++) [all...] |
compiler_driver.cc | 40 #include "mirror/dex_cache-inl.h" 709 mirror::DexCache* dex_cache = class_linker->FindDexCache(*dex_file); local 712 dex_cache, class_loader)); 782 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); local 783 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx); 802 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); local 803 Runtime::Current()->GetClassLinker()->ResolveString(dex_file, string_idx, dex_cache); 828 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); local 830 mirror::Class* resolved_class = dex_cache->GetResolvedType(type_idx) 865 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(dex_file); local 908 mirror::DexCache* dex_cache = mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); local 919 mirror::DexCache* dex_cache = mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); local 1020 mirror::DexCache* dex_cache = mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); local 1501 mirror::DexCache* dex_cache = class_linker->FindDexCache(dex_file); local 1589 mirror::DexCache* dex_cache = class_linker->FindDexCache(dex_file); local 1656 mirror::DexCache* dex_cache = class_linker->FindDexCache(dex_file); local [all...] |
/art/compiler/ |
image_writer.cc | 44 #include "mirror/dex_cache-inl.h" 221 for (DexCache* dex_cache : writer->dex_caches_) { 222 const DexFile& dex_file = *dex_cache->GetDexFile(); 227 if (dex_cache->GetResolvedString(string_idx) == NULL) { 228 dex_cache->SetResolvedString(string_idx, string); 273 for (DexCache* dex_cache : dex_caches_) { 274 for (size_t i = 0; i < dex_cache->NumResolvedTypes(); i++) { 275 Class* klass = dex_cache->GetResolvedType(i); 277 dex_cache->SetResolvedType(i, NULL); 278 dex_cache->GetInitializedStaticStorage()->Set(i, NULL) 652 DexCache* dex_cache = class_linker->FindDexCache(patch->GetDexFile()); local [all...] |
elf_writer_mclinker.cc | 359 mirror::DexCache* dex_cache = linker->FindDexCache(dex_file); local 362 method = linker->ResolveMethod(dex_file, method_idx, dex_cache, NULL, NULL, invoke_type);
|
oat_writer.cc | 400 mirror::DexCache* dex_cache = linker->FindDexCache(*dex_file); 403 mirror::ArtMethod* method = linker->ResolveMethod(*dex_file, method_idx, dex_cache, [all...] |
/art/runtime/verifier/ |
method_verifier.h | 151 static FailureKind VerifyClass(const DexFile* dex_file, mirror::DexCache* dex_cache, 158 mirror::DexCache* dex_cache, mirror::ClassLoader* class_loader, 226 MethodVerifier(const DexFile* dex_file, mirror::DexCache* dex_cache, 266 mirror::DexCache* dex_cache, 692 // The dex_cache for the declaring class of the method.
|
method_verifier.cc | 36 #include "mirror/dex_cache-inl.h" 115 mirror::DexCache* dex_cache, 145 linker->ResolveMethod(*dex_file, method_idx, dex_cache, class_loader, NULL, type); 153 dex_cache, 187 linker->ResolveMethod(*dex_file, method_idx, dex_cache, class_loader, NULL, type); 195 dex_cache, 226 mirror::DexCache* dex_cache, 236 MethodVerifier verifier_(dex_file, dex_cache, class_loader, class_def, code_item, method_idx, 270 const DexFile* dex_file, mirror::DexCache* dex_cache, 276 MethodVerifier verifier(dex_file, dex_cache, class_loader, class_def, code_item [all...] |
/art/oatdump/ |
oatdump.cc | 563 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(*dex_file); local 565 verifier.reset(new verifier::MethodVerifier(dex_file, dex_cache, class_loader, &class_def, 621 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(*dex_file); local 623 verifier::MethodVerifier::VerifyMethodAndDump(os, dex_method_idx, dex_file, dex_cache, [all...] |