Searched refs:memptr (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 69 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size); 198 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size) { in hooks_posix_memalign() argument 203 *memptr = __memalign_hook(alignment, size, __builtin_return_address(0)); in hooks_posix_memalign() 204 if (*memptr == nullptr) { in hooks_posix_memalign() 209 return g_dispatch->posix_memalign(memptr, alignment, size); in hooks_posix_memalign()
|
/bionic/libc/bionic/scudo/ |
D | scudo.cpp | 129 int scudo_posix_memalign(void** memptr, size_t alignment, size_t size) { argument 136 return posix_memalign(memptr, alignment, size);
|
/bionic/libc/bionic/ |
D | malloc_limit.cpp | 51 static int LimitPosixMemalign(void** memptr, size_t alignment, size_t size); 162 static int LimitPosixMemalign(void** memptr, size_t alignment, size_t size) { in LimitPosixMemalign() argument 171 retval = dispatch_table->posix_memalign(memptr, alignment, size); in LimitPosixMemalign() 173 retval = Malloc(posix_memalign)(memptr, alignment, size); in LimitPosixMemalign() 178 IncrementLimit(*memptr); in LimitPosixMemalign()
|
D | malloc_common.cpp | 138 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign() argument 141 return dispatch_table->posix_memalign(memptr, alignment, size); in posix_memalign() 143 return Malloc(posix_memalign)(memptr, alignment, size); in posix_memalign()
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 93 int debug_posix_memalign(void** memptr, size_t alignment, size_t size); 816 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign() argument 818 return g_dispatch->posix_memalign(memptr, alignment, size); in debug_posix_memalign() 825 *memptr = debug_memalign(alignment, size); in debug_posix_memalign() 827 return (*memptr != nullptr) ? 0 : ENOMEM; in debug_posix_memalign()
|