/picolibc-latest/newlib/libc/stdlib/ |
D | nano-memalign.c | 45 memalign(size_t align, size_t s) in memalign() argument 52 if ((align & (align-1)) != 0) in memalign() 58 align = MAX(align, MALLOC_MINSIZE); in memalign() 60 if (s > MALLOC_MAXSIZE - align) in memalign() 71 size_with_padding = s + align + MALLOC_MINSIZE; in memalign() 78 aligned_p = __align_up(allocated, align); in memalign() 86 aligned_p += align; in memalign() 87 offset += align; in memalign()
|
D | nano-posix-memalign.c | 32 posix_memalign(void **memptr, size_t align, size_t size) in posix_memalign() argument 35 if ((align & (align-1)) != 0 || align % sizeof(void*) != 0 || align == 0) in posix_memalign() 38 void *mem = memalign(align, size); in posix_memalign()
|
D | aligned_alloc.c | 34 aligned_alloc (size_t align, size_t size) in aligned_alloc() argument 36 return memalign (align, size); in aligned_alloc()
|
/picolibc-latest/newlib/libc/machine/spu/ |
D | posix_memalign_ea.c | 43 unsigned long long align; member 52 posix_memalign_ea (__ea void **memptr, size_ea_t align, size_ea_t size) in posix_memalign_ea() argument 64 arg.align = (unsigned long long) align; in posix_memalign_ea()
|
D | spu_timer_flih.S | 60 .align 3 146 .align 4
|
D | setjmp.S | 39 .align 2 109 .align 2
|
/picolibc-latest/newlib/libc/machine/xstormy16/ |
D | tiny-malloc.c | 90 #define M_ALIGN(x, align) (-(size_t)(x) & ((align) - 1)) argument 94 #define M_ALIGN_SUB(x, align) ((size_t)(x) & ((align) - 1)) argument 342 memalign (size_t align, size_t sz) in memalign() argument 352 if ((align & (align - 1)) != 0 in memalign() 353 || align <= 0) in memalign() 378 align); in memalign() 387 align); in memalign() 403 before_size = M_ALIGN (&block->next, align); in memalign() 405 before_size = sizeof (*block) + M_ALIGN (&(block+1)->next, align); in memalign() 416 moresize += M_ALIGN_SUB ((size_t)&block->next - moresize, align); in memalign()
|
/picolibc-latest/newlib/libc/machine/arc/ |
D | strcmp-archs.S | 52 .align 4 78 .align 4 97 .align 4 105 .align 4
|
/picolibc-latest/newlib/libc/machine/sparc/ |
D | setjmp.S | 82 .align 4; .globl SYM(x); .proc 1; SYM(x):; .data; .align 4; 1: .long 0; \ 87 .align 4; .globl SYM(x); .proc 1; SYM(x):
|
/picolibc-latest/semihost/machine/powerpc/ |
D | opal_call.S | 40 .align 2 49 .align 3
|
/picolibc-latest/newlib/libc/picolib/machine/arm/ |
D | read_tp.S | 45 .align 4 97 .align 4
|
/picolibc-latest/newlib/libc/machine/crx/ |
D | setjmp.S | 30 .align 4 33 .align 4 53 .align 4
|
/picolibc-latest/newlib/libc/machine/i960/ |
D | setjmp.S | 42 .align 4 68 .align 4
|
/picolibc-latest/newlib/libc/machine/xtensa/ |
D | memset.S | 49 .align XCHAL_INST_FETCH_WIDTH 76 .align 4 111 .align 4
|
D | setjmp.S | 69 .align 4 135 .align 4 229 .align 4 244 .align 4
|
D | memcpy.S | 60 .align XCHAL_INST_FETCH_WIDTH 94 .align 4 134 .align 4 217 .align 4 254 .align 4
|
D | strlen.S | 30 .align 4 67 .align 4
|
D | strncpy.S | 30 .align 4 67 .align 4 156 .align 4 231 .align 4
|
/picolibc-latest/newlib/libc/machine/arm/ |
D | memcpy-armv7m.S | 88 .align 2 120 .align 2 142 .align 2 164 .align 2 200 .align 2
|
/picolibc-latest/newlib/libc/machine/nds32/ |
D | strcmp.S | 47 .align 2 69 .align 2
|
/picolibc-latest/newlib/libc/machine/m68k/ |
D | memcpy.S | 27 .align 4 66 lsr.l #1,d0 | word align needed? 70 lsr.l #1,d0 | long align needed?
|
D | memset.S | 21 .align 4 66 lsr.l #1,d2 | word align needed? 70 lsr.l #1,d2 | long align needed?
|
/picolibc-latest/newlib/libc/machine/tic80/ |
D | setjmp.S | 39 .align 4 53 .align 4
|
/picolibc-latest/newlib/libc/machine/lm32/ |
D | setjmp.S | 30 .align 4 71 .align 4
|
/picolibc-latest/test/ |
D | malloc_stress.c | 288 size_t align = 1 << (3 + randint(7)); in main() local 290 uint8_t *new_block = memalign(align, size); in main() 295 if ((uintptr_t) blocks[i] & (align - 1)) { in main() 297 blocks[i], align, size); in main()
|