Lines Matching defs:rel_offset
460 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
589 if (rel_offset)
590 *rel_offset = 2;
640 if (rel_offset)
641 *rel_offset = 3;
736 size_t rel_offset = 0;
737 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset);
742 if (rel_offset) {
747 s64 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta;
753 s32 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta;
755 *(s32 *)(to + cursor + rel_offset) = relocated_offset;