Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbrk.cpp33 static void* __bionic_brk; variable
35 void* __bionic_brk; // Accidentally exported by the NDK. variable
41 __bionic_brk = __brk(end_data); in brk()
42 if (__bionic_brk < end_data) { in brk()
51 if (__bionic_brk == nullptr) { in sbrk()
52 __bionic_brk = __brk(nullptr); in sbrk()
57 return __bionic_brk; in sbrk()
61 uintptr_t old_brk = reinterpret_cast<uintptr_t>(__bionic_brk); in sbrk()
69 __bionic_brk = __brk(desired_brk); in sbrk()
70 if (__bionic_brk < desired_brk) { in sbrk()
/bionic/tests/
Dunistd_test.cpp107 extern void* __bionic_brk; in TEST()
111 ScopedBrk() : saved_brk_(__bionic_brk) {} in TEST()
112 virtual ~ScopedBrk() { __bionic_brk = saved_brk_; } in TEST()
121 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) + 2); in TEST()
128 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX)); in TEST()
133 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) - 1); in TEST()
/bionic/tools/versioner/platforms/
Dlibc.map.txt1634 __bionic_brk; # arm x86
/bionic/libc/
Dlibc.map.txt1634 __bionic_brk; # arm x86