Home
last modified time | relevance | path

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

/bionic/tests/
Dunistd_test.cpp35 return sbrk(0); in get_brk()
90 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); in TEST()
96 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN)); in TEST()
101 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN + 1)); in TEST()
118 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MIN)); in TEST()
128 cur_brk = reinterpret_cast<uintptr_t>(sbrk(overflow_brk)); in TEST()
131 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MAX)); in TEST()
220 uintptr_t p = reinterpret_cast<uintptr_t>(sbrk(0)); in TEST()
/bionic/libc/bionic/
Dbrk.cpp47 void* sbrk(ptrdiff_t increment) { in sbrk() function
/bionic/libc/include/
Dunistd.h166 extern void *sbrk(ptrdiff_t);
/bionic/libc/upstream-dlmalloc/
Dmalloc.c666 #define MORECORE_DEFAULT sbrk
1489 extern void* sbrk(ptrdiff_t);