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

/bionic/libc/bionic/
H A Dmalloc_debug_common.h50 #ifndef MALLOC_ALIGNMENT
51 #define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) macro
H A Dmalloc_debug_leak.cpp76 } __attribute__((aligned(MALLOC_ALIGNMENT)));
447 if (alignment <= MALLOC_ALIGNMENT) {
456 // here, alignment is at least MALLOC_ALIGNMENT<<1 bytes
457 // we will align by at least MALLOC_ALIGNMENT bytes
458 // and at most alignment-MALLOC_ALIGNMENT bytes
459 size_t size = (alignment-MALLOC_ALIGNMENT) + bytes;
H A Dmalloc_debug_check.cpp88 } __attribute__((packed, aligned(MALLOC_ALIGNMENT)));
364 if (alignment <= MALLOC_ALIGNMENT) {
373 // here, alignment is at least MALLOC_ALIGNMENT<<1 bytes
374 // we will align by at least MALLOC_ALIGNMENT bytes
375 // and at most alignment-MALLOC_ALIGNMENT bytes
376 size_t size = (alignment-MALLOC_ALIGNMENT) + bytes;
H A Dmalloc_debug_common.cpp437 if (memcheck_initialize(MALLOC_ALIGNMENT, memcheck_tracing)) {
/bionic/libc/upstream-dlmalloc/
H A Dmalloc.c45 However, you can define MALLOC_ALIGNMENT to be wider than this
248 MALLOC_ALIGNMENT default: (size_t)(2 * sizeof(void *))
574 #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
619 #endif /* MALLOC_ALIGNMENT */
1614 /* The bit mask value corresponding to MALLOC_ALIGNMENT */
1615 #define CHUNK_ALIGN_MASK (MALLOC_ALIGNMENT - SIZE_T_ONE)
1623 ((MALLOC_ALIGNMENT
[all...]

Completed in 117 milliseconds