• Home
  • Raw
  • Download

Lines Matching refs:offset

99 uint32_t Arm64RelativePatcher::ReserveSpace(uint32_t offset,  in ReserveSpace()  argument
104 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
110 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpace()
126 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
128 return offset; in ReserveSpace()
133 uint32_t quick_code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpace()
145 return offset; in ReserveSpace()
148 uint32_t Arm64RelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd() argument
155 offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64) + in ReserveSpaceEnd()
160 return ArmBaseRelativePatcher::ReserveSpaceEnd(offset); in ReserveSpaceEnd()
163 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks() argument
166 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, InstructionSet::kArm64); in WriteThunks()
176 uint32_t aligned_code_delta = aligned_offset - offset; in WriteThunks()
183 offset = aligned_offset + current_method_thunks_.size(); in WriteThunks()
187 return ArmBaseRelativePatcher::WriteThunks(out, offset); in WriteThunks()
410 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn() argument
411 DCHECK_LE(offset + 4u, code->size()); in SetInsn()
412 DCHECK_EQ(offset & 3u, 0u); in SetInsn()
413 uint8_t* addr = &(*code)[offset]; in SetInsn()
420 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn() argument
421 DCHECK_LE(offset + 4u, code.size()); in GetInsn()
422 DCHECK_EQ(offset & 3u, 0u); in GetInsn()
423 const uint8_t* addr = &code[offset]; in GetInsn()
432 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn() argument
433 return GetInsn(ArrayRef<const uint8_t>(*code), offset); in GetInsn()