/external/valgrind/none/tests/linux/ |
brk-overflow1.c | 9 ptr = sbrk(9*1024*1024);
|
brk-overflow2.c | 11 ptr = sbrk(1024*1024);
|
/external/valgrind/massif/tests/ |
pages_as_heap.c | 17 inc_dec, delta, sbrk(0)); 19 brk_stat = (intptr_t)brk(sbrk(0) + inc_dec * delta); 21 printf("brk value at failure: %p\n", sbrk(0)); 27 inc_dec, delta, sbrk(0));
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/xc16x/ |
syscontrol1.s | 5 sbrk
|
/external/valgrind/memcheck/tests/ |
brk2.c | 14 ptr = sbrk(1); 17 printf ("sbrk() failed!\n");
|
dw4.c | 86 void *addr = sbrk(0); 88 sbrk(4 * 1024); // increase brk segment 92 sbrk(-3*1024);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
xmalloc.c | 89 void *sbrk (ptrdiff_t); 100 /* The initial sbrk, set when the program name is set. Not used for win32 112 first_break = (char *) sbrk (0); 124 allocated = (char *) sbrk (0) - first_break; 126 allocated = (char *) sbrk (0) - (char *) &environ;
|
/bionic/libc/bionic/ |
brk.cpp | 47 void* sbrk(ptrdiff_t increment) { function
|
/external/valgrind/memcheck/tests/linux/ |
brk.c | 12 void* orig_ds = sbrk(0);
|
/external/autotest/client/tests/memory_api/ |
memory_api.c | 50 mem = sbrk(memsize); 53 perror("Failed to allocate memory using sbrk\n"); 57 printf("Successfully allocated sbrk memory %d bytes @%p\n", 62 sbrk(-(memsize));
|
/external/e2fsprogs/e2fsck/ |
scantest.c | 56 track->brk_start = sbrk(0); 79 (int) (((char *) sbrk(0)) - ((char *) track->brk_start)),
|
/external/e2fsprogs/resize/ |
resource_track.c | 29 track->brk_start = sbrk(0); 87 (unsigned long) (((char *) sbrk(0)) -
|
/toolchain/binutils/binutils-2.25/binutils/ |
sysdep.h | 92 extern char *sbrk ();
|
/external/jemalloc/src/ |
chunk_dss.c | 17 * Protects sbrk() calls. This avoids malloc races among threads, though it 18 * does not protect against races with threads that call sbrk() directly. 36 return (sbrk(increment)); 77 * sbrk() uses a signed increment argument, so take care not to
|
/external/libchrome/base/ |
security_unittest.cc | 151 void* brk_heap_address = sbrk(0);
|
/bionic/tests/ |
unistd_test.cpp | 49 return sbrk(0); 104 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); 110 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN)); 115 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MIN + 1)); 132 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MIN)); 142 cur_brk = reinterpret_cast<uintptr_t>(sbrk(overflow_brk)); 145 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(SBRK_MAX)); 241 uintptr_t p = reinterpret_cast<uintptr_t>(sbrk(0));
|
/development/ndk/platforms/android-12/include/ |
unistd.h | 162 extern void *sbrk(ptrdiff_t);
|
/development/ndk/platforms/android-21/include/ |
unistd.h | 161 extern void *sbrk(ptrdiff_t);
|
/development/ndk/platforms/android-3/include/ |
unistd.h | 151 extern void *sbrk(ptrdiff_t);
|
/development/ndk/platforms/android-8/include/ |
unistd.h | 155 extern void *sbrk(ptrdiff_t);
|
/development/ndk/platforms/android-9/include/ |
unistd.h | 159 extern void *sbrk(ptrdiff_t);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/ |
unistd.h | 162 extern void *sbrk(ptrdiff_t);
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/ |
unistd.h | 162 extern void *sbrk(ptrdiff_t);
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/ |
unistd.h | 162 extern void *sbrk(ptrdiff_t);
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/ |
unistd.h | 162 extern void *sbrk(ptrdiff_t);
|