Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbrk.cpp47 void* sbrk(ptrdiff_t increment) { in sbrk() function
/bionic/tests/
Dunistd_test.cpp34 return sbrk(0); in get_brk()
89 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); in TEST()
95 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN)); in TEST()
100 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN + 1)); in TEST()
117 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MIN)); in TEST()
127 cur_brk = reinterpret_cast<uintptr_t>(sbrk(overflow_brk)); in TEST()
130 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MAX)); in TEST()
226 uintptr_t p = reinterpret_cast<uintptr_t>(sbrk(0)); in TEST()
/bionic/libc/include/
Dunistd.h191 extern void *sbrk(ptrdiff_t);
/bionic/libc/
Dlibc.map987 sbrk;
/bionic/libc/upstream-dlmalloc/
Dmalloc.c666 #define MORECORE_DEFAULT sbrk
1489 extern void* sbrk(ptrdiff_t);