Searched refs:bss_offset (Results 1 – 8 of 8) sorted by relevance
/art/dex2oat/linker/ |
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()
|
D | oat_writer.cc | 2104 uint32_t bss_offset = get_bss_offset(index); in CalculateNumberOfIndexBssMappingEntries() local 2105 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries() 2106 encoder.Reset(index, bss_offset); in CalculateNumberOfIndexBssMappingEntries() 2895 size_t bss_offset = get_bss_offset(index); in WriteIndexBssMapping() local 2898 encoder.Reset(index, bss_offset); in WriteIndexBssMapping() 2899 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping() 2902 encoder.Reset(index, bss_offset); in WriteIndexBssMapping()
|
/art/runtime/entrypoints/quick/ |
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() 88 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetTypeBssMapping(), in StoreTypeInBss() local 92 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss() 93 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss() 106 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() local 110 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss() 111 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
|
/art/runtime/ |
D | index_bss_mapping.cc | 31 return bss_offset; in GetBssOffset() 41 return bss_offset - POPCOUNT(mask_from_index) * slot_size; in GetBssOffset()
|
D | index_bss_mapping.h | 65 uint32_t bss_offset; member
|
D | oat_file.cc | 2202 CHECK_ALIGNED_PARAM(entry.bss_offset, slot_size); in DCheckIndexToBssMapping() 2203 CHECK_LT(entry.bss_offset, oat_file->BssSize()); in DCheckIndexToBssMapping() 2205 CHECK_LE(POPCOUNT(mask) * slot_size, entry.bss_offset); in DCheckIndexToBssMapping()
|
/art/runtime/entrypoints/ |
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()
|
/art/oatdump/ |
D | oatdump.cc | 1766 size_t bss_offset = entry.bss_offset - POPCOUNT(mask) * slot_size; in DumpBssEntries() local 1769 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(current_index) << "\n"; in DumpBssEntries() 1770 bss_offset += slot_size; in DumpBssEntries() 1772 DCHECK_EQ(bss_offset, entry.bss_offset); in DumpBssEntries() 1773 os << " 0x" << bss_offset << ": " << slot_type << ": " << name(index) << "\n"; in DumpBssEntries()
|