Searched refs:aligned_offset (Results 1 – 6 of 6) sorted by relevance
/art/compiler/linker/arm/ |
D | relative_patcher_arm_base.cc | 37 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in ReserveSpaceEnd() local 38 bool needs_thunk = ReserveSpaceProcessPatches(aligned_offset, MethodReference(nullptr, 0u), in ReserveSpaceEnd() 39 aligned_offset); in ReserveSpaceEnd() 41 thunk_locations_.push_back(aligned_offset); in ReserveSpaceEnd() 42 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); in ReserveSpaceEnd() 51 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); in WriteThunks() local 52 if (UNLIKELY(aligned_offset == thunk_locations_[current_thunk_to_write_])) { in WriteThunks() 54 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks() 61 uint32_t thunk_end_offset = aligned_offset + thunk_code_.size(); in WriteThunks()
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 89 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link() local 90 uint32_t aligned_code_delta = aligned_offset - offset; in Link() 119 uint32_t aligned_offset = compiled_method->AlignCode(offset); in Link() local 120 uint32_t aligned_code_delta = aligned_offset - offset; in Link()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 109 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, kArm64); in WriteThunks() local 116 CHECK_EQ(entry.second, aligned_offset + i * kAdrpThunkSize); in WriteThunks() 119 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks() 126 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
|
/art/runtime/ |
D | dex_file_verifier.cc | 504 bool DexFileVerifier::CheckPadding(size_t offset, uint32_t aligned_offset) { in CheckPadding() argument 505 if (offset < aligned_offset) { in CheckPadding() 506 if (!CheckListSize(begin_ + offset, aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding() 509 while (offset < aligned_offset) { in CheckPadding() 1143 size_t aligned_offset = (offset + alignment_mask) & ~alignment_mask; in CheckIntraSectionIterate() local 1146 if (!CheckPadding(offset, aligned_offset)) { in CheckIntraSectionIterate() 1260 offset_to_type_map_.Put(aligned_offset, type); in CheckIntraSectionIterate() 1263 aligned_offset = ptr_ - begin_; in CheckIntraSectionIterate() 1264 if (UNLIKELY(aligned_offset > size_)) { in CheckIntraSectionIterate() 1269 offset = aligned_offset; in CheckIntraSectionIterate()
|
D | dex_file_verifier.h | 63 bool CheckPadding(size_t offset, uint32_t aligned_offset);
|
/art/compiler/ |
D | oat_writer.cc | 706 uint32_t aligned_offset = compiled_method->AlignCode(offset_); in VisitMethod() local 707 uint32_t aligned_code_delta = aligned_offset - offset_; in VisitMethod() 1332 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \ in WriteCode() 1333 uint32_t alignment_padding = aligned_offset - relative_offset; \ in WriteCode()
|