Home
last modified time | relevance | path

Searched refs:MALLOC_ALIGNMENT (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dmalloc_debug_common.h50 #ifndef MALLOC_ALIGNMENT
51 #define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) macro
Dmalloc_debug_leak.cpp76 } __attribute__((aligned(MALLOC_ALIGNMENT)));
447 if (alignment <= MALLOC_ALIGNMENT) { in leak_memalign()
459 size_t size = (alignment-MALLOC_ALIGNMENT) + bytes; in leak_memalign()
Dmalloc_debug_check.cpp88 } __attribute__((packed, aligned(MALLOC_ALIGNMENT)));
364 if (alignment <= MALLOC_ALIGNMENT) { in chk_memalign()
376 size_t size = (alignment-MALLOC_ALIGNMENT) + bytes; in chk_memalign()
Dmalloc_debug_common.cpp437 if (memcheck_initialize(MALLOC_ALIGNMENT, memcheck_tracing)) { in malloc_init_impl()
/bionic/libc/upstream-dlmalloc/
Dmalloc.c574 #ifndef MALLOC_ALIGNMENT
575 #define MALLOC_ALIGNMENT ((size_t)16U) macro
617 #ifndef MALLOC_ALIGNMENT
618 #define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) macro
1615 #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
1623 ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK))
2686 #define SYS_ALLOC_PADDING (TOP_FOOT_SIZE + MALLOC_ALIGNMENT)
3141 (MALLOC_ALIGNMENT < (size_t)8U) || in init_mparams()
3142 ((MALLOC_ALIGNMENT & (MALLOC_ALIGNMENT-SIZE_T_ONE)) != 0) || in init_mparams()
4919 size_t a = MALLOC_ALIGNMENT << 1; in internal_memalign()
[all …]