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.cc2028 uint32_t bss_offset = get_bss_offset(index); in CalculateNumberOfIndexBssMappingEntries() local
2029 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries()
2030 encoder.Reset(index, bss_offset); in CalculateNumberOfIndexBssMappingEntries()
2842 size_t bss_offset = get_bss_offset(index); in WriteIndexBssMapping() local
2845 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
2846 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping()
2849 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc39 size_t bss_offset, in StoreObjectInBss() argument
44 DCHECK_NE(bss_offset, IndexBssMappingLookup::npos); in StoreObjectInBss()
45 DCHECK_ALIGNED(bss_offset, sizeof(GcRoot<mirror::Object>)); in StoreObjectInBss()
54 const_cast<uint8_t*>(oat_file->BssBegin() + bss_offset)); in StoreObjectInBss()
119 size_t bss_offset = IndexBssMappingLookup::GetBssOffset( in StoreTypeInBss() local
121 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss()
122 StoreObjectInBss(outer_method, outer_oat_file, bss_offset, resolved_type); in StoreTypeInBss()
164 size_t bss_offset = IndexBssMappingLookup::GetBssOffset( in StoreStringInBss() local
166 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss()
167 StoreObjectInBss(outer_method, outer_oat_file, bss_offset, resolved_string); in StoreStringInBss()
[all …]
/art/runtime/oat/
Dindex_bss_mapping.cc31 return bss_offset; in GetBssOffset()
41 return bss_offset - POPCOUNT(mask_from_index) * slot_size; in GetBssOffset()
Dindex_bss_mapping.h66 uint32_t bss_offset; member
Doat_file.cc2486 CHECK_ALIGNED_PARAM(entry.bss_offset, slot_size); in DCheckIndexToBssMapping()
2487 CHECK_LT(entry.bss_offset, oat_file->BssSize()); in DCheckIndexToBssMapping()
2489 CHECK_LE(POPCOUNT(mask) * slot_size, entry.bss_offset); in DCheckIndexToBssMapping()
/art/runtime/entrypoints/
Dentrypoint_utils.cc341 size_t bss_offset = in MaybeUpdateBssMethodEntry() local
346 if (bss_offset != IndexBssMappingLookup::npos) { in MaybeUpdateBssMethodEntry()
347 DCHECK_ALIGNED(bss_offset, static_cast<size_t>(kRuntimePointerSize)); in MaybeUpdateBssMethodEntry()
350 const_cast<uint8_t*>(outer_oat_file->BssBegin() + bss_offset)); in MaybeUpdateBssMethodEntry()
/art/oatdump/
Doatdump.cc1680 size_t bss_offset = entry.bss_offset - POPCOUNT(mask) * slot_size; in DumpBssEntries() local
1683 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(current_index) << "\n"; in DumpBssEntries()
1684 bss_offset += slot_size; in DumpBssEntries()
1686 DCHECK_EQ(bss_offset, entry.bss_offset); in DumpBssEntries()
1687 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(index) << "\n"; in DumpBssEntries()
1754 << mapping->At(i).bss_offset << "\n"; in DumpBssOffsets()