/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | aligned_alloc.c | 50 { sizeof (char), alignof (char), 0, "alignof (char), 1 byte" }, 51 { 5, alignof (char), 0, "alignof (char), multiple bytes" }, 52 { 1, alignof (short), 0, "alignof (short), 1 byte" }, 53 { 16, alignof (short), 0, "alignof (short), 16 byte" }, 54 { 1, alignof (int), 0, "alignof (int), 1 byte" }, 55 { 4, alignof (int), 0, "alignof (int), 4 bytes" }, 56 { 22, alignof (int), 0, "alignof (int), 22 bytes" }, 58 { 7, alignof (long long), 0, "alignof (long long), 7 bytes" }, 59 { 128, alignof (long long), 0, "alignof (long long), 128 bytes" }, 60 { 511, alignof (long long), 0, "alignof (long long), 511 bytes" },
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | type-attribute-align.c | 2 #define alignof(X) __alignof__(X) macro 9 static int fa(void) { return alignof(struct s); } in fa() 14 _Static_assert(alignof(struct s) == 2 * sizeof(short), "alignment"); in main()
|
/illumos-gate/usr/src/uts/intel/fs/proc/ |
H A D | prmachdep.c | 382 exp_align = alignof (prxregset_xcr_t); in prsetprxregs() 386 exp_align = alignof (prxregset_xsave_t); in prsetprxregs() 390 exp_align = alignof (prxregset_ymm_t); in prsetprxregs() 394 exp_align = alignof (prxregset_opmask_t); in prsetprxregs() 398 exp_align = alignof (prxregset_zmm_t); in prsetprxregs() 402 exp_align = alignof (prxregset_hi_zmm_t); in prsetprxregs()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 208 if (align < alignof (uintptr_t)) in aligned_alloc() 209 align = alignof (uintptr_t); in aligned_alloc()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stdalign.h | 45 #define alignof _Alignof macro
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | stdalign_h.cfg | 24 define | alignof | | stdalign.h | +ALL
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ident-list.h | 51 IDENT(alignof); IDENT_RESERVED(__alignof); IDENT_RESERVED(__alignof__);
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | cdefs.h | 58 #define _Alignof(x) alignof(x)
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 132 #define alignof(t) ((char*)&((_Align_*)0)->_d##t-(char*)&((_Align_*)0)->_c##t) macro 165 a = alignof(Sfdouble_t); in nv_datasize() 170 a = alignof(float); in nv_datasize() 175 a = alignof(double); in nv_datasize() 183 a = alignof(Sflong_t); in nv_datasize() 188 a = alignof(short); in nv_datasize() 193 a = alignof(int32_t); in nv_datasize() 202 a = alignof(pointer); in nv_datasize()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | cdefs.h | 275 #define _Alignof(x) alignof(x)
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fpu.c | 2471 .xi_align = alignof (prxregset_xcr_t), 2510 .xi_align = alignof (prxregset_opmask_t),
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 495 ASSERT0((uintptr_t)data % alignof (long)); in prwritectl_common() 498 if (prwc.prwc_need32 && ((uintptr_t)data % alignof (long)) != in prwritectl_common()
|