Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbrk.cpp61 uintptr_t old_brk = reinterpret_cast<uintptr_t>(__bionic_brk); in sbrk() local
62 if ((increment > 0 && static_cast<uintptr_t>(increment) > (UINTPTR_MAX - old_brk)) || in sbrk()
63 (increment < 0 && static_cast<uintptr_t>(-increment) > old_brk)) { in sbrk()
68 void* desired_brk = reinterpret_cast<void*>(old_brk + increment); in sbrk()
75 return reinterpret_cast<void*>(old_brk); in sbrk()