/illumos-gate/usr/src/ucbhead/sys/ |
H A D | sysmacros.h | 48 #define major(x) ((int)(((unsigned)(x)>>8)&0377)) argument 51 #define minor(x) ((int)((x)&0377)) argument 54 #define makedev(x, y) ((dev_t)(((x)<<8) | (y))) argument
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_riscv.c | 276 #define DIS_RISCV_OPCODE(x) ((x) & 0x7f) argument 277 #define DIS_RISCV_FUNCT3(x) (((x) >> 12) & 0x7) argument 279 #define DIS_RISCV_RD(x) (((x) >> 7) & 0x1f) argument 280 #define DIS_RISCV_RS1(x) (((x) >> 15) & 0x1f) argument 281 #define DIS_RISCV_RS2(x) (((x) >> 20) & 0x1f) argument 292 #define DIS_RISCV_IIMM(x) (((x) >> 20) & 0xfff) argument 303 #define DIS_RISCV_JIMM_19_12(x) ((x) & 0xff000) argument 308 #define DIS_RISCV_RVA_AQ(x) (((x) >> 26) & 0x1) argument 309 #define DIS_RISCV_RVA_RL(x) (((x) >> 25) & 0x1) argument 1310 #define DIS_RISCV_C_OPCODE(x) ((x) & 0x03) argument [all …]
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | rwlock.h | 59 #define RW_READ_HELD(x) (rw_read_held((x))) argument 60 #define RW_WRITE_HELD(x) (rw_write_held((x))) argument 61 #define RW_LOCK_HELD(x) (rw_lock_held((x))) argument 62 #define RW_ISWRITER(x) (rw_iswriter(x)) argument
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | zutil.h | 243 # define Trace(x) {if (z_verbose>=0) fprintf x ;} argument 244 # define Tracev(x) {if (z_verbose>0) fprintf x ;} argument 245 # define Tracevv(x) {if (z_verbose>1) fprintf x ;} argument 246 # define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;} argument 247 # define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;} argument 250 # define Trace(x) argument 251 # define Tracev(x) argument 252 # define Tracevv(x) argument 253 # define Tracec(c,x) argument 254 # define Tracecv(c,x) argument
|
/illumos-gate/usr/src/lib/libresolv2/include/sys/ |
H A D | cdefs.h | 81 #define __CONCAT(x,y) x ## y argument 82 #define __STRING(x) #x argument 97 #define __CONCAT(x,y) x/**/y argument 98 #define __STRING(x) "x" argument 131 #define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */ argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/md4/ |
H A D | md4.c | 62 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument 63 #define G(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) argument 64 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 67 #define ROTATE_LEFT(x, n) ((((x) << (n)) & 0xffffffff) | ((x) >> (32-(n)))) argument 71 #define FF(a, b, c, d, x, s) \ argument 75 #define GG(a, b, c, d, x, s) \ argument 79 #define HH(a, b, c, d, x, s) \ argument
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | cdtlib.h | 152 #define rrotate(x,y) ((x)->_left = (y)->_rght, (y)->_rght = (x)) argument 153 #define lrotate(x,y) ((x)->_rght = (y)->_left, (y)->_left = (x)) argument 154 #define rlink(r,x) ((r) = (r)->_left = (x) ) argument 155 #define llink(l,x) ((l) = (l)->_rght = (x) ) argument 157 #define RROTATE(x,y) (rrotate(x,y), (x) = (y)) argument 158 #define LROTATE(x,y) (lrotate(x,y), (x) = (y)) argument 159 #define RRSHIFT(x,t) ((t) = (x)->_left->_left, (x)->_left->_left = (t)->_rght, \ argument 161 #define LLSHIFT(x,t) ((t) = (x)->_rght->_rght, (x)->_rght->_rght = (t)->_left, \ argument
|
/illumos-gate/usr/src/common/crypto/md4/ |
H A D | md4.c | 74 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument 75 #define G(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) argument 76 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 81 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument 86 #define FF(a, b, c, d, x, s) { \ argument 90 #define GG(a, b, c, d, x, s) { \ argument 94 #define HH(a, b, c, d, x, s) { \ argument 193 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() local
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | endian.h | 127 #define htole16(x) ((uint16_t)(x)) argument 128 #define htole32(x) ((uint32_t)(x)) argument 129 #define htole64(x) ((uint64_t)(x)) argument 131 #define le16toh(x) ((uint16_t)(x)) argument 132 #define le32toh(x) ((uint32_t)(x)) argument 133 #define le64toh(x) ((uint64_t)(x)) argument
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | libm_macros.h | 40 #define XBIASED_EXP(x) ((((int *)&x)[HIXWORD] & ~0x80000000) >> 16) argument 41 #define ISZEROL(x) (((((int *)&x)[0] & ~XSGNMSK) | ((int *)&x)[1] | \ argument 50 #define XBIASED_EXP(x) (((int *)&x)[HIXWORD] & 0x7fff) argument 51 #define ISZEROL(x) (x == 0.0L) argument
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_names_new.h | 11 #define dw_glue(x,y) x##y argument 12 #define dw_glue2(x,y) dw_glue(x,y) argument 13 #define DWPREFIX(x) dw_glue2(DWARF_PRINT_PREFIX,x) argument
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | rintf.c | 68 aintf(float x) { in aintf() 87 anintf(float x) { in anintf() 112 irintf(float x) { in irintf() 123 nintf(float x) { in nintf() 142 rintf(float x) { in rintf()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | bitwise-cast-ptr.c | 7 static __be32* tobi(u32 *x) in tobi() 12 static __be32* tobe(u32 *x) in tobe() 17 static __be32* tobf(u32 *x) in tobf()
|
H A D | vla-sizeof-ice.c | 3 #define ICE_P(x) \ argument 6 #define T(x) __builtin_choose_expr(ICE_P(x), 1, 0) argument 7 #define TEST(x, r) _Static_assert(T(x) == r, #x " => " #r) argument
|
H A D | sm_macros.c | 3 #define add(x, y) x + y argument 4 #define sub(x, y) x - y argument 6 int x; variable
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | utility.h | 61 #define SGN(x) (((x) == 0 ? 0 : ((x) > 0 ? 1 : -1))) argument 62 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument 63 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) argument 186 #define ASSERT(x) assert(x) argument 188 #define ASSERT(x) argument 192 #define __S(x) x argument 194 #define __S(x) argument
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwncompat.h | 148 #define __arraycount(x) ARRAY_SIZE(x) argument 149 #define abs(x) ABS(x) argument 151 #define le16toh(x) LE_16(x) argument 152 #define htole16(x) LE_16(x) argument 153 #define le32toh(x) LE_32(x) argument 154 #define htole32(x) LE_32(x) argument 155 #define le64toh(x) LE_64(x) argument 156 #define htole64(x) LE_64(x) argument
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | mv88e1xxx.h | 95 #define V_PSCR_MDI_XOVER_MODE(x) ((x) << S_PSCR_MDI_XOVER_MODE) argument 96 #define G_PSCR_MDI_XOVER_MODE(x) (((x) >> S_PSCR_MDI_XOVER_MODE) & M_PSCR_MDI_XOVER_MODE) argument 104 #define V_DOWNSHIFT_CNT(x) ((x) << S_DOWNSHIFT_CNT) argument 105 #define G_DOWNSHIFT_CNT(x) (((x) >> S_DOWNSHIFT_CNT) & M_DOWNSHIFT_CNT) argument 131 #define V_PSSR_CABLE_LEN(x) ((x) << S_PSSR_CABLE_LEN) argument 132 #define G_PSSR_CABLE_LEN(x) (((x) >> S_PSSR_CABLE_LEN) & M_PSSR_CABLE_LEN) argument 148 #define V_PSSR_SPEED(x) ((x) << S_PSSR_SPEED) argument 149 #define G_PSSR_SPEED(x) (((x) >> S_PSSR_SPEED) & M_PSSR_SPEED) argument
|
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | port_before.h | 33 #define _PARAMS(x) x argument 77 #define NET_R_END_RESULT(x) /*empty*/ argument 91 #define GROUP_R_END_RESULT(x) /*empty*/ argument 101 #define HOST_R_END_RESULT(x) /*empty*/ argument 117 #define NGR_R_END_RESULT(x) /*empty*/ argument 136 #define PROTO_R_END_RESULT(x) /*empty*/ argument 151 #define PASS_R_END_RESULT(x) /*empty*/ argument 163 #define SERV_R_END_RESULT(x) /*empty*/ argument 182 #define UNUSED(x) (x) = (x) argument
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vsinbigf.c | 33 #define HI(x) *(1+(int*)x) argument 34 #define LO(x) *(unsigned*)x argument 36 #define HI(x) *(int*)x argument 37 #define LO(x) *(1+(unsigned*)x) argument 67 __vlibm_vsin_bigf(int n, float * restrict x, int stridex, float * restrict y, in __vlibm_vsin_bigf()
|
H A D | __vcosbigf.c | 33 #define HI(x) *(1+(int*)x) argument 34 #define LO(x) *(unsigned*)x argument 36 #define HI(x) *(int*)x argument 37 #define LO(x) *(1+(unsigned*)x) argument 67 __vlibm_vcos_bigf(int n, float * restrict x, int stridex, float * restrict y, in __vlibm_vcos_bigf()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 249 mb_put_uint8(mbchain_t *mbp, uint8_t x) in mb_put_uint8() 256 mb_put_uint16be(mbchain_t *mbp, uint16_t x) in mb_put_uint16be() 263 mb_put_uint16le(mbchain_t *mbp, uint16_t x) in mb_put_uint16le() 270 mb_put_uint32be(mbchain_t *mbp, uint32_t x) in mb_put_uint32be() 277 mb_put_uint32le(mbchain_t *mbp, uint32_t x) in mb_put_uint32le() 284 mb_put_uint64be(mbchain_t *mbp, uint64_t x) in mb_put_uint64be() 291 mb_put_uint64le(mbchain_t *mbp, uint64_t x) in mb_put_uint64le() 432 md_get_uint8(mdchain_t *mbp, uint8_t *x) in md_get_uint8() 438 md_get_uint16le(mdchain_t *mbp, uint16_t *x) in md_get_uint16le() 463 md_get_uint32be(mdchain_t *mbp, uint32_t *x) in md_get_uint32be() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | curshdr.h | 174 #define RBYTE(x) ((x) & 0377) argument 175 #define LBYTE(x) (((x) >> 8) & 0177) argument 176 #define ISMBIT(x) ((x) & MBIT) argument 177 #define SETMBIT(x) ((x) |= MBIT) argument 178 #define CLRMBIT(x) ((x) &= ~MBIT) argument 179 #define ISCBIT(x) ((x) & CBIT) argument 180 #define SETCBIT(x) ((x) |= CBIT) argument 181 #define CLRCBIT(x) ((x) &= ~CBIT) argument 195 #define _BR(x) (x.c_cflag & CBAUD) argument 196 #define _BRS(x) (cfgetospeed(&x)) argument [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | stand.h | 291 #define gets(x) ngets((x), 0) argument 432 #define htonl(x) __htonl(x) argument 433 #define htons(x) __htons(x) argument 434 #define ntohl(x) __ntohl(x) argument 435 #define ntohs(x) __ntohs(x) argument 449 #define free(x) Free(x, __FILE__, __LINE__) argument 453 #define malloc(x) Malloc(x, NULL, 0) argument 454 #define memalign(x, y) Memalign(x, y, NULL, 0) argument 455 #define calloc(x, y) Calloc(x, y, NULL, 0) argument 456 #define free(x) Free(x, NULL, 0) argument [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_xhci.c | 90 #define XHCI_SET_CAPLEN(x) ((x) & 0xFF) argument 95 #define XHCI_SET_HCSP1_MAXSLOTS(x) ((x) & 0xFF) argument 100 #define XHCI_SET_HCSP2_IST(x) ((x) & 0x0F) argument 110 #define XHCI_SET_HCCP1_AC64(x) ((x) & 0x01) argument 111 #define XHCI_SET_HCCP1_BNC(x) (((x) & 0x01) << 1) argument 126 #define XHCI_SET_HCCP2_U3C(x) ((x) & 0x01) argument 134 #define XHCI_SET_DOORBELL(x) ((x) & ~0x03) argument 135 #define XHCI_SET_RTSOFFSET(x) ((x) & ~0x0F) argument 147 #define MASK_64_HI(x) ((x) & ~0xFFFFFFFFULL) argument 148 #define MASK_64_LO(x) ((x) & 0xFFFFFFFFULL) argument [all …]
|