Home
last modified time | relevance | path

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

/trusty/user/base/lib/dlmalloc/
Dmalloc.c34 #define MORECORE sbrk
53 void* sbrk(ptrdiff_t increment) { in sbrk() function
Ddlmalloc.c672 #define MORECORE_DEFAULT sbrk
1493 extern void* sbrk(ptrdiff_t);
/trusty/user/base/lib/libc-trusty/test/
Dlibc_test.c490 TEST_F(libc, sbrk) { in TEST_F() argument
493 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()