Home
last modified time | relevance | path

Searched defs:X (Results 1 – 25 of 160) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A D_elf.h134 #define ELFPRV(X) ((X)->rt_priv) argument
135 #define SYMTAB(X) (((Rt_elfp *)(X)->rt_priv)->e_symtab) argument
137 #define HASH(X) (((Rt_elfp *)(X)->rt_priv)->e_hash) argument
138 #define STRTAB(X) (((Rt_elfp *)(X)->rt_priv)->e_strtab) argument
139 #define REL(X) (((Rt_elfp *)(X)->rt_priv)->e_reloc) argument
140 #define PLTGOT(X) (((Rt_elfp *)(X)->rt_priv)->e_pltgot) argument
141 #define MOVESZ(X) (((Rt_elfp *)(X)->rt_priv)->e_movesz) argument
146 #define PTTLS(X) (((Rt_elfp *)(X)->rt_priv)->e_pttls) argument
150 #define RELSZ(X) (((Rt_elfp *)(X)->rt_priv)->e_relsz) argument
174 #define THIS_IS_ELF(X) (FCT(X) == &elf_fct) argument
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dreloc_defs.h92 #define RELTAB_IS_PLT(X, _reltab) \ argument
98 #define RELTAB_IS_GOT_PC(X, _reltab) \ argument
101 #define RELTAB_IS_GOTPCREL(X, _reltab) \ argument
121 #define RELTAB_IS_REGISTER(X, _reltab) \ argument
124 #define RELTAB_IS_NOTSUP(X, _reltab) \ argument
136 #define RELTAB_IS_TLS_INS(X, _reltab) \ argument
140 #define RELTAB_IS_TLS_GD(X, _reltab) \ argument
143 #define RELTAB_IS_TLS_LD(X, _reltab) \ argument
146 #define RELTAB_IS_TLS_IE(X, _reltab) \ argument
149 #define RELTAB_IS_TLS_LE(X, _reltab) \ argument
[all …]
H A Dreloc.h102 #define IS_PLT(X) RELTAB_IS_PLT(X, reloc_table) argument
104 #define IS_GOT_PC(X) RELTAB_IS_GOT_PC(X, reloc_table) argument
105 #define IS_GOTPCREL(X) RELTAB_IS_GOTPCREL(X, reloc_table) argument
111 #define IS_REGISTER(X) RELTAB_IS_REGISTER(X, reloc_table) argument
112 #define IS_NOTSUP(X) RELTAB_IS_NOTSUP(X, reloc_table) argument
116 #define IS_TLS_INS(X) RELTAB_IS_TLS_INS(X, reloc_table) argument
117 #define IS_TLS_GD(X) RELTAB_IS_TLS_GD(X, reloc_table) argument
118 #define IS_TLS_LD(X) RELTAB_IS_TLS_LD(X, reloc_table) argument
119 #define IS_TLS_IE(X) RELTAB_IS_TLS_IE(X, reloc_table) argument
120 #define IS_TLS_LE(X) RELTAB_IS_TLS_LE(X, reloc_table) argument
[all …]
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_encode.h60 #define audio_a2c(X) ((char)(_alaw2linear[(unsigned char) (X)] >> 8)) argument
61 #define audio_a2s(X) (_alaw2linear[(unsigned char) (X)]) argument
65 #define audio_c2a(X) (_linear2alaw[((short)(X)) << 5]) argument
66 #define audio_s2a(X) (_linear2alaw[((short)(X)) >> 3]) argument
67 #define audio_l2a(X) (_linear2alaw[((long)(X)) >> 19]) argument
73 #define audio_u2s(X) (_ulaw2linear[(unsigned char) (X)]) argument
77 #define audio_c2u(X) (_linear2ulaw[((short)(X)) << 6]) argument
78 #define audio_s2u(X) (_linear2ulaw[((short)(X)) >> 2]) argument
79 #define audio_l2u(X) (_linear2ulaw[((long)(X)) >> 18]) argument
83 #define audio_a2u(X) (_alaw2ulaw[(unsigned char)(X)]) argument
[all …]
H A Daudio_hdr.h129 #define audio_d2c(X) ((X) >= 1. ? 127 : (X) <= -1. ? -127 : \ argument
131 #define audio_d2s(X) ((X) >= 1. ? 32767 : (X) <= -1. ? -32767 :\ argument
133 #define audio_d2l(X) ((X) >= 1. ? 2147483647 : (X) <= -1. ? \ argument
138 #define audio_c2d(X) (((unsigned char)(X)) == 0x80 ? -1. : \ argument
140 #define audio_s2d(X) (((unsigned short)(X)) == 0x8000 ? -1. :\ argument
142 #define audio_l2d(X) (((unsigned long)(X)) == 0x80000000 ? -1. :\ argument
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dparse.y93 create_table ::= CREATE(X) temp(T) TABLE nm(Y). { in CREATE() argument
99 create_table_args ::= LP columnlist conslist_opt RP(X). { in RP() argument
114 columnid ::= nm(X). {sqliteAddColumn(pParse,&X);} in nm() argument
165 type ::= typename(X) LP signed COMMA signed RP(Y). in typename() argument
171 signed(A) ::= INTEGER(X). { A = atoi(X.z); } in INTEGER() argument
172 signed(A) ::= PLUS INTEGER(X). { A = atoi(X.z); } in INTEGER() argument
173 signed(A) ::= MINUS INTEGER(X). { A = -atoi(X.z); } in INTEGER() argument
178 carg ::= DEFAULT STRING(X). {sqliteAddDefaultValue(pParse,&X,0);} in STRING() argument
179 carg ::= DEFAULT ID(X). {sqliteAddDefaultValue(pParse,&X,0);} in ID() argument
180 carg ::= DEFAULT INTEGER(X). {sqliteAddDefaultValue(pParse,&X,0);} in INTEGER() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dtgdk.h100 #define TGDK_SETNODETYPE(X, Y) \ argument
124 #define TGDK_IOCTL(X, dev, cmd, arg, flag, cred_p, rval_p) \ argument
134 #define TGDK_IOB_ALLOC(X, logblk, xfer, sleep) \ argument
137 #define TGDK_IOB_FREE(X, datap) \ argument
140 #define TGDK_IOB_HTOC(X, handle) \ argument
143 #define TGDK_IOB_RD(X, handle) \ argument
146 #define TGDK_IOB_WR(X, handle) \ argument
151 #define TGDK_GETPHYGEOM(X, datap) \ argument
154 #define TGDK_SET_BBHOBJ(X, objp) \ argument
157 #define TGDK_CHECK_MEDIA(X, state) \ argument
[all …]
H A Dcontroller.h68 #define CTL_DIP_CTL(X) (((struct ctl_obj *)(X))->c_ext->c_ctldip) argument
69 #define CTL_DIP_DEV(X) (((struct ctl_obj *)(X))->c_ext->c_devdip) argument
70 #define CTL_GET_TYPE(X) (((struct ctl_obj *)(X))->c_ext->c_type_cookie) argument
71 #define CTL_GET_LKARG(X) (((struct ctl_obj *)(X))->c_ext->c_lkarg) argument
72 #define CTL_GET_TARG(X) (((struct ctl_obj *)(X))->c_ext->c_targ) argument
73 #define CTL_GET_BLKSZ(X) (((struct ctl_obj *)(X))->c_ext->c_blksz) argument
75 #define CTL_PKTALLOC(X, callback, arg) \ argument
78 #define CTL_PKTFREE(X, pktp) \ argument
81 #define CTL_MEMSETUP(X, pktp, bp, callback, arg) \ argument
90 #define CTL_ABORT(X, pktp) (*((struct ctl_obj *)(X))->c_ops->c_abort) \ argument
[all …]
H A Dbbh.h63 #define BBH_GETCK_SECTOR(X, ckp) ((ckp)->ck_sector) argument
64 #define BBH_GETCK_SECLEN(X, ckp) ((ckp)->ck_seclen) argument
66 #define BBH_INIT(X) (*((struct bbh_obj *)(X))->bbh_ops->bbh_init)\ argument
68 #define BBH_FREE(X) (*((struct bbh_obj *)(X))->bbh_ops->bbh_free) ((X)) argument
69 #define BBH_GETHANDLE(X, bp) (*((struct bbh_obj *)(X))->bbh_ops->bbh_gethandle)\ argument
71 #define BBH_HTOC(X, handle) (*((struct bbh_obj *)(X))->bbh_ops->bbh_htoc) \ argument
73 #define BBH_FREEHANDLE(X, handle) \ argument
H A Dflowctrl.h56 #define FLC_INIT(X, tgcomobjp, queobjp, lkarg) \ argument
59 #define FLC_FREE(X) (*((struct flc_obj *)(X))->flc_ops->flc_free) ((X)) argument
60 #define FLC_ENQUE(X, bp) (*((struct flc_obj *)(X))->flc_ops->flc_enque) \ argument
62 #define FLC_DEQUE(X, bp) (*((struct flc_obj *)(X))->flc_ops->flc_deque) \ argument
64 #define FLC_START_KSTAT(X, devtype, instance) \ argument
67 #define FLC_STOP_KSTAT(X) (*((struct flc_obj *)(X))->flc_ops->flc_stop_kstat) \ argument
H A Dqueue.h54 #define QUE_INIT(X, lkarg) (*((struct que_obj *)(X))->que_ops->que_init) \ argument
56 #define QUE_FREE(X) (*((struct que_obj *)(X))->que_ops->que_free) ((X)) argument
57 #define QUE_ADD(X, bp) (*((struct que_obj *)(X))->que_ops->que_ins) \ argument
59 #define QUE_DEL(X) (*((struct que_obj *)(X))->que_ops->que_del) \ argument
H A Dtgcom.h50 #define TGCOM_INIT(X) (*((struct tgcom_obj *)(X))->com_ops->com_init)\ argument
52 #define TGCOM_FREE(X) (*((struct tgcom_obj *)(X))->com_ops->com_free) ((X)) argument
53 #define TGCOM_PKT(X, bp, cb, arg) \ argument
56 #define TGCOM_TRANSPORT(X, bp) \ argument
/illumos-gate/usr/src/cmd/lp/include/
H A Doam.h122 #define LP_ERRMSG(C,X) (void)printf("", C, X) argument
123 #define LP_ERRMSG1(C,X,A) (void)printf("", C, X, A) argument
124 #define LP_ERRMSG2(C,X,A1,A2) (void)printf("", C, X, A1, A2) argument
125 #define LP_ERRMSG3(C,X,A1,A2,A3) (void)printf("", C, X, A1, A2, A3) argument
129 #define LP_ERRMSG(C,X) \ argument
136 #define LP_ERRMSG1(C,X,A) \ argument
143 #define LP_ERRMSG2(C,X,A1,A2) \ argument
150 #define LP_ERRMSG3(C,X,A1,A2,A3) \ argument
161 #define fmt1(X,A) (vsnp(_m_, MSGSIZ, agettxt((X),_f_,MSGSIZ), A), _m_) argument
162 #define fmt2(X,A,B) (vsnp(_m_, MSGSIZ, agettxt((X),_f_,MSGSIZ), A,B), _m_) argument
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfpparts.h128 #define SIGNBIT(X) (((_dval *)&(X))->fparts.sign) argument
129 #define EXPONENT(X) (((_dval *)&(X))->fparts.exp) argument
131 #define HIFRACTION(X) (((_dval *)&(X))->fparts.hi) argument
132 #define LOFRACTION(X) (((_dval *)&(X))->fparts.lo) argument
134 #define HIWORD(X) (((_dval *)&(X))->fwords.hi) argument
135 #define LOWORD(X) (((_dval *)&(X))->fwords.lo) argument
138 #define ISMAXEXP(X) ((EXPONENT(X)) == MAXEXP) argument
142 #define HIQNAN(X) ((HIWORD(X)) = 0x7ff80000) argument
146 #define FSIGNBIT(X) (((_fval *)&(X))->fparts.sign) argument
150 #define FWORD(X) (((_fval *)&(X))->fword) argument
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfex_handler.h73 #define __fenv_get_rd(X) ((X>>30)&0x3) argument
76 #define __fenv_get_te(X) ((X>>23)&0x1f) argument
79 #define __fenv_get_ex(X) ((X>>5)&0x1f) argument
90 #define __fenv_get_rd(X) ((X>>26)&3) argument
91 #define __fenv_set_rd(X,Y) X=(X&~0x0c000000)|((Y)<<26) argument
93 #define __fenv_get_rp(X) ((X>>24)&3) argument
94 #define __fenv_set_rp(X,Y) X=(X&~0x03000000)|((Y)<<24) argument
96 #define __fenv_get_te(X) ((X>>16)&0x3d) argument
97 #define __fenv_set_te(X,Y) X=(X&~0x003d0000)|((Y)<<16) argument
99 #define __fenv_get_ex(X) (X&0x3d) argument
[all …]
H A D__fex_sparc.c49 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X] argument
51 #define FPREG(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_dregs[(X>>1)| \ argument
58 #define FPxreg(X) &((prxregset_t*)uap->uc_mcontext.xrs.xrs_ptr)->pr_un.pr_v8p.pr_xfr.pr_regs[X] argument
60 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X] argument
62 #define FPREG(X) ((X & 1)? FPxreg(X - 1) : FPreg(X)) argument
/illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/
H A Dpredef.c9 #define TEST_BIT(X, T) if (__ ## X ## _BIT__ != BITS(T)) return 1 in test() argument
12 #define TEST_MAX(X, M) if (__ ## X ## _MAX__ != M) return 1 in test() argument
13 #define TEST_SMAX(X, T) TEST_MAX(X, SMASK(T)) in test() argument
14 #define TEST_UMAX(X, T) TEST_MAX(X, UMASK(T)) in test() argument
35 #define TEST_SIZEOF(X, T) if (__SIZEOF_ ## X ## __ != sizeof(T)) return 1 in test() argument
/illumos-gate/usr/src/cmd/sgs/include/
H A Drtld.h927 #define MSIZE(X) ((X)->rt_msize) argument
928 #define FLAGS(X) ((X)->rt_flags) argument
943 #define INIT(X) ((X)->rt_init) argument
944 #define FINI(X) ((X)->rt_fini) argument
951 #define FCT(X) ((X)->rt_fct) argument
953 #define LIST(X) ((X)->rt_list) argument
957 #define MODE(X) ((X)->rt_mode) argument
980 #define IDX(X) ((X)->rt_idx) argument
981 #define LAZY(X) ((X)->rt_lazy) argument
982 #define CNTL(X) ((X)->rt_cntl) argument
[all …]
/illumos-gate/usr/src/head/
H A Dnan.h102 #define IsNANorINF(X) (((dnan *)&(X))->nan_parts.exponent == 0x7ff) argument
107 #define IsINF(X) (((dnan *)&(X))->inf_parts.bits == 0 && \ argument
113 #define IsPosNAN(X) (((dnan *)&(X))->nan_parts.sign == 0) argument
115 #define IsNegNAN(X) (((dnan *)&(X))->nan_parts.sign == 1) argument
124 #define NaN(X) (((dnan *)&(X))->nan_parts.exponent == 0x7ff) argument
125 #define KILLNaN(X) if (NaN(X)) KILLFPE() argument
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSCommon.h113 #define mDNSIsDigit(X) ((X) >= '0' && (X) <= '9') argument
114 #define mDNSIsUpperCase(X) ((X) >= 'A' && (X) <= 'Z') argument
115 #define mDNSIsLowerCase(X) ((X) >= 'a' && (X) <= 'z') argument
116 #define mDNSIsLetter(X) (mDNSIsUpperCase(X) || mDNSIsLowerCase(X)) argument
126 #define mDNSValidHostChar(X, notfirst, notlast) (mDNSIsLetter(X) || mDNSIsDigit(X) || ((notfirst) &… argument
198 #define LocalRecordReady(X) ((X)->resrec.RecordType != kDNSRecordTypeUnique) argument
253 #define HashSlotFromNameHash(X) ((X) % CACHE_HASH_SLOTS) argument
308 #define mDNS_Lock(X) mDNS_Lock_((X), __func__) argument
310 #define mDNS_Unlock(X) mDNS_Unlock_((X), __func__) argument
312 #define mDNS_CheckLock(X) \ argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h112 # define socklen(X) ((X)->sa_len) argument
115 # define socklen(X) ((X)->sa_family == AF_INET6 ? (socklen_t) sizeof (struct sockaddr_in6) : (… argument
117 # define socklen(X) ((X)->sa_family == AF_INET ? (socklen_t) sizeof (struct sockaddr_in) : (so… argument
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dinteger-const-expr.c27 #define CHX_P(X) __builtin_choose_expr(ICE_P(X), 1, 0) argument
28 #define CST_P(X) __builtin_constant_p(ICE_P(X)) argument
30 #define TEST(R, X) _Static_assert(ICE_P(X) == R, "ICE_P(" #X ") => " #R); \ argument
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c47 #define IS_PLT(X) RELTAB_IS_PLT(X, ld_targ.t_mr.mr_reloc_table) argument
48 #define IS_GOT_RELATIVE(X) \ argument
50 #define IS_GOT_PC(X) RELTAB_IS_GOT_PC(X, ld_targ.t_mr.mr_reloc_table) argument
54 #define IS_GOT_REQUIRED(X) \ argument
57 #define IS_ADD_RELATIVE(X) \ argument
60 #define IS_NOTSUP(X) RELTAB_IS_NOTSUP(X, ld_targ.t_mr.mr_reloc_table) argument
61 #define IS_SEG_RELATIVE(X) \ argument
64 #define IS_SEC_RELATIVE(X) \ argument
67 #define IS_TLS_GD(X) RELTAB_IS_TLS_GD(X, ld_targ.t_mr.mr_reloc_table) argument
68 #define IS_TLS_LD(X) RELTAB_IS_TLS_LD(X, ld_targ.t_mr.mr_reloc_table) argument
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects.h279 #define PSVC_GET_VERSION(X) ((X >> PSVC_VERSION_SHIFT) & 0xF) argument
280 #define PSVC_IS_ACTIVE_LOW(X) ((X >> PSVC_ACTIVE_LOW_SHIFT) & 0x1) argument
281 #define PSVC_GET_BIT_NUM(X) ((X >> PSVC_BIT_NUM_SHIFT) & 0x7) argument
282 #define PSVC_HP_INVERT(X) (((X >> PSVC_INVERT_SHIFT) & 0x7) == 1) argument
283 #define PSVC_GET_ASPEC_PORT(X) ((X >> PSVC_PORT_SHIFT) & 0xF) argument
284 #define PSVC_GET_ASPEC_BITSHIFT(X) ((X >> PSVC_BITSHIFT_SHIFT) & 0xF) argument
286 #define PSVC_GET_ASPEC_REG(X) ((X >> PSVC_REG_SHIFT) & 0xFF) argument
287 #define PSVC_GET_ASPEC_TYPE(X) ((X >> PSVC_TYPE_SHIFT) & 0xFF) argument
288 #define PSVC_GET_ASPEC_BUSADDR(X) ((X >> PSVC_BUSADDR_SHIFT) & 0xFF) argument
289 #define PSVC_GET_ASPEC_BUSNUM(X) ((X >> PSVC_BUSNUM_SHIFT) & 0xFF) argument
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dparam.h171 #define lobyte(X) (((unsigned char *)&(X))[0]) argument
172 #define hibyte(X) (((unsigned char *)&(X))[1]) argument
173 #define loword(X) (((ushort_t *)&(X))[0]) argument
174 #define hiword(X) (((ushort_t *)&(X))[1]) argument
177 #define lobyte(X) (((unsigned char *)&(X))[1]) argument
178 #define hibyte(X) (((unsigned char *)&(X))[0]) argument
179 #define loword(X) (((ushort_t *)&(X))[1]) argument
180 #define hiword(X) (((ushort_t *)&(X))[0]) argument

1234567