Searched refs:aligned_offset (Results 1 – 4 of 4) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.cc | 208 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/ |
D | relative_patcher_arm64.cc | 171 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks() local 178 CHECK_EQ(entry.second, aligned_offset + i * kAdrpThunkSize); in WriteThunks() 181 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks() 188 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 293 bool CheckPadding(uint32_t aligned_offset, DexFile::MapItemType type); 998 bool DexFileVerifier::CheckPadding(uint32_t aligned_offset, in CheckPadding() argument 1001 if (offset < aligned_offset) { in CheckPadding() 1002 if (!CheckListSize(OffsetToPtr(offset), aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding() 1006 ptr_ += aligned_offset - offset; in CheckPadding() 1009 while (offset < aligned_offset) { in CheckPadding() 2154 size_t aligned_offset = (PtrToOffset(ptr_) + alignment_mask) & ~alignment_mask; in CheckIntraSectionIterate() local 2157 if (!CheckPadding(aligned_offset, kType)) { in CheckIntraSectionIterate() 2292 if (aligned_offset == 0u) { in CheckIntraSectionIterate() 2296 DCHECK(offset_to_type_map_.find(aligned_offset) == offset_to_type_map_.end()); in CheckIntraSectionIterate() [all …]
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 3129 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset + 4, instruction_set); \ in WriteCode() 3130 uint32_t alignment_padding = aligned_offset - relative_offset; \ in WriteCode()
|