Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 113) sorted by relevance

12345

/picolibc-latest/newlib/libc/stdlib/
Dnano-memalign.c45 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()
Dnano-posix-memalign.c32 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()
Daligned_alloc.c34 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/
Dposix_memalign_ea.c43 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()
Dspu_timer_flih.S60 .align 3
146 .align 4
Dsetjmp.S39 .align 2
109 .align 2
/picolibc-latest/newlib/libc/machine/xstormy16/
Dtiny-malloc.c90 #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/
Dstrcmp-archs.S52 .align 4
78 .align 4
97 .align 4
105 .align 4
/picolibc-latest/newlib/libc/machine/sparc/
Dsetjmp.S82 .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/
Dopal_call.S40 .align 2
49 .align 3
/picolibc-latest/newlib/libc/picolib/machine/arm/
Dread_tp.S45 .align 4
97 .align 4
/picolibc-latest/newlib/libc/machine/crx/
Dsetjmp.S30 .align 4
33 .align 4
53 .align 4
/picolibc-latest/newlib/libc/machine/i960/
Dsetjmp.S42 .align 4
68 .align 4
/picolibc-latest/newlib/libc/machine/xtensa/
Dmemset.S49 .align XCHAL_INST_FETCH_WIDTH
76 .align 4
111 .align 4
Dsetjmp.S69 .align 4
135 .align 4
229 .align 4
244 .align 4
Dmemcpy.S60 .align XCHAL_INST_FETCH_WIDTH
94 .align 4
134 .align 4
217 .align 4
254 .align 4
Dstrlen.S30 .align 4
67 .align 4
Dstrncpy.S30 .align 4
67 .align 4
156 .align 4
231 .align 4
/picolibc-latest/newlib/libc/machine/arm/
Dmemcpy-armv7m.S88 .align 2
120 .align 2
142 .align 2
164 .align 2
200 .align 2
/picolibc-latest/newlib/libc/machine/nds32/
Dstrcmp.S47 .align 2
69 .align 2
/picolibc-latest/newlib/libc/machine/m68k/
Dmemcpy.S27 .align 4
66 lsr.l #1,d0 | word align needed?
70 lsr.l #1,d0 | long align needed?
Dmemset.S21 .align 4
66 lsr.l #1,d2 | word align needed?
70 lsr.l #1,d2 | long align needed?
/picolibc-latest/newlib/libc/machine/tic80/
Dsetjmp.S39 .align 4
53 .align 4
/picolibc-latest/newlib/libc/machine/lm32/
Dsetjmp.S30 .align 4
71 .align 4
/picolibc-latest/test/
Dmalloc_stress.c288 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()

12345