Home
last modified time | relevance | path

Searched refs:layout (Results 1 – 6 of 6) sorted by relevance

/art/runtime/mirror/
Ddex_cache.cc46 DexCacheArraysLayout layout(image_pointer_size, dex_file); in InitializeDexCache() local
57 DCHECK(layout.Alignment() == 8u || layout.Alignment() == 16u); in InitializeDexCache()
59 raw_arrays = (layout.Alignment() == 16u) in InitializeDexCache()
60 ? reinterpret_cast<uint8_t*>(linear_alloc->AllocAlign16(self, layout.Size())) in InitializeDexCache()
61 : reinterpret_cast<uint8_t*>(linear_alloc->Alloc(self, layout.Size())); in InitializeDexCache()
65 reinterpret_cast<StringDexCacheType*>(raw_arrays + layout.StringsOffset()); in InitializeDexCache()
67 reinterpret_cast<TypeDexCacheType*>(raw_arrays + layout.TypesOffset()); in InitializeDexCache()
69 reinterpret_cast<MethodDexCacheType*>(raw_arrays + layout.MethodsOffset()); in InitializeDexCache()
71 reinterpret_cast<FieldDexCacheType*>(raw_arrays + layout.FieldsOffset()); in InitializeDexCache()
107 raw_arrays + layout.MethodTypesOffset()); in InitializeDexCache()
[all …]
/art/test/656-annotation-lookup-generic-jni/
Dinfo.txt5 stack with an unexpected layout when trying to resolve the method's
/art/runtime/
Doat_file.cc623 DexCacheArraysLayout layout(pointer_size, *header, num_call_sites); in Setup() local
624 if (layout.Size() != 0u) { in Setup()
625 if (static_cast<size_t>(dex_cache_arrays_end - dex_cache_arrays) < layout.Size()) { in Setup()
632 layout.Size()); in Setup()
636 dex_cache_arrays += layout.Size(); in Setup()
Dclass_linker.cc1411 DexCacheArraysLayout layout(image_pointer_size, dex_file); in Update() local
1416 reinterpret_cast<mirror::StringDexCacheType*>(raw_arrays + layout.StringsOffset()); in Update()
1423 reinterpret_cast<mirror::TypeDexCacheType*>(raw_arrays + layout.TypesOffset()); in Update()
1431 reinterpret_cast<mirror::MethodDexCacheType*>(raw_arrays + layout.MethodsOffset()); in Update()
1438 reinterpret_cast<mirror::FieldDexCacheType*>(raw_arrays + layout.FieldsOffset()); in Update()
1450 raw_arrays + layout.MethodTypesOffset()); in Update()
1458 reinterpret_cast<GcRoot<mirror::CallSite>*>(raw_arrays + layout.CallSitesOffset()); in Update()
/art/compiler/
Dimage_writer.cc439 DexCacheArraysLayout layout(target_ptr_size_, dex_file); in PrepareDexCacheArraySlots() local
440 image_info.bin_slot_sizes_[kBinDexCacheArray] += layout.Size(); in PrepareDexCacheArraySlots()
456 DexCacheArraysLayout layout(target_ptr_size_, dex_file); in PrepareDexCacheArraySlots() local
457 DCHECK(layout.Valid()); in PrepareDexCacheArraySlots()
463 start + layout.TypesOffset(), in PrepareDexCacheArraySlots()
467 start + layout.MethodsOffset(), in PrepareDexCacheArraySlots()
471 start + layout.FieldsOffset(), in PrepareDexCacheArraySlots()
474 AddDexCacheArrayRelocation(dex_cache->GetStrings(), start + layout.StringsOffset(), dex_cache); in PrepareDexCacheArraySlots()
478 start + layout.MethodTypesOffset(), in PrepareDexCacheArraySlots()
483 start + layout.CallSitesOffset(), in PrepareDexCacheArraySlots()
Doat_writer.cc1956 DexCacheArraysLayout layout(pointer_size, dex_file); in InitBssLayout() local
1957 bss_size_ += layout.Size(); in InitBssLayout()