/aosp12/art/dex2oat/linker/ |
H A D | index_bss_mapping_encoder.h | 36 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()
|
H A D | oat_writer.cc | 2143 uint32_t bss_offset = get_bss_offset(index); in CalculateNumberOfIndexBssMappingEntries() local 2144 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries() 2145 encoder.Reset(index, bss_offset); in CalculateNumberOfIndexBssMappingEntries() 2826 size_t bss_offset = get_bss_offset(index); in WriteIndexBssMapping() local 2829 encoder.Reset(index, bss_offset); in WriteIndexBssMapping() 2830 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping() 2833 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
|
/aosp12/art/runtime/entrypoints/quick/ |
H A D | quick_dexcache_entrypoints.cc | 37 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() 89 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(mapping, in StoreTypeInBss() local 93 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss() 94 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss() 116 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() local 120 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss() 121 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
|
/aosp12/art/runtime/ |
H A D | index_bss_mapping.cc | 31 return bss_offset; in GetBssOffset() 41 return bss_offset - POPCOUNT(mask_from_index) * slot_size; in GetBssOffset()
|
H A D | index_bss_mapping.h | 65 uint32_t bss_offset; member
|
H A D | oat_file.cc | 2419 CHECK_ALIGNED_PARAM(entry.bss_offset, slot_size); in DCheckIndexToBssMapping() 2420 CHECK_LT(entry.bss_offset, oat_file->BssSize()); in DCheckIndexToBssMapping() 2422 CHECK_LE(POPCOUNT(mask) * slot_size, entry.bss_offset); in DCheckIndexToBssMapping()
|
/aosp12/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 290 size_t bss_offset = IndexBssMappingLookup::GetBssOffset( in MaybeUpdateBssMethodEntry() local 295 if (bss_offset != IndexBssMappingLookup::npos) { in MaybeUpdateBssMethodEntry() 296 DCHECK_ALIGNED(bss_offset, static_cast<size_t>(kRuntimePointerSize)); in MaybeUpdateBssMethodEntry() 299 oat_file->BssBegin() + bss_offset)); in MaybeUpdateBssMethodEntry()
|
/aosp12/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 777 uint64_t bss_offset = bss_sect.size(); in allocateCommonSymbols() local 833 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 891 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 897 bss_sect.setSize(bss_offset); in allocateCommonSymbols()
|
/aosp12/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 612 uint64_t bss_offset = bss_sect.size(); in allocateCommonSymbols() local 636 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 663 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 670 bss_sect.setSize(bss_offset); in allocateCommonSymbols()
|
/aosp12/art/oatdump/ |
H A D | oatdump.cc | 1662 size_t bss_offset = entry.bss_offset - POPCOUNT(mask) * slot_size; in DumpBssEntries() local 1665 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(current_index) << "\n"; in DumpBssEntries() 1666 bss_offset += slot_size; in DumpBssEntries() 1668 DCHECK_EQ(bss_offset, entry.bss_offset); in DumpBssEntries() 1669 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(index) << "\n"; in DumpBssEntries()
|
/aosp12/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 1534 uint64_t bss_offset = bss_sect.size(); in allocateCommonSymbols() local 1557 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 1583 bss_offset += ObjectBuilder::AppendFragment( in allocateCommonSymbols() 1590 bss_sect.setSize(bss_offset); in allocateCommonSymbols()
|