Searched refs:memptr (Results 1 – 4 of 4) 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/ |
D | malloc_common.cpp | 146 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign() argument 150 result = dispatch_table->posix_memalign(memptr, alignment, size); in posix_memalign() 152 result = Malloc(posix_memalign)(memptr, alignment, size); in posix_memalign() 155 *memptr = MaybeTagPointer(*memptr); in posix_memalign()
|
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()
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 97 int debug_posix_memalign(void** memptr, size_t alignment, size_t size); 875 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign() argument 877 return g_dispatch->posix_memalign(memptr, alignment, size); in debug_posix_memalign() 884 *memptr = debug_memalign(alignment, size); in debug_posix_memalign() 886 return (*memptr != nullptr) ? 0 : ENOMEM; in debug_posix_memalign()
|