/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | bitwise-ops.c | 1 static int shl(int x, int y) in shl() 6 static unsigned int ushl(unsigned int x, unsigned int y) in ushl() 11 static int shr(int x, int y) in shr() 16 static unsigned int ushr(unsigned int x, unsigned int y) in ushr() 21 static int and(int x, int y) in and() 26 static unsigned int uand(unsigned int x, unsigned int y) in uand() 31 static int or(int x, int y) in or() 36 static unsigned int uor(unsigned int x, unsigned int y) in uor() 41 static int xor(int x, int y) in xor() 51 static int not(int x) in not() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | debug.h | 61 #define ASSERT(x) ((void)0) argument 68 #define ASSERT64(x) ASSERT(x) argument 69 #define ASSERT32(x) argument 71 #define ASSERT64(x) argument 72 #define ASSERT32(x) ASSERT(x) argument 117 #define VERIFY0(x) VERIFY3_IMPL(x, ==, 0, uintmax_t) argument 126 #define ASSERT3B(x, y, z) ((void)0) argument 127 #define ASSERT3S(x, y, z) ((void)0) argument 128 #define ASSERT3U(x, y, z) ((void)0) argument 129 #define ASSERT3P(x, y, z) ((void)0) argument [all …]
|
H A D | sysmacros.h | 168 #define emajor(x) \ argument 172 #define eminor(x) \ argument 189 #define DEVCMPL(x) (x) argument 190 #define DEVEXPL(x) (x) argument 194 #define DEVCMPL(x) \ argument 199 #define DEVEXPL(x) \ argument 207 #define cmpdev(x) \ argument 214 #define expdev(x) \ argument 312 #define P2ALIGN_TYPED(x, align, type) \ argument 314 #define P2PHASE_TYPED(x, align, type) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | space_map.h | 165 #define SM_PREFIX_DECODE(x) BF64_DECODE(x, 62, 2) argument 166 #define SM_PREFIX_ENCODE(x) BF64_ENCODE(x, 62, 2) argument 168 #define SM_DEBUG_ACTION_DECODE(x) BF64_DECODE(x, 60, 2) argument 169 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 2) argument 170 #define SM_DEBUG_SYNCPASS_DECODE(x) BF64_DECODE(x, 50, 10) argument 171 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10) argument 172 #define SM_DEBUG_TXG_DECODE(x) BF64_DECODE(x, 0, 50) argument 173 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50) argument 177 #define SM_TYPE_DECODE(x) BF64_DECODE(x, 15, 1) argument 178 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1) argument [all …]
|
/illumos-gate/usr/src/boot/sys/x86/include/ |
H A D | endian.h | 67 #define __bswap32_gen(x) \ argument 69 #define __bswap64_gen(x) \ argument 73 #define __bswap16(x) \ argument 76 #define __bswap32(x) \ argument 79 #define __bswap64(x) \ argument 84 #define __bswap16(x) __bswap16_var(x) argument 85 #define __bswap32(x) __bswap32_var(x) argument 126 #define __htonl(x) __bswap32(x) argument 127 #define __htons(x) __bswap16(x) argument 128 #define __ntohl(x) __bswap32(x) argument [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-exc.c | 42 int volatile x; local 54 x = 1; local 64 x = 1; local 66 x = 2; local 77 x = 1; local 80 x = 2; local 101 x = 3; local 103 x = 4; local 106 x = 5; local
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
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/uts/common/sys/fs/ |
H A D | hsfs_susp.h | 88 #define SUF_LEN(x) *(SUF_len(x)) /* SUF length */ argument 89 #define SUF_len(x) (&((uchar_t *)x)[2]) /* SUF length */ argument 91 #define SUF_VER(x) *(SUF_ver(x)) /* SUF version */ argument 92 #define SUF_ver(x) (&((uchar_t *)x)[3]) /* SUF version */ argument 122 #define ER_ext_id(x) (&((uchar_t *)x)[ER_EXT_ID_LOC]) argument 139 #define CE_OFFSET(x) BOTH_INT(CE_offset(x)) /* cont. offset */ argument 140 #define CE_offset(x) (&((uchar_t *)x)[12]) /* cont. offset */ argument 149 #define SP_CHK_BYTE_1(x) *(SP_chk_byte_1(x)) /* check bytes */ argument 150 #define SP_chk_byte_1(x) (&((uchar_t *)x)[4]) /* check bytes */ argument 152 #define SP_CHK_BYTE_2(x) *(SP_chk_byte_2(x)) /* check bytes */ argument [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/mutex/ |
H A D | mutex.c | 29 #define TSL_INIT(x) argument 31 #define TSL_UNSET(x) _clear_lock(x, 0) argument 54 #define TSL_INIT(x) initspin(x, 1) argument 56 #define TSL_UNSET(x) spinunlock(x) argument 62 #define TSL_SET(x) (!acquire_lock(x)) argument 63 #define TSL_UNSET(x) release_lock(x) argument 75 #define TSL_INIT(x) argument 76 #define TSL_SET(x) (_lock_try(x)) argument 77 #define TSL_UNSET(x) _lock_clear(x) argument 104 #define TSL_INIT(x) argument [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | inet_addr.c | 68 # define __P(x) x argument 70 # define __P(x) () argument 80 #define ISALNUM(x) isalnum((u_char)(x)) argument 81 #define ISALPHA(x) isalpha((u_char)(x)) argument 82 #define ISASCII(x) isascii((u_char)(x)) argument 83 #define ISDIGIT(x) isdigit((u_char)(x)) argument 84 #define ISPRINT(x) isprint((u_char)(x)) argument 85 #define ISSPACE(x) isspace((u_char)(x)) argument 86 #define ISUPPER(x) isupper((u_char)(x)) argument 87 #define ISXDIGIT(x) isxdigit((u_char)(x)) argument [all …]
|
/illumos-gate/usr/src/common/crypto/aes/amd64/ |
H A D | aes_amd64.S | 229 #define f3(x) [[f2(x)] ^ [x]] argument 230 #define f9(x) [[f8(x)] ^ [x]] argument 231 #define fb(x) [[f8(x)] ^ [f2(x)] ^ [x]] argument 241 #define enc_vals(x) \ argument 275 #define dec_vals(x) \ argument 323 #define tab_0(x) (tptr,x,8) argument 324 #define tab_1(x) 3(tptr,x,8) argument 325 #define tab_2(x) 2(tptr,x,8) argument 326 #define tab_3(x) 1(tptr,x,8) argument 327 #define tab_f(x) 1(tptr,x,8) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_vf.h | 57 #define IXGBE_VTEITR(x) (0x00820 + (4 * (x))) argument 58 #define IXGBE_VTIVAR(x) (0x00120 + (4 * (x))) argument 60 #define IXGBE_VTRSCINT(x) (0x00180 + (4 * (x))) argument 62 #define IXGBE_VFRDBAL(x) (0x01000 + (0x40 * (x))) argument 63 #define IXGBE_VFRDBAH(x) (0x01004 + (0x40 * (x))) argument 65 #define IXGBE_VFRDH(x) (0x01010 + (0x40 * (x))) argument 66 #define IXGBE_VFRDT(x) (0x01018 + (0x40 * (x))) argument 74 #define IXGBE_VFTDH(x) (0x02010 + (0x40 * (x))) argument 75 #define IXGBE_VFTDT(x) (0x02018 + (0x40 * (x))) argument 89 #define IXGBE_VFRSSRK(x) (0x3100 + ((x) * 4)) argument [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | ieee_funcl.c | 34 isinfl(long double x) { in isinfl() 41 isnormall(long double x) { in isnormall() 47 issubnormall(long double x) { in issubnormall() 54 iszerol(long double x) { in iszerol() 60 signbitl(long double x) { in signbitl() 66 isinfl(long double x) { in isinfl() 78 isnormall(long double x) { in isnormall() 89 issubnormall(long double x) { in issubnormall() 95 iszerol(long double x) { in iszerol() 101 signbitl(long double x) { in signbitl()
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | complex_wrapper.h | 37 #define D_RE(x) __real__ x argument 38 #define D_IM(x) __imag__ x argument 39 #define F_RE(x) __real__ x argument 40 #define F_IM(x) __imag__ x argument 41 #define LD_RE(x) __real__ x argument 42 #define LD_IM(x) __imag__ x argument 65 #define HI_XWORD(x) ((unsigned *) &x)[0] argument 67 #define CHOPPED(x) ((long double) ((double) (x))) argument 71 #define HI_XWORD(x) ((((int *) &x)[2] << 16) | \ argument 74 #define CHOPPED(x) ((long double) ((float) (x))) argument [all …]
|
/illumos-gate/usr/src/boot/sys/i386/include/ |
H A D | asm.h | 50 #define PIC_PLT(x) x@PLT argument 51 #define PIC_GOT(x) x@GOT(%ebx) argument 56 #define PIC_PLT(x) x argument 57 #define PIC_GOTOFF(x) x argument 73 #define _ENTRY(x) _START_ENTRY; \ argument 75 #define END(x) .size x, . - x argument 78 #define ALTENTRY(x) _ENTRY(x); \ argument 83 #define ENTRY(x) _ENTRY(x); \ argument 89 #define ALTENTRY(x) _ENTRY(x) argument 90 #define ENTRY(x) _ENTRY(x) argument [all …]
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc_fmt.h | 63 #define FLG_RD(x) (x) argument 64 #define FLG_RD_VAL(x) (x & 0xfL) argument 73 #define FLG_P1(x) (x << 8) argument 74 #define FLG_P1_VAL(x) ((x >> 8) & 0xfL) argument 77 #define FLG_P2(x) (x << 4) argument 78 #define FLG_P2_VAL(x) ((x >> 4) & 0xfL) argument 81 #define FLG_P3(x) (x) argument 82 #define FLG_P3_VAL(x) (x & 0xfL) argument 95 #define FLG_RS1(x) (x) argument 96 #define FLG_RS1_VAL(x) (x & 0xfL) argument [all …]
|
/illumos-gate/usr/src/boot/sys/amd64/include/ |
H A D | asm.h | 42 #define PIC_PLT(x) x@PLT argument 43 #define PIC_GOT(x) x@GOTPCREL(%rip) argument 45 #define PIC_PLT(x) x argument 60 #define _ENTRY(x) _START_ENTRY; \ argument 64 #define ALTENTRY(x) _ENTRY(x); \ argument 69 #define ENTRY(x) _ENTRY(x); \ argument 75 #define ALTENTRY(x) _ENTRY(x) argument 76 #define ENTRY(x) _ENTRY(x) argument 79 #define END(x) .size x, . - x argument 90 #define RCSID(x) .text; .asciz x argument
|
/illumos-gate/usr/src/head/iso/ |
H A D | math_c99.h | 71 #define isnan(x) __builtin_isnan(x) argument 72 #define isinf(x) __builtin_isinf(x) argument 73 #define isfinite(x) (__builtin_isfinite(x) != 0) argument 74 #define isnormal(x) (__builtin_isnormal(x) != 0) argument 75 #define signbit(x) (__builtin_signbit(x) != 0) argument 124 #define isgreater(x, y) __builtin_isgreater(x, y) argument 126 #define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) argument 128 #define isless(x, y) __builtin_isless(x, y) argument 130 #define islessequal(x, y) __builtin_islessequal(x, y) argument 132 #define islessgreater(x, y) __builtin_islessgreater(x, y) argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | optcom.h | 93 #define OA_R_NOPRIV(x) ((x)->opdes_access_nopriv & OA_R) argument 94 #define OA_R_ANYPRIV(x) (OA_ANY_ACCESS(x) & OA_R) argument 96 #define OA_X_ANYPRIV(x) (OA_ANY_ACCESS(x) & OA_X) argument 98 #define OA_W_ANYPRIV(x) (OA_ANY_ACCESS(x) & OA_W) argument 100 #define OA_WX_ANYPRIV(x) (OA_ANY_ACCESS(x) & OA_WX) argument 101 #define OA_RWX_ANYPRIV(x) (OA_ANY_ACCESS(x) & OA_RWX) argument 115 #define OA_POLICY_OK(x, c) \ argument 118 #define OA_POLICY_ONLY_OK(x, c) \ argument 124 #define OA_READ_PERMISSION(x, c) (OA_R_NOPRIV(x) || \ argument 127 #define OA_WRITE_OR_EXECUTE(x, c) (OA_WX_NOPRIV(x) || \ argument [all …]
|
/illumos-gate/usr/src/boot/include/ |
H A D | math.h | 82 #define __fp_type_select(x, f, d, ld) _Generic((x), \ argument 103 #define __fp_type_select(x, f, d, ld) \ argument 109 #define fpclassify(x) \ argument 113 #define isnan(x) \ argument 118 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 120 #define isless(x, y) __builtin_isless((x), (y)) argument 121 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 123 #define isunordered(x, y) __builtin_isunordered((x), (y)) argument 127 #define isless(x, y) (!isunordered((x), (y)) && (x) < (y)) argument 129 #define islessgreater(x, y) (!isunordered((x), (y)) && \ argument [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | libm.h | 46 #define NAME(x) x argument 60 #define SET_FILE(x) \ argument 111 #define MCOUNT(x) \ argument 124 #define MCOUNT(x) \ argument 138 #define MCOUNT(x) \ argument 160 #define PIC_SETUP(x) argument 162 #define PIC_F(x) x@PLT argument 183 #define PIC_SETUP(x) argument 185 #define PIC_F(x) x argument 186 #define PIC_G(x) x argument [all …]
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 84 inline Boolean(int x) // Constructor from int in Boolean() 138 Double(double x = 0.): val(x) { } in val() argument 139 Double(const Double &x): val(x.val) { } in Double() 154 inline double min(const Double& x, const Double& y) { in min() 158 inline double min(const Double& x, double y) { in min() 161 inline double min(double x, const Double& y) { in min() 165 inline double max(const Double& x, const Double& y) { in max() 168 inline double max(const Double& x, double y) { in max() 171 inline double max(double x, const Double& y) { in max() 246 inline int Undefined(const Double &x) { in Undefined() [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/tools/smatch/src/validation/optim/ |
H A D | canonical-add.c | 1 int xpc_add_ypc(int x, int y) in xpc_add_ypc() 6 int xmc_add_ypc(int x, int y) in xmc_add_ypc() 11 int xpc_add_ymc(int x, int y) in xpc_add_ymc() 16 int xmc_add_ymc(int x, int y) in xmc_add_ymc() 21 int xpc_sub_ypc(int x, int y) in xpc_sub_ypc() 26 int xmc_sub_ypc(int x, int y) in xmc_sub_ypc() 31 int xpc_sub_ymc(int x, int y) in xpc_sub_ymc() 36 int xmc_sub_ymc(int x, int y) in xmc_sub_ymc()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | wait.h | 68 #define WIFEXITED(x) (!((x)&((1<<(EXIT_BITS-1))-1))) argument 72 #define WEXITSTATUS(x) (((x)>>EXIT_BITS)&((1<<EXIT_BITS)-1)) argument 76 #define WIFSIGNALED(x) (((x)&((1<<(EXIT_BITS-1))-1))!=0) argument 80 #define WTERMSIG(x) ((x)&((1<<(EXIT_BITS-1))-1)) argument 84 #define WIFSTOPPED(x) (((x)&((1<<EXIT_BITS)-1))==((1<<(EXIT_BITS-1))-1)) argument 88 #define WSTOPSIG(x) WEXITSTATUS(x) argument 92 #define WTERMCORE(x) ((x)&(1<<(EXIT_BITS-1))) argument
|