Searched refs:old_base (Results 1 – 1 of 1) sorted by relevance
26 static void *adjust_pointer(const void *p, void *old_base, size_t sz, void *new_base) { in adjust_pointer() argument31 if (old_base == new_base) in adjust_pointer()34 if ((uint8_t*) p < (uint8_t*) old_base) in adjust_pointer()37 if ((uint8_t*) p >= (uint8_t*) old_base + sz) in adjust_pointer()40 return (uint8_t*) new_base + ((uint8_t*) p - (uint8_t*) old_base); in adjust_pointer()