Home
last modified time | relevance | path

Searched refs:old_base (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-message.c26 static void *adjust_pointer(const void *p, void *old_base, size_t sz, void *new_base) { in adjust_pointer() argument
31 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()