Searched refs:sbrk (Results 1 – 3 of 3) sorted by relevance
34 #define MORECORE sbrk53 void* sbrk(ptrdiff_t increment) { in sbrk() function
672 #define MORECORE_DEFAULT sbrk1493 extern void* sbrk(ptrdiff_t);
490 TEST_F(libc, sbrk) { in TEST_F() argument493 void* orig_brk = sbrk(brk_test_size); in TEST_F()495 void* test_brk = sbrk(0); in TEST_F()496 ASSERT_EQ(sbrk(-brk_test_size), test_brk); in TEST_F()497 ASSERT_EQ(orig_brk, sbrk(0)); in TEST_F()500 ASSERT_EQ(sbrk(10 * 4096), (void*)-1); in TEST_F()