Lines Matching refs:offset
100 uint32_t Arm64RelativePatcher::ReserveSpace(uint32_t offset, in ReserveSpace() argument
105 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
111 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
127 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
129 return offset; in ReserveSpace()
134 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
146 return offset; in ReserveSpace()
149 uint32_t Arm64RelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd() argument
156 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
161 return ArmBaseRelativePatcher::ReserveSpaceEnd(offset); in ReserveSpaceEnd()
164 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks() argument
167 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
177 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
184 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
188 return ArmBaseRelativePatcher::WriteThunks(out, offset); in WriteThunks()
426 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn() argument
427 DCHECK_LE(offset + 4u, code->size()); in SetInsn()
428 DCHECK_ALIGNED(offset, 4u); in SetInsn()
429 uint8_t* addr = &(*code)[offset]; in SetInsn()
436 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn() argument
437 DCHECK_LE(offset + 4u, code.size()); in GetInsn()
438 DCHECK_ALIGNED(offset, 4u); in GetInsn()
439 const uint8_t* addr = &code[offset]; in GetInsn()
448 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn() argument
449 return GetInsn(ArrayRef<const uint8_t>(*code), offset); in GetInsn()