Home
last modified time | relevance | path

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

/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp69 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/
Dmalloc_common.cpp157 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign() argument
161 result = dispatch_table->posix_memalign(memptr, alignment, size); in posix_memalign()
163 result = Malloc(posix_memalign)(memptr, alignment, size); in posix_memalign()
166 *memptr = MaybeTagPointer(*memptr); in posix_memalign()
Dmalloc_limit.cpp51 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()