Lines Matching refs:rel_offset
460 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) { in GetInstructionSize() argument
583 if (rel_offset) in GetInstructionSize()
584 *rel_offset = 2; in GetInstructionSize()
631 if (rel_offset) in GetInstructionSize()
632 *rel_offset = 3; in GetInstructionSize()
727 size_t rel_offset = 0; in CopyInstructions() local
728 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset); in CopyInstructions()
733 if (rel_offset) { in CopyInstructions()
738 s64 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta; in CopyInstructions()
744 s32 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta; in CopyInstructions()
746 *(s32 *)(to + cursor + rel_offset) = relocated_offset; in CopyInstructions()