Lines Matching defs:rel_offset
558 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
559 if (rel_offset) {
560 *rel_offset = 0;
744 if (rel_offset)
745 *rel_offset = 2;
887 if (rel_offset)
888 *rel_offset = 3;
987 size_t TestOnlyGetInstructionSize(uptr address, size_t *rel_offset) {
988 return GetInstructionSize(address, rel_offset);
1006 size_t rel_offset = 0;
1007 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset);
1012 if (rel_offset) {
1017 s64 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta;
1029 s32 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta;
1031 *(s32 *)(to + cursor + rel_offset) = relocated_offset;