Searched refs:ALIGNMENT (Results 1 – 25 of 45) sorted by relevance
12
| /openbsd-src/sbin/unwind/libunbound/util/ |
| H A D | regional.c | 47 #ifdef ALIGNMENT 48 # undef ALIGNMENT 53 #define ALIGNMENT (sizeof(uint64_t)) macro 75 size_t a = ALIGN_UP(sizeof(struct regional), ALIGNMENT); in regional_init() 93 size = ALIGN_UP(size, ALIGNMENT); in regional_create_custom_large_object() 158 a = ALIGN_UP(size, ALIGNMENT); in regional_alloc() 161 s = malloc(ALIGNMENT + size); in regional_alloc() 163 r->total_large += ALIGNMENT+size; in regional_alloc() 166 return (char*)s+ALIGNMENT; in regional_alloc() 174 r->data = (char*)s + ALIGNMENT; in regional_alloc() [all …]
|
| /openbsd-src/usr.sbin/unbound/util/ |
| H A D | regional.c | 47 #ifdef ALIGNMENT 48 # undef ALIGNMENT 53 #define ALIGNMENT (sizeof(uint64_t)) macro 75 size_t a = ALIGN_UP(sizeof(struct regional), ALIGNMENT); in regional_init() 93 size = ALIGN_UP(size, ALIGNMENT); in regional_create_custom_large_object() 158 a = ALIGN_UP(size, ALIGNMENT); in regional_alloc() 161 s = malloc(ALIGNMENT + size); in regional_alloc() 163 r->total_large += ALIGNMENT+size; in regional_alloc() 166 return (char*)s+ALIGNMENT; in regional_alloc() 174 r->data = (char*)s + ALIGNMENT; in regional_alloc() [all …]
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | region-allocator.c | 23 #ifdef ALIGNMENT 24 #undef ALIGNMENT 29 #define ALIGNMENT (sizeof(off_t)) macro 31 #define ALIGNMENT (sizeof(void *)) macro 35 #define ALIGNMENT 1 macro 260 aligned_size = REGION_ALIGN_UP(size, ALIGNMENT); in region_alloc() 292 wasted = (region->chunk_size - region->allocated) & (~(ALIGNMENT-1)); in region_alloc() 295 wasted >= ALIGNMENT in region_alloc() 442 aligned_size = REGION_ALIGN_UP(size, ALIGNMENT); in region_recycle() 504 if(i%ALIGNMENT == 0 && i!=0) in region_dump_stats() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/ld/scripttempl/ |
| H A D | aout.sc | 3 test -z "${ALIGNMENT}" && ALIGNMENT="4" 52 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | xstormy16.sc | 57 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 145 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 148 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | elfxtensa.sc | 68 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 293 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 343 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 346 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | elf_chaos.sc | 71 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 299 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 302 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/ld/scripttempl/ |
| H A D | aout.sc | 3 test -z "${ALIGNMENT}" && ALIGNMENT="4" 52 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | xstormy16.sc | 56 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 144 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 147 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | elf_chaos.sc | 70 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 298 ${RELOCATING+. = ALIGN(${ALIGNMENT});} 301 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| /openbsd-src/gnu/gcc/gcc/config/stormy16/ |
| H A D | stormy16.h | 638 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 639 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 640 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 641 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /openbsd-src/gnu/usr.bin/binutils/ld/emulparams/ |
| H A D | sun4.sh | 6 ALIGNMENT=8
|
| H A D | elf32xstormy16.sh | 8 ALIGNMENT=2
|
| H A D | elf32_sparc.sh | 7 ALIGNMENT=8
|
| H A D | crislinux.sh | 11 ALIGNMENT=32
|
| H A D | shlelf32_linux.sh | 10 ALIGNMENT=8
|
| H A D | criself.sh | 12 ALIGNMENT=32
|
| H A D | shelf32.sh | 9 ALIGNMENT=8
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/ld/emulparams/ |
| H A D | sun4.sh | 6 ALIGNMENT=8
|
| H A D | elf32xstormy16.sh | 8 ALIGNMENT=2
|
| H A D | elf32_sparc.sh | 7 ALIGNMENT=8
|
| H A D | crislinux.sh | 11 ALIGNMENT=32
|
| H A D | shlelf32_linux.sh | 11 ALIGNMENT=8
|
| H A D | shelf32.sh | 9 ALIGNMENT=8
|
| H A D | criself.sh | 12 ALIGNMENT=32
|
12