Searched defs:offsetof (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/stand/lib/sa/
H A Dstddef.h44 #ifndef offsetof
45 #define offsetof(s, m) (size_t)(&(((s *)0)->m)) macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dstddef.h41 #define offsetof(type, field) __offsetof(type, field) macro
H A Dtypes.h287 #define offsetof(type, field) __offsetof(type, field) macro
/illumos-gate/usr/src/head/iso/
H A Dstddef_iso.h86 #define offsetof(s, m) __builtin_offsetof(s, m) macro
89 #define offsetof(s, m) (std::size_t)(&(((s *)0)->m))
91 #define offsetof(s, m) (size_t)(&(((s *)0)->m))
/illumos-gate/usr/src/boot/include/
H A Dstddef.h65 #define offsetof(type, member) __offsetof(type, member) macro
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dgen.h40 ** Define NULL and offsetof (from the C89 standard)
49 # define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro
H A Dconf.h1911 # undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ macro
1925 # undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ macro
2350 # undef offsetof /* avoid stddefs.h and sys/sysmacros.h conflict */ macro
3035 # define SM_ALIGN_SIZE offsetof(struct sm_align, al_u)
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dvdev_impl.h28 #undef offsetof macro
29 #define offsetof(t, m) ((int)&(((t *)0)->m)) macro
43 offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT(sh)])
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h372 #if !defined(offsetof)
374 #define offsetof(s, m) __builtin_offsetof(s, m) macro
376 #define offsetof(s, m) ((size_t)(&(((s *)0)->m))) macro
378 #endif /* !offsetof */
381 (void *)((uintptr_t)(m) - (uintptr_t)offsetof(s, name))
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c189 #undef offsetof macro
190 #define offsetof(t,m) ((int)&(((t *)0)->m)) macro
197 return (tmp - sizeof(xfs_bmdr_block_t) - offsetof(xfs_dinode_t, di_u)) /
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1758 #ifdef offsetof
1759 # undef offsetof macro
1761 #ifndef offsetof
1762 # define offsetof(t,m) (size_t)((&((t *)0)->m)) macro

Completed in 2445 milliseconds