/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | ss_internal.h | 27 #define LOCAL_ALLOC(x) __builtin_alloca(x) argument 28 #define LOCAL_FREE(x) argument 31 #define LOCAL_ALLOC(x) alloca(x) argument 32 #define LOCAL_FREE(x) argument 37 #define LOCAL_ALLOC(x) alloca(x) argument 38 #define LOCAL_FREE(x) argument 42 #define LOCAL_ALLOC(x) malloc(x) argument 43 #define LOCAL_FREE(x) free(x) argument 123 #define sigmask(x) (1L<<(x)-1) argument 124 #define sigsetmask(x) sigprocmask(SIG_SETMASK,&x,NULL) argument [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | byteswap.h | 15 #define swap32(x) __bswap_32(x) argument 16 #define swap16(x) __bswap_16(x) argument 17 #define bswap_32(x) __bswap_32(x) argument 18 #define bswap_16(x) __bswap_16(x) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | general.h | 51 #define numberof(x) (sizeof (x)/sizeof (x[0])) argument 52 #define highestof(x) (numberof(x)-1) argument 54 #define ClearElement(x) ((void) memset(&x, 0, sizeof (x))) argument 55 #define ClearArray(x) ((void) memset(x, 0, sizeof (x))) argument
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | run.c | 156 Cell *x; in execute() local 197 Cell *x; in program() local 254 Node *x; in call() local 787 Cell *x; in gettemp() local 809 Cell *x; in indirect() local 916 Cell *x; in format() local 1099 Cell *x; in awksprintf() local 1124 Cell *x; in awkprintf() local 1344 Cell *x; in pastat() local 1362 Cell *x; in dopa2() local [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/i2c/clients/ |
H A D | adm1031_impl.h | 91 #define ADM1031_INST_TO_MINOR(x) ((x << 8) & 0xF00) argument 92 #define ADM1031_FCN_TO_MINOR(x) ((x << 4) & 0x0F0) argument 93 #define ADM1031_FCNINST_TO_MINOR(x) (x & 0x00F) argument 94 #define ADM1031_MINOR_TO_FCNINST(x) (0x00F & x) argument 95 #define ADM1031_MINOR_TO_FCN(x) ((0x0F0 & x) >> 4) argument 98 #define ADM1031_CHECK_FOR_WRITES(x) (x > 26) argument 109 #define ADM1031_CHECK_FAN_CMD(x) \ argument 112 #define ADM1031_CHECK_TEMPERATURE_CMD(x) \ argument 115 #define ADM1031_CHECK_CONTROL_CMD(x) \ argument 119 #define MLSN(x) (x & 0xf0) argument [all …]
|
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | tree.h | 290 #define SPLAY_FOREACH(x, name, head) \ argument 337 #define RB_AUGMENT(x) do {} while (0) argument 728 #define RB_FIND(name, x, y) name##_RB_FIND(x, y) argument 729 #define RB_NFIND(name, x, y) name##_RB_NFIND(x, y) argument 730 #define RB_NEXT(name, x, y) name##_RB_NEXT(y) argument 731 #define RB_PREV(name, x, y) name##_RB_PREV(y) argument 735 #define RB_FOREACH(x, name, head) \ argument 740 #define RB_FOREACH_FROM(x, name, y) \ argument 745 #define RB_FOREACH_SAFE(x, name, head, y) \ argument 750 #define RB_FOREACH_REVERSE(x, name, head) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | osdep.h | 37 #define isdigit(x) ((x) >= '0' && (x) <= '9') argument 38 #define isspace(x) ((x) == ' ' || (x) == '\t') argument 40 #define fls(x) ddi_fls(x) argument 148 #define DIV_ROUND_UP(x, y) howmany(x, y) argument 150 #define udelay(x) drv_usecwait(x) argument 154 #define le16_to_cpu(x) LE_16((uint16_t)(x)) argument 155 #define le32_to_cpu(x) LE_32((uint32_t)(x)) argument 156 #define le64_to_cpu(x) LE_64((uint64_t)(x)) argument 157 #define cpu_to_le16(x) LE_16((uint16_t)(x)) argument 158 #define cpu_to_le32(x) LE_32((uint32_t)(x)) argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | rrwlock.h | 79 #define RRW_READ_HELD(x) rrw_held(x, RW_READER) argument 80 #define RRW_WRITE_HELD(x) rrw_held(x, RW_WRITER) argument 81 #define RRW_LOCK_HELD(x) \ argument 104 #define RRM_READ_HELD(x) rrm_held(x, RW_READER) argument 105 #define RRM_WRITE_HELD(x) rrm_held(x, RW_WRITER) argument 106 #define RRM_LOCK_HELD(x) \ argument
|
/illumos-gate/usr/src/lib/libxcurses2/h/ |
H A D | curses.h | 782 #define mvaddstr(y, x, s) \ argument 797 #define mvaddwstr(y, x, wcs) \ argument 862 #define mvwdelch(w, y, x) \ argument 883 #define mvwgetch(w, y, x) \ argument 887 #define mvget_wch(y, x, wcp) \ argument 898 #define mvgetstr(y, x, s) \ argument 937 #define mvhline(y, x, ch, n) \ argument 965 #define mvwinch(w, y, x) \ argument 969 #define mvin_wch(y, x, cp) \ argument 1011 #define mvinstr(y, x, s) \ argument [all …]
|
/illumos-gate/usr/src/ucbhead/ |
H A D | curses.h | 101 #define VOID(x) (x) argument 110 #define move(y, x) VOID(wmove(stdscr, y, x)) argument 135 #define mvwdelch(win, y, x) VOID(wmove(win, y, x) == ERR ? \ argument 139 #define mvaddch(y, x, ch) mvwaddch(stdscr, y, x, ch) argument 140 #define mvgetch(y, x) mvwgetch(stdscr, y, x) argument 141 #define mvaddstr(y, x, str) mvwaddstr(stdscr, y, x, str) argument 142 #define mvgetstr(y, x, str) mvwgetstr(stdscr, y, x, str) argument 143 #define mvinch(y, x) mvwinch(stdscr, y, x) argument 144 #define mvdelch(y, x) mvwdelch(stdscr, y, x) argument 145 #define mvinsch(y, x, c) mvwinsch(stdscr, y, x, c) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | spppcomp.h | 184 #define IS_COMP_AC(x) \ argument 186 #define IS_DECOMP_AC(x) \ argument 188 #define IS_COMP_PROT(x) \ argument 192 #define IS_COMP_VJC(x) \ argument 196 #define IS_DECOMP_VJC(x) \ argument 200 #define IS_CCP_ISOPEN(x) \ argument 202 #define IS_CCP_ISUP(x) \ argument 204 #define IS_CCP_ERROR(x) \ argument 212 #define IS_CP_KDEBUG(x) \ argument 214 #define IS_CP_HASUNIT(x) \ argument [all …]
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.h | 414 #define EXIT_OK(x) \ argument 417 #define EXIT_OK2(x, y) \ argument 420 #define EXIT_OK3(x, y, z) \ argument 423 #define EXIT_BADCONFIG(x) \ argument 432 #define EXIT_MAINTAIN(x) \ argument 438 #define EXIT_DEGRADE(x) \ argument 441 #define EXIT_BADPERM(x) \ argument 444 #define EXIT_BADPERM2(x, y) \ argument 447 #define EXIT_FATAL(x) \ argument 450 #define EXIT_FATAL2(x, y) \ argument [all …]
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | sha256.c | 47 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 48 #define Maj(x, y, z) (((x) & (y)) ^ ((z) & ((x) ^ (y)))) argument 49 #define ROTR(x, n) (((x) >> (n)) | ((x) << ((sizeof (x) * NBBY)-(n)))) argument 52 #define BIGSIGMA0_256(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) argument 53 #define BIGSIGMA1_256(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) argument 54 #define SIGMA0_256(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ ((x) >> 3)) argument 55 #define SIGMA1_256(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ ((x) >> 10)) argument 58 #define BIGSIGMA0_512(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39)) argument 59 #define BIGSIGMA1_512(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41)) argument 60 #define SIGMA0_512(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7)) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | logical-ops.c | 1 static int and_bool(int x, int y) in and_bool() 6 static unsigned int uand_bool(unsigned int x, unsigned int y) in uand_bool() 11 static int or_bool(int x, int y) in or_bool() 16 static unsigned int uor_bool(unsigned int x, unsigned int y) in uor_bool()
|
/illumos-gate/usr/src/uts/intel/io/imc/ |
H A D | imc.h | 75 #define IMC_NODEID_UBOX_MASK(x) ((x) & 0x7) argument 90 #define IMC_MCMTR_LOCKSTEP(x) BITX(x, 1, 1) argument 106 #define IMC_MTR_CA_WIDTH(x) BITX(x, 1, 0) argument 111 #define IMC_MTR_RA_WIDTH(x) BITX(x, 4, 2) argument 117 #define IMC_MTR_DENSITY_SKX(x) BITX(x, 7, 5) argument 284 #define IMC_TAD_LIMIT(x) BITX(x, 31, 12) argument 293 #define IMC_TAD_CHAN_WAY(x) BITX(x, 9, 8) argument 294 #define IMC_TAD_TARG3(x) BITX(x, 7, 6) argument 295 #define IMC_TAD_TARG2(x) BITX(x, 5, 4) argument 296 #define IMC_TAD_TARG1(x) BITX(x, 3, 2) argument [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_fcc.c | 44 _Q_feq(const union longdouble *x, const union longdouble *y) in _Q_feq() 75 _Q_fne(const union longdouble *x, const union longdouble *y) in _Q_fne() 105 _Q_flt(const union longdouble *x, const union longdouble *y) in _Q_flt() 148 _Q_fle(const union longdouble *x, const union longdouble *y) in _Q_fle() 192 _Q_fgt(const union longdouble *x, const union longdouble *y) in _Q_fgt() 235 _Q_fge(const union longdouble *x, const union longdouble *y) in _Q_fge()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | debug.h | 40 #define debug(x) x argument 41 #define message(x) do if (error_info.trace < 0) { error x; } while (0) argument 42 #define messagef(x) do if (error_info.trace < 0) { errorf x; } while (0) argument 59 #define DEBUG_RETURN(x) do { debug_fatal(__FILE__, __LINE__); return(x); } while(0) argument 63 #define debug(x) argument 64 #define message(x) argument 65 #define messagef(x) argument 78 #define DEBUG_TEMP(x) argument 82 #define DEBUG_RETURN(x) return(x) argument 96 #define RETURN(x) DEBUG_RETURN(x) argument
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/nv_sata/ |
H A D | nv_sgpio.h | 66 #define SGPIO_CSR_CSTAT(x) (((x) & SGPIO_CSR_CSTAT_MASK) >> \ argument 77 #define SGPIO_CSR_SEQ(x) (((x) & SGPIO_CSR_SEQ_MASK) >> \ argument 83 #define SGPIO_CSR_SSTAT(x) (((x) & SGPIO_CSR_SSTAT_MASK) >> \ argument 135 #define SGP_NVCR_CB_SIZE(x) (((x) & SGP_NVCR_CB_SIZE_MASK) >> \ argument 141 #define SGP_NVCR_CB_VERS(x) (((x) & SGP_NVCR_CB_VERS_MASK) >> \ argument 155 #define SGP_CR0_VERS(x) (((x) & SGP_CR0_VERS_MASK) >> \ argument 167 #define SGP_CR0_CFG_RC(x) (((x) & SGP_CR0_CFG_RC_MASK) >> \ argument 176 #define SGP_CR0_GP_RC(x) (((x) & SGP_CR0_GP_RC_MASK) >> \ argument 185 #define SGP_CR0_DRV_CNT(x) (((x) & SGP_CR0_DRV_CNT_MASK) >> \ argument 240 #define SGPIO0_TR_DRV(x, a) (((x) >> ((3 - (a)) * 8)) & 0xff) argument [all …]
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | sun_fc.h | 148 #define htonll(x) (x) argument 149 #define ntohll(x) (x) argument 151 #define htonll(x) ((((uint64_t)htonl(x)) << 32) + htonl(x >> 32)) argument 152 #define ntohll(x) ((((uint64_t)ntohl(x)) << 32) + ntohl(x >> 32)) argument
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | curses.h | 833 #define mvaddch(y,x,ch) (move(y,x)?ERR:addch(ch)) argument 859 #define mvaddstr(y,x,s) (move(y,x)?ERR:addstr(s)) argument 914 #define mvdelch(y,x) (move(y,x)?ERR:delch()) argument 934 #define mvgetch(y,x) (move(y,x)?ERR:getch()) argument 944 #define mvgetstr(y,x,s) (move(y,x)?ERR:getstr(s)) argument 986 #define mvinch(y,x) (move(y,x)?ERR:inch()) argument 987 #define mvwinch(w,y,x) (wmove(w,y,x)?ERR:winch(w)) argument 1012 #define mvinstr(y,x,s) (move(y,x)?ERR:instr(s)) argument 1026 #define mvinsch(y,x,ch) (move(y,x)?ERR:insch(ch)) argument 1036 #define mvinsstr(y,x,s) (move(y,x)?ERR:insstr(s)) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | asohdr.h | 36 #define elementsof(x) (sizeof(x)/sizeof(x[0])) argument 39 #define integralof(x) (((char*)(x))-((char*)0)) argument 49 #define NoN(x) void _STUB_ ## x () {} argument 51 #define NoN(x) void _STUB_/**/x () {} argument
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | unicode.h | 59 #define UNICODE_SUR_UVALUE(x) (((x) & 0x3ff) << 10) argument 60 #define UNICODE_SUR_LVALUE(x) ((x) & 0x3ff) argument 61 #define UNICODE_SUR_UMASK(x) (((x) >> 10) & 0x3ff) argument 62 #define UNICODE_SUR_LMASK(x) ((x) & 0x3ff) argument
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | drand48.c | 68 #define LOW(x) ((unsigned)(x) & MASK) argument 69 #define HIGH(x) LOW((x) >> N) argument 70 #define MUL(x, y, z) { int32_t l = (int32_t)(x) * (int32_t)(y); \ argument 72 #define CARRY(x, y) ((int32_t)(x) + (int32_t)(y) > MASK) argument 73 #define ADDEQU(x, y, z) (z = CARRY(x, (y)), x = LOW(x + (y))) argument 81 #define SET3(x, x0, x1, x2) ((x)[0] = (x0), (x)[1] = (x1), (x)[2] = (x2)) argument 82 #define SETLOW(x, y, n) SET3(x, LOW((y)[n]), LOW((y)[(n)+1]), LOW((y)[(n)+2])) argument 92 #define x _drand48_x macro 96 static unsigned x[3] = { X0, X1, X2 }, a[3] = { A0, A1, A2 }, c = C; variable
|
/illumos-gate/usr/src/common/crypto/md5/ |
H A D | md5.c | 78 #define ROTATE_LEFT(x, n) \ argument 86 #define FF(a, b, c, d, x, s, ac) { \ argument 92 #define GG(a, b, c, d, x, s, ac) { \ argument 98 #define HH(a, b, c, d, x, s, ac) { \ argument 104 #define II(a, b, c, d, x, s, ac) { \ argument 125 #define MD5_CONST(x) (MD5_CONST_ ## x) argument 126 #define MD5_CONST_e(x) MD5_CONST(x) argument 127 #define MD5_CONST_o(x) MD5_CONST(x) argument 202 #define MD5_CONST_o(x) (md5_consts64[x/2]) argument 206 #define MD5_CONST_e(x) (md5_consts[x]) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | bswap-constant-folding.c | 6 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) argument 8 #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) argument 9 #define ___htons(x) __cpu_to_be16(x) argument 10 #define htons(x) ___htons(x) argument
|