/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | hsfs_spec.h | 56 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x)) 58 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x)) 59 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument 60 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument 64 #define BOTH_INT(x) (int)*((int *)x) argument 74 #define BOTH_SHORT(x) LSB_SHORT(x) argument 75 #define BOTH_INT(x) LSB_INT(x) argument 216 #define HPE_NAME(x) HPE_name(x) argument 260 #define HDE_NAME(x) HDE_name(x) argument 264 #define HDE_UID(x) *(HDE_uid(x)) argument [all …]
|
H A D | hsfs_isospec.h | 44 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x)) 46 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x)) 47 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument 48 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument 52 #define BOTH_INT(x) (int)*((int *)x) argument 62 #define BOTH_SHORT(x) LSB_SHORT(x) 63 #define BOTH_INT(x) LSB_INT(x) 205 #define IDE_sys_use_area(x) (&((uchar_t *)x)[IDE_NAME_LEN(x) + \ argument 213 #define IDE_CDATE(x) IDE_cdate(x) argument 219 #define IDE_NAME(x) IDE_name(x) argument [all …]
|
H A D | hsfs_rrip.h | 162 #define SET_TIME_BIT(x, y) ((x) |= (y)) argument 168 #define RRIP_mode(x) (&((uchar_t *)x)[4]) argument 174 #define RRIP_uid(x) (&((uchar_t *)x)[20]) argument 177 #define RRIP_gid(x) (&((uchar_t *)x)[28]) argument 201 #define SYM_LINK_LEN(x) (strlen(x) + 1) argument 230 #define SET_NAME_BIT(x, y) ((x) |= (y)) argument 232 #define IS_NAME_BIT_SET(x, y) ((x) & (y)) argument 237 #define RRIP_NAME(x) RRIP_name(x) argument 250 #define RRIP_SL_COMP(x) RRIP_sl_comp(x) argument 256 #define RRIP_COMP(x) RRIP_comp(x) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_regs.h | 497 #define V_QID(x) ((x) << S_QID) argument 506 #define V_PIDX(x) ((x) << S_PIDX) argument 4107 #define V_AI(x) ((x) << S_AI) argument 8030 #define V_PF(x) ((x) << S_PF) argument 8039 #define V_VF(x) ((x) << S_VF) argument 8430 #define V_TX(x) ((x) << S_TX) argument 8462 #define V_NQ(x) ((x) << S_NQ) argument 8467 #define V_PV(x) ((x) << S_PV) argument 8919 #define V_FF(x) ((x) << S_FF) argument 9756 #define V_OP(x) ((x) << S_OP) argument [all …]
|
H A D | t4_msg.h | 295 #define G_TID(x) ((x) & 0xFFFFFF) argument 308 #define V_TID_TID(x) ((x) << S_TID_TID) argument 313 #define V_TID_QID(x) ((x) << S_TID_QID) argument 408 #define V_TX_CHAN(x) ((x) << S_TX_CHAN) argument 412 #define V_NO_CONG(x) ((x) << S_NO_CONG) argument 416 #define V_DELACK(x) ((x) << S_DELACK) argument 439 #define V_DSCP(x) ((x) << S_DSCP) argument 551 #define V_PACE(x) ((x) << S_PACE) argument 559 #define V_T5_ISS(x) ((x) << S_T5_ISS) argument 938 #define V_WORD(x) ((x) << S_WORD) argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/ |
H A D | xhcireg.h | 67 #define XHCI_HCS1_DEVSLOT_MAX(x) ((x) & 0xFF) argument 75 #define XHCI_HCS2_IST(x) ((x) & 0x7) argument 76 #define XHCI_HCS2_IST_MICRO(x) (!((x) & 0x8)) argument 78 #define XHCI_HCS2_SPR(x) (((x) >> 24) & 0x1) argument 79 #define XHCI_HCS2_SPB_MAX(x) ((((x) >> 16) & 0x3e0) | (((x) >> 27) & 0x1f)) argument 85 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument 92 #define XHCI_HCC1_FLAGS_MASK(x) ((x) & 0x7FF) argument 100 #define XHCI_HCC2_FLAGS_MASK(x) ((x) & 0x3F) argument 186 #define XHCI_PS_INDPORT(x) ((x) & 0xFF) argument 268 #define XHCI_XECP_ID(x) ((x) & 0xFF) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | regs.h | 189 #define V_DAY(x) ((x) << S_DAY) argument 194 #define V_MONTH(x) ((x) << S_MONTH) argument 244 #define V_READY(x) ((x) << S_READY) argument 296 #define V_BANKS(x) ((x) << S_BANKS) argument 320 #define V_BUSY(x) ((x) << S_BUSY) argument 451 #define V_OP(x) ((x) << S_OP) argument 605 #define V_TPIWR(x) ((x) << S_TPIWR) argument 837 #define V_SACK(x) ((x) << S_SACK) argument 842 #define V_ECN(x) ((x) << S_ECN) argument 851 #define V_MSS(x) ((x) << S_MSS) argument [all …]
|
H A D | fpga_defs.h | 78 #define V_MI0_CLK_DIV(x) ((x) << S_MI0_CLK_DIV) argument 83 #define V_MI0_CLK_CNT(x) ((x) << S_MI0_CLK_CNT) argument 89 #define V_MI0_CSR_POLL(x) ((x) << S_MI0_CSR_POLL) argument 101 #define V_MI0_BUSY(x) ((x) << S_MI0_BUSY) argument 105 #define V_MI0_MDIO(x) ((x) << S_MI0_MDIO) argument 130 #define V_INTERFACE(x) ((x) << S_INTERFACE) argument 147 #define V_MAC_SPEED(x) ((x) << S_MAC_SPEED) argument 159 #define V_MAC_PROMISC(x) ((x) << S_MAC_PROMISC) argument 167 #define V_MAC_RESET(x) ((x) << S_MAC_RESET) argument 206 #define V_MAC_IFS2(x) ((x) << S_MAC_IFS2) argument [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_builtin_sum.sh | 73 [[ "$(cat "$x" | /usr/bin/sum)" == "$(cat "$x" | sum)" ]] || err_exit "pipe: /usr/bin/sum $x != sum… 74 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 77 [[ "$(cat "$x" | /usr/bin/sum)" == "$(cat "$x" | sum)" ]] || err_exit "pipe: /usr/bin/sum $x != sum… 78 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 82 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 86 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 90 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 94 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 98 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" 102 [[ "$(/usr/bin/sum "$x")" == "$(sum "$x")" ]] || err_exit "file: /usr/bin/sum $x != sum $x" [all …]
|
/illumos-gate/usr/src/common/crypto/aes/amd64/ |
H A D | aes_amd64.S | 237 #define u8(x) [f2(x)], [x], [x], [f3(x)], [f2(x)], [x], [x], [f3(x)] argument 238 #define v8(x) [fe(x)], [f9(x)], [fd(x)], [fb(x)], [fe(x)], [f9(x)], [fd(x)], [x] argument 242 .byte x(0x63),x(0x7c),x(0x77),x(0x7b),x(0xf2),x(0x6b),x(0x6f),x(0xc5); \ 243 .byte x(0x30),x(0x01),x(0x67),x(0x2b),x(0xfe),x(0xd7),x(0xab),x(0x76); \ 244 .byte x(0xca),x(0x82),x(0xc9),x(0x7d),x(0xfa),x(0x59),x(0x47),x(0xf0); \ 245 .byte x(0xad),x(0xd4),x(0xa2),x(0xaf),x(0x9c),x(0xa4),x(0x72),x(0xc0); \ 246 .byte x(0xb7),x(0xfd),x(0x93),x(0x26),x(0x36),x(0x3f),x(0xf7),x(0xcc); \ 247 .byte x(0x34),x(0xa5),x(0xe5),x(0xf1),x(0x71),x(0xd8),x(0x31),x(0x15); \ 248 .byte x(0x04),x(0xc7),x(0x23),x(0xc3),x(0x18),x(0x96),x(0x05),x(0x9a); \ 249 .byte x(0x07),x(0x12),x(0x80),x(0xe2),x(0xeb),x(0x27),x(0xb2),x(0x75); \ [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 155 #define V_FW_WR_OP(x) ((x) << S_FW_WR_OP) argument 162 #define V_FW_WR_ATOMIC(x) ((x) << S_FW_WR_ATOMIC) argument 172 #define V_FW_WR_FLUSH(x) ((x) << S_FW_WR_FLUSH) argument 181 #define V_FW_WR_COMPL(x) ((x) << S_FW_WR_COMPL) argument 191 #define V_FW_WR_IMMDLEN(x) ((x) << S_FW_WR_IMMDLEN) argument 199 #define V_FW_WR_EQUIQ(x) ((x) << S_FW_WR_EQUIQ) argument 207 #define V_FW_WR_EQUEQ(x) ((x) << S_FW_WR_EQUEQ) argument 215 #define V_FW_WR_FLOWID(x) ((x) << S_FW_WR_FLOWID) argument 222 #define V_FW_WR_LEN16(x) ((x) << S_FW_WR_LEN16) argument 233 #define V_FW_FRAG_WR_EOF(x) ((x) << S_FW_FRAG_WR_EOF) argument [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_xhci.h | 92 #define XHCI_SCTX_0_ROUTE_SET(x) ((x) & 0xFFFFF) argument 93 #define XHCI_SCTX_0_ROUTE_GET(x) ((x) & 0xFFFFF) argument 103 #define XHCI_SCTX_1_MAX_EL_SET(x) ((x) & 0xFFFF) argument 104 #define XHCI_SCTX_1_MAX_EL_GET(x) ((x) & 0xFFFF) argument 131 #define XHCI_EPCTX_0_EPSTATE_SET(x) ((x) & 0x7) argument 132 #define XHCI_EPCTX_0_EPSTATE_GET(x) ((x) & 0x7) argument 153 #define XHCI_EPCTX_2_DCS_SET(x) ((x) & 0x1) argument 154 #define XHCI_EPCTX_2_DCS_GET(x) ((x) & 0x1) argument 199 #define XHCI_SCTX_0_DCS_GET(x) ((x) & 0x1) argument 200 #define XHCI_SCTX_0_DCS_SET(x) ((x) & 0x1) argument [all …]
|
/illumos-gate/usr/src/head/ |
H A D | tgmath.h | 41 #define acos(x) __tgmath_acos(x) argument 43 #define asin(x) __tgmath_asin(x) argument 45 #define atan(x) __tgmath_atan(x) argument 53 #define cos(x) __tgmath_cos(x) argument 55 #define sin(x) __tgmath_sin(x) argument 57 #define tan(x) __tgmath_tan(x) argument 59 #define cosh(x) __tgmath_cosh(x) argument 61 #define sinh(x) __tgmath_sinh(x) argument 65 #define exp(x) __tgmath_exp(x) argument 67 #define log(x) __tgmath_log(x) argument [all …]
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/controller/ |
H A D | xhcireg.h | 49 #define XHCI_HCS1_DEVSLOT_MAX(x)((x) & 0xFF) argument 50 #define XHCI_HCS1_IRQ_MAX(x) (((x) >> 8) & 0x3FF) argument 53 #define XHCI_HCS2_IST(x) ((x) & 0xF) argument 54 #define XHCI_HCS2_ERST_MAX(x) (((x) >> 4) & 0xF) argument 55 #define XHCI_HCS2_SPR(x) (((x) >> 26) & 0x1) argument 56 #define XHCI_HCS2_SPB_MAX(x) ((((x) >> 16) & 0x3E0) | (((x) >> 27) & 0x1F)) argument 58 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument 162 #define XHCI_MFINDEX_GET(x) ((x) & 0x3FFF) argument 174 #define XHCI_ERSTS_GET(x) ((x) & 0xFFFF) argument 175 #define XHCI_ERSTS_SET(x) ((x) & 0xFFFF) argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 18 # define __P(x) x argument 278 # define MUTEX_NUKE(x) bzero((x), sizeof(*(x))) argument 292 # define ntohs(x) (x) argument 293 # define ntohl(x) (x) argument 294 # define htons(x) (x) argument 295 # define htonl(x) (x) argument 308 # define M_LEN(x) ((x)->b_wptr - (x)->b_rptr) argument 491 # define M_LEN(x) ((x)->b_wptr - (x)->b_rptr) argument 615 # define MUTEX_NUKE(x) bzero((x), sizeof(*(x))) argument 683 # define MUTEX_NUKE(x) bzero(x, sizeof(*(x))) argument [all …]
|
/illumos-gate/usr/src/lib/libm1/common/ |
H A D | libmv1.c | 108 __acos(double x) { in __acos() argument 120 __asin(double x) { in __asin() argument 132 __atan(double x) { in __atan() argument 168 __cos(double x) { in __cos() argument 180 __erf(double x) { in __erf() argument 192 __exp(double x) { in __exp() argument 252 __j0(double x) { in __j0() argument 258 __j1(double x) { in __j1() argument 282 __log(double x) { in __log() argument 378 __y0(double x) { in __y0() argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_mpi.h | 34 #define PMCS_DWRD(x) (x << 2) argument 60 #define PMCS_MSGL(x) (x & 0xffff) argument 61 #define PMCS_MD(x) ((x >> 16) & 0xffff) argument 177 #define PMCS_MPI_S(x) ((x) & 0x7) argument 178 #define PMCS_QF(x) (((x) >> 3) & 0x1) argument 193 #define PMCS_IQC_PARMX(x) ((x) << 5) argument 200 #define PMCS_IQDX(x) ((x) & 0xffff) argument 210 #define PMCS_OQC_PARMX(x) (x * 36) argument 211 #define PMCS_OQBAHX(x) ((x * 36) + 4) argument 220 #define PMCS_OQDX(x) ((x) & 0xffff) argument [all …]
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 138 Double(double x = 0.): val(x) { } in val() argument 139 Double(const Double &x): val(x.val) { } in Double() argument 155 return (((double)x < (double)y) ? (double)x : (double)y); in min() 159 return (((double)x < (double)y) ? (double)x : (double)y); in min() 162 return (((double)x < (double)y) ? (double)x : (double)y); in min() 196 return (((double)x < (double)y) || (x == y)); 199 return (((double)x < (double)y) || (x == y)); 202 { return (((double)x < (double)y) || (x == y)); } 205 { return (((double)x > (double)y) || (x == y)); } 207 return (((double)x > (double)y) || (x == y)); [all …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | parse.c | 32 NODE *x; in nodealloc() local 53 NODE *x; in node0() local 65 NODE *x; in node1() local 78 NODE *x; in node2() local 92 NODE *x; in node3() local 107 NODE *x; in node4() local 123 NODE *x; in stat3() local 134 NODE *x; in op2() local 145 NODE *x; in op1() local 156 NODE *x; in stat1() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.re | 131 x$x 148 ^a?b?x ~ x 249 x[[]y ~ x[y 253 x[[-]y ~ x[y 269 x[]]y ~ x]y 275 x[-]y ~ x-y 278 x[^-]y ~ x+y 281 x[][]y ~ x[y 313 x|y ~ x 329 ^x\|y$ ~ x|y [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | arithmetic-ops.c | 3 return x + y; in add() 8 return x + y; in uadd() 13 return x + y; in fadd() 18 return x + y; in dadd() 23 return x - y; in sub() 28 return x - y; in usub() 33 return x - y; in fsub() 93 return -x; in neg() 98 return -x; in uneg() 103 return -x; in fneg() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | bool-cast-restricted.c | 4 _Bool lfoo(large_t x) { return x; } in lfoo() argument 5 _Bool qfoo(large_t x) { _Bool r = x; return r; } in qfoo() argument 6 _Bool xfoo(large_t x) { return (_Bool)x; } in xfoo() argument 7 _Bool lbar(large_t x) { return ~x; } in lbar() argument 9 _Bool xbar(large_t x) { return (_Bool)~x; } in xbar() argument 10 _Bool lbaz(large_t x) { return !x; } in lbaz() argument 12 _Bool xbaz(large_t x) { return (_Bool)!x; } in xbaz() argument 13 _Bool lqux(large_t x) { return x & LBIT; } in lqux() argument 21 _Bool sfoo(small_t x) { return x; } in sfoo() argument 24 _Bool sbar(small_t x) { return ~x; } in sbar() argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | byteorder.h | 61 #define ntohl(x) (x) argument 62 #define ntohs(x) (x) argument 63 #define htonl(x) (x) argument 64 #define htons(x) (x) argument 66 #define ntohll(x) (x) argument 67 #define htonll(x) (x) argument 115 #define BSWAP_16(x) htons(x) 116 #define BSWAP_32(x) htonl(x) 139 #define BMASK_64(x) (x) argument 145 #define BE_8(x) BMASK_8(x) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | cyclic_oper.h | 44 #define _ABS_DIFF(x, y) ((x) > (y) ? (x) - (y) : (y) - (x)) argument 49 return (diff < d) ? x < y : x > y; in _cyclic_lt() 55 return (diff < d) ? x <= y : x >= y; in _cyclic_le() 58 #define CYCLIC_LT_8(x, y) (_cyclic_lt(x, y, 128)) argument 63 #define CYCLIC_LE_8(x, y) (_cyclic_le(x, y, 128)) argument 68 #define CYCLIC_GT_8(x, y) (!(CYCLIC_LE_8(x, y))) argument 69 #define CYCLIC_GT_16(x, y) (!(CYCLIC_LE_16(x, y))) argument 70 #define CYCLIC_GT_24(x, y) (!(CYCLIC_LE_24(x, y))) argument 71 #define CYCLIC_GT_32(x, y) (!(CYCLIC_LE_32(x, y))) argument 73 #define CYCLIC_GE_8(x, y) (!(CYCLIC_LT_8(x, y))) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | support.c | 106 if( x == zero ) return(x); 202 else if(x != x) 290 p *= b; x = drem(x,p); x *= b; return(drem(x,p)/b);} 313 { x -= p ; if ( x >= hp ) x -= p ; } 353 if(x!=x||x==zero) return(x); 369 x=scalb(x,-n); 447 if(x!=x) return(x); if(y!=y) return(y); /* x or y is NaN */ 480 n=x/t; x=(x-n*t1)-n*(t-t1); 489 if(x>hy||((x==hy)&&n%2==1)) x-=y; 549 if(x!=x||x==0.0) return(x); /* sqrt(NaN) is NaN, sqrt(+-0) = +-0 */ [all …]
|