Home
last modified time | relevance | path

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

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc38 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in ReserveSpaceEnd() local
39 bool needs_thunk = ReserveSpaceProcessPatches(aligned_offset, in ReserveSpaceEnd()
41 aligned_offset); in ReserveSpaceEnd()
45 DCHECK_LE(aligned_offset - unprocessed_patches_.front().second, max_positive_displacement_); in ReserveSpaceEnd()
48 thunk_locations_.push_back(aligned_offset); in ReserveSpaceEnd()
49 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); in ReserveSpaceEnd()
58 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks() local
59 if (UNLIKELY(aligned_offset == thunk_locations_[current_thunk_to_write_])) { in WriteThunks()
61 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
68 uint32_t thunk_end_offset = aligned_offset + thunk_code_.size(); in WriteThunks()
/art/compiler/linker/
Drelative_patcher_test.h109 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link() local
110 uint32_t aligned_code_delta = aligned_offset - offset; in Link()
139 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link() local
140 uint32_t aligned_code_delta = aligned_offset - offset; in Link()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc119 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks() local
126 CHECK_EQ(entry.second, aligned_offset + i * kAdrpThunkSize); in WriteThunks()
129 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
136 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
/art/runtime/
Ddex_file_verifier.cc581 bool DexFileVerifier::CheckPadding(size_t offset, uint32_t aligned_offset) { in CheckPadding() argument
582 if (offset < aligned_offset) { in CheckPadding()
583 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding()
586 while (offset < aligned_offset) { in CheckPadding()
1346 size_t aligned_offset = (offset + alignment_mask) & ~alignment_mask; in CheckIntraSectionIterate() local
1349 if (!CheckPadding(offset, aligned_offset)) { in CheckIntraSectionIterate()
1463 if (aligned_offset == 0u) { in CheckIntraSectionIterate()
1467 DCHECK(offset_to_type_map_.Find(aligned_offset) == offset_to_type_map_.end()); in CheckIntraSectionIterate()
1468 offset_to_type_map_.Insert(std::pair<uint32_t, uint16_t>(aligned_offset, type)); in CheckIntraSectionIterate()
1471 aligned_offset = ptr_ - begin_; in CheckIntraSectionIterate()
[all …]
Ddex_file_verifier.h82 bool CheckPadding(size_t offset, uint32_t aligned_offset);
/art/compiler/
Doat_writer.cc1013 uint32_t aligned_offset = compiled_method->AlignCode(offset_); in VisitMethod() local
1014 uint32_t aligned_code_delta = aligned_offset - offset_; in VisitMethod()
1715 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode()
1716 uint32_t alignment_padding = aligned_offset - relative_offset; \ in WriteCode()