Home
last modified time | relevance | path

Searched refs:bss_offset (Results 1 – 8 of 8) sorted by relevance

/art/dex2oat/linker/
Dindex_bss_mapping_encoder.h36 entry_.bss_offset = static_cast<uint32_t>(-1); in IndexBssMappingEncoder()
42 bool TryMerge(uint32_t index, uint32_t bss_offset) { in TryMerge() argument
45 if (entry_.bss_offset + slot_size_ != bss_offset) { in TryMerge()
60 entry_.bss_offset = bss_offset; in TryMerge()
64 void Reset(uint32_t method_index, uint32_t bss_offset) { in Reset() argument
67 entry_.bss_offset = bss_offset; in Reset()
Doat_writer.cc2086 uint32_t bss_offset = get_bss_offset(index); in CalculateNumberOfIndexBssMappingEntries() local
2087 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries()
2088 encoder.Reset(index, bss_offset); in CalculateNumberOfIndexBssMappingEntries()
2940 size_t bss_offset = get_bss_offset(index); in WriteIndexBssMapping() local
2943 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
2944 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping()
2947 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc37 size_t bss_offset, in StoreObjectInBss() argument
42 DCHECK_NE(bss_offset, IndexBssMappingLookup::npos); in StoreObjectInBss()
43 DCHECK_ALIGNED(bss_offset, sizeof(GcRoot<mirror::Object>)); in StoreObjectInBss()
51 const_cast<uint8_t*>(oat_file->BssBegin() + bss_offset)); in StoreObjectInBss()
85 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetTypeBssMapping(), in StoreTypeInBss() local
89 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss()
90 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss()
103 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() local
107 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss()
108 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
Dquick_trampoline_entrypoints.cc1405 size_t bss_offset = IndexBssMappingLookup::GetBssOffset( in artQuickResolutionTrampoline() local
1410 if (bss_offset != IndexBssMappingLookup::npos) { in artQuickResolutionTrampoline()
1411 DCHECK_ALIGNED(bss_offset, static_cast<size_t>(kRuntimePointerSize)); in artQuickResolutionTrampoline()
1414 oat_file->BssBegin() + bss_offset)); in artQuickResolutionTrampoline()
/art/runtime/
Dindex_bss_mapping.cc31 return bss_offset; in GetBssOffset()
41 return bss_offset - POPCOUNT(mask_from_index) * slot_size; in GetBssOffset()
Dindex_bss_mapping.h65 uint32_t bss_offset; member
Doat_file.cc2201 CHECK_ALIGNED_PARAM(entry.bss_offset, slot_size); in DCheckIndexToBssMapping()
2202 CHECK_LT(entry.bss_offset, oat_file->BssSize()); in DCheckIndexToBssMapping()
2204 CHECK_LE(POPCOUNT(mask) * slot_size, entry.bss_offset); in DCheckIndexToBssMapping()
/art/oatdump/
Doatdump.cc1763 size_t bss_offset = entry.bss_offset - POPCOUNT(mask) * slot_size; in DumpBssEntries() local
1766 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(current_index) << "\n"; in DumpBssEntries()
1767 bss_offset += slot_size; in DumpBssEntries()
1769 DCHECK_EQ(bss_offset, entry.bss_offset); in DumpBssEntries()
1770 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(index) << "\n"; in DumpBssEntries()