Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbrk.cpp59 uintptr_t old_brk = reinterpret_cast<uintptr_t>(__bionic_brk); in sbrk() local
60 if ((increment > 0 && static_cast<uintptr_t>(increment) > (UINTPTR_MAX - old_brk)) || in sbrk()
61 (increment < 0 && static_cast<uintptr_t>(-increment) > old_brk)) { in sbrk()
66 void* desired_brk = reinterpret_cast<void*>(old_brk + increment); in sbrk()
73 return reinterpret_cast<void*>(old_brk); in sbrk()