Home
last modified time | relevance | path

Searched refs:aligned_offset (Results 1 – 5 of 5) sorted by relevance

/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc208 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks() local
210 pending_thunks_.front()->GetPendingOffset() == aligned_offset) { in WriteThunks()
212 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
219 offset = aligned_offset + pending_thunks_.front()->CodeSize(); in WriteThunks()
228 aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks()
230 DCHECK(pending_thunks_.empty() || pending_thunks_.front()->GetPendingOffset() > aligned_offset); in WriteThunks()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc166 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks() local
173 CHECK_EQ(entry.second, aligned_offset + i * kAdrpThunkSize); in WriteThunks()
176 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
183 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
/art/libdexfile/dex/
Ddex_file_verifier.cc705 uint32_t aligned_offset, in CheckPadding() argument
707 if (offset < aligned_offset) { in CheckPadding()
708 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding()
711 while (offset < aligned_offset) { in CheckPadding()
1754 size_t aligned_offset = (offset + alignment_mask) & ~alignment_mask; in CheckIntraSectionIterate() local
1757 if (!CheckPadding(offset, aligned_offset, kType)) { in CheckIntraSectionIterate()
1897 if (aligned_offset == 0u) { in CheckIntraSectionIterate()
1901 DCHECK(offset_to_type_map_.find(aligned_offset) == offset_to_type_map_.end()); in CheckIntraSectionIterate()
1902 offset_to_type_map_.insert(std::pair<uint32_t, uint16_t>(aligned_offset, kType)); in CheckIntraSectionIterate()
1905 aligned_offset = ptr_ - begin_; in CheckIntraSectionIterate()
[all …]
Ddex_file_verifier.h100 bool CheckPadding(size_t offset, uint32_t aligned_offset, DexFile::MapItemType type);
/art/dex2oat/linker/
Doat_writer.cc3073 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()
3074 uint32_t alignment_padding = aligned_offset - relative_offset; \ in WriteCode()