Lines Matching refs:rel_offset
402 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
499 if (rel_offset)
500 *rel_offset = 2;
545 if (rel_offset)
546 *rel_offset = 3;
630 size_t rel_offset = 0;
631 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset);
634 if (rel_offset) {
636 uptr relocated_offset = *(u32*)(to + cursor + rel_offset) - delta;
641 *(u32*)(to + cursor + rel_offset) = relocated_offset;