| /netbsd-src/external/bsd/unbound/dist/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 …]
|
| /netbsd-src/external/bsd/nsd/dist/ |
| 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 …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/scripttempl/ |
| H A D | pdp11.sc | 9 test -z "${ALIGNMENT}" && ALIGNMENT="2" 51 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | aout.sc | 9 test -z "${ALIGNMENT}" && ALIGNMENT="4" 64 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | xstormy16.sc | 61 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 158 . = ALIGN(${ALIGNMENT});} 161 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| /netbsd-src/external/gpl3/binutils/dist/ld/scripttempl/ |
| H A D | pdp11.sc | 9 test -z "${ALIGNMENT}" && ALIGNMENT="2" 51 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | aout.sc | 9 test -z "${ALIGNMENT}" && ALIGNMENT="4" 64 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| H A D | xstormy16.sc | 61 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" 159 . = ALIGN(${ALIGNMENT});} 162 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/stormy16/ |
| H A D | stormy16.h | 364 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 365 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 366 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 367 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/stormy16/ |
| H A D | stormy16.h | 364 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 365 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 366 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 367 xstormy16_asm_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| H A D | memmgr.c | 63 #define ALIGNMENT 4 /* 2^ALIGNMENT == minimal size and alignment */ macro 64 #define ALIGN(x) ((((x) - 1)/(1 << ALIGNMENT) + 1) * (1 << ALIGNMENT)) 203 unsigned idx = ALIGNMENT; in __collector_allocCSize() 273 unsigned idx = ALIGNMENT; in __collector_freeCSize()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| H A D | memmgr.c | 63 #define ALIGNMENT 4 /* 2^ALIGNMENT == minimal size and alignment */ macro 64 #define ALIGN(x) ((((x) - 1)/(1 << ALIGNMENT) + 1) * (1 << ALIGNMENT)) 203 unsigned idx = ALIGNMENT; in __collector_allocCSize() 273 unsigned idx = ALIGNMENT; in __collector_freeCSize()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rl78/ |
| H A D | rl78.h | 437 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 438 rl78_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 440 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 441 rl78_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/rl78/ |
| H A D | rl78.h | 437 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 438 rl78_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 440 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 441 rl78_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/m32c/ |
| H A D | m32c.h | 598 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 599 m32c_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 601 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 602 m32c_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/m32c/ |
| H A D | m32c.h | 597 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 598 m32c_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 1) 600 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGNMENT) \ argument 601 m32c_output_aligned_common (STREAM, DECL, NAME, SIZE, ALIGNMENT, 0)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
| H A D | bsd.h | 70 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNMENT) \ argument 73 fprintf ((FILE), ",%u,%u\n", (int)(SIZE), (int)(ALIGNMENT) / BITS_PER_UNIT))
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| H A D | bsd.h | 70 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNMENT) \ argument 73 fprintf ((FILE), ",%u,%u\n", (int)(SIZE), (int)(ALIGNMENT) / BITS_PER_UNIT))
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/gcn/ |
| H A D | gcn-hsa.h | 40 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGNMENT) \ argument 44 (SIZE) > 0 ? (SIZE) : 1, exact_log2 ((ALIGNMENT) / BITS_PER_UNIT)))
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/gcn/ |
| H A D | gcn-hsa.h | 40 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGNMENT) \ argument 44 (SIZE) > 0 ? (SIZE) : 1, exact_log2 ((ALIGNMENT) / BITS_PER_UNIT)))
|
| /netbsd-src/external/bsd/pcc/dist/pcc/mip/ |
| H A D | common.c | 659 #define ALIGNMENT offsetof(struct balloc, a2) macro 660 #define ROUNDUP(x) (((x) + ((ALIGNMENT)-1)) & ~((ALIGNMENT)-1)) 723 #define NELEM ((MEMCHUNKSZ-ROUNDUP(sizeof(struct xalloc *)))/ALIGNMENT) 724 #define ELEMSZ (ALIGNMENT)
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/emulparams/ |
| H A D | elf32lm32.sh | 10 ALIGNMENT=4
|
| /netbsd-src/external/gpl3/binutils/dist/ld/emulparams/ |
| H A D | elf32lm32.sh | 10 ALIGNMENT=4
|
| H A D | elf32microblaze.sh | 9 ALIGNMENT=4
|
| H A D | elf32xstormy16.sh | 8 ALIGNMENT=2
|