HomeSort by relevance Sort by last modified time
    Searched defs:dex_cache (Results 1 - 25 of 31) sorted by null

1 2

  /art/test/497-inlining-and-class-loader/
clear_dex_cache.cc 31 mirror::DexCache* dex_cache = soa.Decode<mirror::Class*>(cls)->GetDexCache(); local
32 size_t num_methods = dex_cache->NumResolvedMethods();
33 ArtMethod** methods = dex_cache->GetResolvedMethods();
56 mirror::DexCache* dex_cache = soa.Decode<mirror::Class*>(cls)->GetDexCache(); local
57 size_t num_methods = dex_cache->NumResolvedMethods();
  /art/runtime/mirror/
field.cc 20 #include "dex_cache-inl.h"
70 mirror::DexCache* const dex_cache = declaring_class->GetDexCache(); member in class:art::mirror::mirror
71 ArtField* const art_field = dex_cache->GetResolvedField(GetDexFieldIndex(), sizeof(void*));
class.cc 24 #include "dex_cache.h"
375 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx,
378 ArtMethod* method = FindDeclaredVirtualMethod(dex_cache, dex_method_idx, pointer_size);
387 dex_cache, dex_method_idx, pointer_size);
415 ArtMethod* Class::FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx,
417 if (GetDexCache() == dex_cache) {
450 const DexCache* dex_cache, uint32_t dex_method_idx, size_t pointer_size) {
452 ArtMethod* method = klass->FindDeclaredDirectMethod(dex_cache, dex_method_idx, pointer_size);
496 ArtMethod* Class::FindDeclaredVirtualMethod(const DexCache* dex_cache, uint32_t dex_method_idx,
498 if (GetDexCache() == dex_cache) {
901 mirror::DexCache* dex_cache = GetDexCache(); local
    [all...]
object-inl.h 30 #include "dex_cache-inl.h"
1150 mirror::DexCache* const dex_cache = AsDexCache<kVerifyFlags, kReadBarrierOption>(); member in class:art::mirror::mirror
    [all...]
  /art/runtime/native/
java_lang_DexCache.cc 22 #include "mirror/dex_cache-inl.h"
31 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local
33 DCHECK_EQ(dex_cache->GetLockOwnerThreadId(), soa.Self()->GetThreadId());
34 const DexFile* dex_file = dex_cache->GetDexFile();
54 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local
55 CHECK_LT(static_cast<size_t>(type_index), dex_cache->NumResolvedTypes());
56 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedType(type_index));
61 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local
62 CHECK_LT(static_cast<size_t>(string_index), dex_cache->NumStrings());
63 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedString(string_index))
69 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local
77 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache); local
    [all...]
dalvik_system_VMRuntime.cc 45 #include "mirror/dex_cache-inl.h"
283 Handle<mirror::DexCache> dex_cache, uint32_t string_idx, StringTable& strings)
285 mirror::String* string = dex_cache->GetResolvedString(string_idx);
289 const DexFile* dex_file = dex_cache->GetDexFile();
296 dex_cache->SetResolvedString(string_idx, string);
301 Thread* self, mirror::DexCache* dex_cache, uint32_t type_idx)
303 mirror::Class* klass = dex_cache->GetResolvedType(type_idx);
307 const DexFile* dex_file = dex_cache->GetDexFile();
319 dex_cache->SetResolvedType(type_idx, klass);
329 static void PreloadDexCachesResolveField(Handle<mirror::DexCache> dex_cache, uint32_t field_idx
441 mirror::DexCache* const dex_cache = class_linker->FindDexCache(self, *dex_file, true); member in class:art::mirror
    [all...]
  /art/compiler/optimizing/
licm_test.cc 111 ScopedNullHandle<mirror::DexCache> dex_cache; local
119 dex_cache,
124 false, kUnknownFieldIndex, kUnknownClassDefIndex, graph_->GetDexFile(), dex_cache, 0);
138 ScopedNullHandle<mirror::DexCache> dex_cache; local
146 dex_cache,
157 dex_cache,
gvn_test.cc 31 ScopedNullHandle<mirror::DexCache> dex_cache; local
54 dex_cache,
63 dex_cache,
73 dex_cache,
85 dex_cache,
94 dex_cache,
116 ScopedNullHandle<mirror::DexCache> dex_cache; local
138 dex_cache,
161 dex_cache,
171 dex_cache,
199 ScopedNullHandle<mirror::DexCache> dex_cache; local
322 ScopedNullHandle<mirror::DexCache> dex_cache; local
    [all...]
sharpening.cc 28 #include "mirror/dex_cache.h"
171 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *compilation_unit_.GetDexFile()) local
178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache);
193 mirror::String* string = dex_cache->GetResolvedString(string_index);
204 void* dex_cache_element_address = &dex_cache->GetStrings()[string_index];
209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache);
register_allocator_test.cc 462 ScopedNullHandle<mirror::DexCache> dex_cache; local
480 dex_cache,
507 dex_cache,
516 dex_cache,
614 ScopedNullHandle<mirror::DexCache> dex_cache; local
633 dex_cache,
    [all...]
reference_type_propagation.cc 21 #include "mirror/dex_cache.h"
445 Handle<mirror::DexCache> dex_cache(
452 invoke->GetDexFile(), invoke->GetDexMethodIndex(), dex_cache, loader, nullptr, kDirect);
479 mirror::DexCache* dex_cache = FindDexCacheWithHint(soa.Self(), dex_file, hint_dex_cache_); local
481 SetClassAsTypeInfo(instr, dex_cache->GetResolvedType(type_idx), is_exact);
497 mirror::DexCache* dex_cache = FindDexCacheWithHint(self, dex_file, hint_dex_cache); local
499 return dex_cache->GetResolvedType(type_idx);
783 mirror::DexCache* dex_cache = local
    [all...]
inliner.cc 34 #include "mirror/dex_cache.h"
190 Handle<mirror::DexCache> dex_cache)
200 DCHECK_EQ(cls->GetDexCache(), dex_cache.Get());
206 if (dex_cache->GetResolvedType(index) == nullptr) {
207 dex_cache->SetResolvedType(index, cls);
214 if (index != DexFile::kDexNoIndex && dex_cache->GetResolvedType(index) != cls) {
269 mirror::DexCache* const dex_cache = IsSameDexFile(caller_dex_file, *ref.dex_file) member in class:art::mirror
272 resolved_method = dex_cache->GetResolvedMethod(
941 Handle<mirror::DexCache> dex_cache; local
    [all...]
instruction_builder.cc 741 // attempt to read the dex_cache with a dex_method_index that is not from the correct
906 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
992 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
1269 Handle<mirror::DexCache> dex_cache = compilation_unit.GetDexCache(); local
1285 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
1326 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
1629 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
1672 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
2610 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); local
    [all...]
  /art/compiler/
common_compiler_test.cc 32 #include "mirror/dex_cache.h"
49 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); local
50 const DexFile& dex_file = *dex_cache->GetDexFile();
  /art/compiler/driver/
compiler_driver_test.cc 30 #include "mirror/dex_cache-inl.h"
109 mirror::DexCache* dex_cache = class_linker_->FindDexCache(soa.Self(), dex); local
110 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings());
111 for (size_t i = 0; i < dex_cache->NumStrings(); i++) {
112 const mirror::String* string = dex_cache->GetResolvedString(i);
115 EXPECT_EQ(dex.NumTypeIds(), dex_cache->NumResolvedTypes());
116 for (size_t i = 0; i < dex_cache->NumResolvedTypes(); i++) {
117 mirror::Class* type = dex_cache->GetResolvedType(i);
121 EXPECT_EQ(dex.NumMethodIds(), dex_cache->NumResolvedMethods());
124 for (size_t i = 0; i < dex_cache->NumResolvedMethods(); i++)
    [all...]
compiler_driver.cc 58 #include "mirror/dex_cache-inl.h"
571 Handle<mirror::DexCache> dex_cache)
632 dex_file, dex_cache);
680 Handle<mirror::DexCache> dex_cache(hs.NewHandle(method->GetDexCache()));
722 dex_cache);
748 dex_cache);
1470 mirror::DexCache* dex_cache = runtime->GetClassLinker()->FindDexCache( local
1705 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); local
2642 Handle<mirror::DexCache> dex_cache; variable
    [all...]
  /art/runtime/
art_field-inl.h 27 #include "mirror/dex_cache-inl.h"
296 auto* dex_cache = declaring_class->GetDexCache(); local
297 const DexFile* const dex_file = dex_cache->GetDexFile();
299 mirror::Class* type = dex_cache->GetResolvedType(field_id.type_idx_);
322 auto* dex_cache = GetDexCache(); local
323 const auto* dex_file = dex_cache->GetDexFile();
325 auto* name = dex_cache->GetResolvedString(field_id.name_idx_);
327 name = ResolveGetStringName(self, *dex_file, field_id.name_idx_, dex_cache);
common_throws.cc 361 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); local
362 const DexFile& dex_file = *dex_cache->GetDexFile();
390 mirror::DexCache* dex_cache = local
392 const DexFile& dex_file = *dex_cache->GetDexFile();
398 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); local
399 const DexFile& dex_file = *dex_cache->GetDexFile();
art_method-inl.h 31 #include "mirror/dex_cache-inl.h"
182 mirror::DexCache* dex_cache = local
184 if (UNLIKELY(type_index >= dex_cache->NumResolvedTypes())) {
185 ThrowArrayIndexOutOfBoundsException(type_index, dex_cache->NumResolvedTypes());
art_method.cc 60 Handle<mirror::DexCache> dex_cache(hs.NewHandle(GetDexCache()));
61 auto* dex_file = dex_cache->GetDexFile();
65 dex_cache);
336 auto* dex_cache = GetDexCache(); local
337 auto* dex_file = dex_cache->GetDexFile();
intern_table.cc 26 #include "mirror/dex_cache-inl.h"
189 mirror::DexCache* dex_cache = dex_caches->Get(i); local
190 const size_t num_strings = dex_cache->NumStrings();
192 mirror::String* image_string = dex_cache->GetResolvedString(j);
220 mirror::DexCache* dex_cache = dex_caches->Get(i); local
221 const DexFile* dex_file = dex_cache->GetDexFile();
227 mirror::String* image_string = dex_cache->GetResolvedString(string_idx);
class_linker_test.cc 33 #include "mirror/dex_cache.h"
434 mirror::DexCache* dex_cache = class_linker_->FindDexCache(Thread::Current(), dex); local
435 auto* resolved_methods = dex_cache->GetResolvedMethods();
436 for (size_t i = 0, num_methods = dex_cache->NumResolvedMethods(); i != num_methods; ++i) {
    [all...]
trace.cc 35 #include "mirror/dex_cache-inl.h"
656 mirror::DexCache* dex_cache = class_linker->FindDexCache(self, *e.first, false); local
659 visited_methods->insert(dex_cache->GetResolvedMethod(i, sizeof(void*)));
851 mirror::DexCache* dex_cache = method->GetDexCache(); local
852 const DexFile* dex_file = dex_cache->GetDexFile();
853 auto* resolved_method = dex_cache->GetResolvedMethod(method->GetDexMethodIndex(), sizeof(void*));
856 dex_cache->SetResolvedMethod(method->GetDexMethodIndex(), method, sizeof(void*));
    [all...]
  /art/runtime/quick/
inline_method_analyser.cc 27 #include "mirror/dex_cache-inl.h"
218 mirror::DexCache* dex_cache = method->GetDexCache(); local
219 ArtField* field = dex_cache->GetResolvedField(field_index, pointer_size);
229 ArtField* f = dex_cache->GetResolvedField(iputs[old_pos].field_index, pointer_size);
734 mirror::DexCache* dex_cache = method->GetDexCache(); local
736 ArtField* field = dex_cache->GetResolvedField(field_idx, pointer_size);
742 if (!method_class->CanAccessResolvedField(field_class, field, dex_cache, field_idx) ||
  /art/runtime/gc/space/
image_space.cc 1054 mirror::DexCache* dex_cache = dex_caches->Get<kVerifyNone, kWithoutReadBarrier>(i); local
    [all...]

Completed in 1062 milliseconds

1 2