Home
last modified time | relevance | path

Searched defs:X (Results 1 – 25 of 157) 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
136 #define SUNWSYMTAB(X) (((Rt_elfp *)(X)->rt_priv)->e_sunwsymtab) 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
142 #define MOVEENT(X) (((Rt_elfp *)(X)->rt_priv)->e_moveent) argument
143 #define MOVETAB(X) (((Rt_elfp *)(X)->rt_priv)->e_movetab) argument
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dreloc_defs.h90 #define RELTAB_IS_PLT(X, _reltab) \ argument
93 #define RELTAB_IS_GOT_RELATIVE(X, _reltab) \ argument
96 #define RELTAB_IS_GOT_PC(X, _reltab) \ argument
99 #define RELTAB_IS_GOTPCREL(X, _reltab) \ argument
103 #define RELTAB_IS_GOT_BASED(X, _reltab) \ argument
106 #define RELTAB_IS_GOT_OPINS(X, _reltab) \ argument
109 #define RELTAB_IS_GOT_REQUIRED(X, _reltab) \ argument
113 #define RELTAB_IS_PC_RELATIVE(X, _reltab) \ argument
116 #define RELTAB_IS_ADD_RELATIVE(X, _reltab) \ argument
119 #define RELTAB_IS_REGISTER(X, _reltab) \ argument
[all …]
H A Dreloc.h102 #define IS_PLT(X) RELTAB_IS_PLT(X, reloc_table) argument
103 #define IS_GOT_RELATIVE(X) RELTAB_IS_GOT_RELATIVE(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
106 #define IS_GOT_BASED(X) RELTAB_IS_GOT_BASED(X, reloc_table) argument
107 #define IS_GOT_OPINS(X) RELTAB_IS_GOT_OPINS(X, reloc_table) argument
108 #define IS_GOT_REQUIRED(X) RELTAB_IS_GOT_REQUIRED(X, reloc_table) argument
109 #define IS_PC_RELATIVE(X) RELTAB_IS_PC_RELATIVE(X, reloc_table) argument
110 #define IS_ADD_RELATIVE(X) RELTAB_IS_ADD_RELATIVE(X, reloc_table) argument
111 #define IS_REGISTER(X) RELTAB_IS_REGISTER(X, reloc_table) argument
[all …]
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_encode.h58 #define audio_a2c(X) ((char)(_alaw2linear[(unsigned char) (X)] >> 8)) argument
59 #define audio_a2s(X) (_alaw2linear[(unsigned char) (X)]) argument
60 #define audio_a2l(X) (((long)_alaw2linear[(unsigned char) (X)]) << 16) argument
63 #define audio_c2a(X) (_linear2alaw[((short)(X)) << 5]) argument
64 #define audio_s2a(X) (_linear2alaw[((short)(X)) >> 3]) argument
65 #define audio_l2a(X) (_linear2alaw[((long)(X)) >> 19]) argument
70 #define audio_u2c(X) ((char)(_ulaw2linear[(unsigned char) (X)] >> 8)) argument
71 #define audio_u2s(X) (_ulaw2linear[(unsigned char) (X)]) argument
72 #define audio_u2l(X) (((long)_ulaw2linear[(unsigned char) (X)]) << 16) argument
75 #define audio_c2u(X) (_linear2ulaw[((short)(X)) << 6]) argument
[all …]
H A Daudio_hdr.h127 #define audio_d2c(X) ((X) >= 1. ? 127 : (X) <= -1. ? -127 : \ argument
129 #define audio_d2s(X) ((X) >= 1. ? 32767 : (X) <= -1. ? -32767 :\ argument
131 #define audio_d2l(X) ((X) >= 1. ? 2147483647 : (X) <= -1. ? \ argument
136 #define audio_c2d(X) (((unsigned char)(X)) == 0x80 ? -1. : \ argument
138 #define audio_s2d(X) (((unsigned short)(X)) == 0x8000 ? -1. :\ argument
140 #define audio_l2d(X) (((unsigned long)(X)) == 0x80000000 ? -1. :\ argument
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dparse.y91 create_table ::= CREATE(X) temp(T) TABLE nm(Y). { in CREATE() argument
97 create_table_args ::= LP columnlist conslist_opt RP(X). { in RP() argument
112 columnid ::= nm(X). {sqliteAddColumn(pParse,&X);} in nm() argument
161 type ::= typename(X). {sqliteAddColumnType(pParse,&X,&X);} in typename() argument
162 type ::= typename(X) LP signed RP(Y). {sqliteAddColumnType(pParse,&X,&Y);} in typename() argument
163 type ::= typename(X) LP signed COMMA signed RP(Y). in typename() argument
169 signed(A) ::= INTEGER(X). { A = atoi(X.z); } in INTEGER() argument
170 signed(A) ::= PLUS INTEGER(X). { A = atoi(X.z); } in INTEGER() argument
171 signed(A) ::= MINUS INTEGER(X). { A = -atoi(X.z); } in INTEGER() argument
176 carg ::= DEFAULT STRING(X). {sqliteAddDefaultValue(pParse,&X,0);} in STRING() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dtgdk.h99 #define TGDK_GETNODETYPE(X) (((struct tgdk_obj *)(X))->tg_ext->tg_nodetype) argument
100 #define TGDK_SETNODETYPE(X, Y) \ argument
102 #define TGDK_RMB(X) (((struct tgdk_obj *)(X))->tg_ext->tg_rmb) argument
103 #define TGDK_RDONLY(X) (((struct tgdk_obj *)(X))->tg_ext->tg_rdonly) argument
104 #define TGDK_GETCTYPE(X) (((struct tgdk_obj *)(X))->tg_ext->tg_ctype) argument
107 #define TGDK_INIT(X, devp, flcobjp, queobjp, bbhobjp, lkarg) \ argument
111 #define TGDK_INIT_X(X, devp, flcobjp, queobjp, bbhobjp, lkarg, cbfunc, cbarg) \ argument
115 #define TGDK_FREE(X) (*((struct tgdk_obj *)(X))->tg_ops->tg_free) ((X)) argument
116 #define TGDK_PROBE(X, WAIT) (*((struct tgdk_obj *)(X))->tg_ops->tg_probe) \ argument
118 #define TGDK_ATTACH(X) (*((struct tgdk_obj *)(X))->tg_ops->tg_attach) \ argument
[all …]
H A Dcontroller.h66 #define CTL_DIP_CTL(X) (((struct ctl_obj *)(X))->c_ext->c_ctldip) argument
67 #define CTL_DIP_DEV(X) (((struct ctl_obj *)(X))->c_ext->c_devdip) argument
68 #define CTL_GET_TYPE(X) (((struct ctl_obj *)(X))->c_ext->c_type_cookie) argument
69 #define CTL_GET_LKARG(X) (((struct ctl_obj *)(X))->c_ext->c_lkarg) argument
70 #define CTL_GET_TARG(X) (((struct ctl_obj *)(X))->c_ext->c_targ) argument
71 #define CTL_GET_BLKSZ(X) (((struct ctl_obj *)(X))->c_ext->c_blksz) argument
73 #define CTL_PKTALLOC(X, callback, arg) \ argument
76 #define CTL_PKTFREE(X, pktp) \ argument
79 #define CTL_MEMSETUP(X, pktp, bp, callback, arg) \ argument
82 #define CTL_MEMFREE(X, pktp) (*((struct ctl_obj *)(X))->c_ops->c_memfree) \ 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.h54 #define FLC_INIT(X, tgcomobjp, queobjp, lkarg) \ argument
57 #define FLC_FREE(X) (*((struct flc_obj *)(X))->flc_ops->flc_free) ((X)) argument
58 #define FLC_ENQUE(X, bp) (*((struct flc_obj *)(X))->flc_ops->flc_enque) \ argument
60 #define FLC_DEQUE(X, bp) (*((struct flc_obj *)(X))->flc_ops->flc_deque) \ argument
62 #define FLC_START_KSTAT(X, devtype, instance) \ argument
65 #define FLC_STOP_KSTAT(X) (*((struct flc_obj *)(X))->flc_ops->flc_stop_kstat) \ argument
H A Dqueue.h52 #define QUE_INIT(X, lkarg) (*((struct que_obj *)(X))->que_ops->que_init) \ argument
54 #define QUE_FREE(X) (*((struct que_obj *)(X))->que_ops->que_free) ((X)) argument
55 #define QUE_ADD(X, bp) (*((struct que_obj *)(X))->que_ops->que_ins) \ argument
57 #define QUE_DEL(X) (*((struct que_obj *)(X))->que_ops->que_del) \ argument
H A Dtgcom.h48 #define TGCOM_INIT(X) (*((struct tgcom_obj *)(X))->com_ops->com_init)\ argument
50 #define TGCOM_FREE(X) (*((struct tgcom_obj *)(X))->com_ops->com_free) ((X)) argument
51 #define TGCOM_PKT(X, bp, cb, arg) \ argument
54 #define TGCOM_TRANSPORT(X, bp) \ argument
/illumos-gate/usr/src/cmd/lp/include/
H A Doam.h118 #define LP_ERRMSG(C,X) (void)printf("", C, X) argument
119 #define LP_ERRMSG1(C,X,A) (void)printf("", C, X, A) argument
120 #define LP_ERRMSG2(C,X,A1,A2) (void)printf("", C, X, A1, A2) argument
121 #define LP_ERRMSG3(C,X,A1,A2,A3) (void)printf("", C, X, A1, A2, A3) argument
125 #define LP_ERRMSG(C,X) \ argument
132 #define LP_ERRMSG1(C,X,A) \ argument
139 #define LP_ERRMSG2(C,X,A1,A2) \ argument
146 #define LP_ERRMSG3(C,X,A1,A2,A3) \ argument
157 #define fmt1(X,A) (vsnp(_m_, MSGSIZ, agettxt((X),_f_,MSGSIZ), A), _m_) argument
158 #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.h125 #define SIGNBIT(X) (((_dval *)&(X))->fparts.sign) argument
126 #define EXPONENT(X) (((_dval *)&(X))->fparts.exp) argument
128 #define HIFRACTION(X) (((_dval *)&(X))->fparts.hi) argument
129 #define LOFRACTION(X) (((_dval *)&(X))->fparts.lo) argument
130 #define QNANBIT(X) (((_dval *)&(X))->nparts.qnan_bit) argument
131 #define HIWORD(X) (((_dval *)&(X))->fwords.hi) argument
132 #define LOWORD(X) (((_dval *)&(X))->fwords.lo) argument
135 #define ISMAXEXP(X) ((EXPONENT(X)) == MAXEXP) argument
138 #define SETQNAN(X) ((((_dval *)&(X))->nparts.qnan_bit) = 0x1) argument
139 #define HIQNAN(X) ((HIWORD(X)) = 0x7ff80000) argument
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfex_handler.h73 #define __fenv_get_rd(X) ((X>>30)&0x3) argument
74 #define __fenv_set_rd(X,Y) X=(X&~0xc0000000ul)|((Y)<<30) argument
76 #define __fenv_get_te(X) ((X>>23)&0x1f) argument
77 #define __fenv_set_te(X,Y) X=(X&~0x0f800000ul)|((Y)<<23) argument
79 #define __fenv_get_ex(X) ((X>>5)&0x1f) argument
80 #define __fenv_set_ex(X,Y) X=(X&~0x000003e0ul)|((Y)<<5) 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
[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/cmd/sgs/include/
H A Drtld.h890 #define ADDR(X) ((X)->rt_public.l_addr) argument
891 #define NAME(X) ((X)->rt_public.l_name) argument
892 #define DYN(X) ((X)->rt_public.l_ld) argument
893 #define NEXT(X) ((X)->rt_public.l_next) argument
894 #define PREV(X) ((X)->rt_public.l_prev) argument
895 #define REFNAME(X) ((X)->rt_public.l_refname) argument
910 #define LINKMAP_TO_RTMAP(X) (Rt_map *)(void *)(X) argument
912 #define LINKMAP_TO_RTMAP(X) (Rt_map *)(X) argument
919 #define NEXT_RT_MAP(X) LINKMAP_TO_RTMAP(NEXT(X)) argument
920 #define PREV_RT_MAP(X) LINKMAP_TO_RTMAP(PREV(X)) argument
[all …]
/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/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/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
51 #define IS_GOTPCREL(X) RELTAB_IS_GOTPCREL(X, ld_targ.t_mr.mr_reloc_table) argument
52 #define IS_GOT_BASED(X) RELTAB_IS_GOT_BASED(X, ld_targ.t_mr.mr_reloc_table) argument
53 #define IS_GOT_OPINS(X) RELTAB_IS_GOT_OPINS(X, ld_targ.t_mr.mr_reloc_table) argument
54 #define IS_GOT_REQUIRED(X) \ argument
56 #define IS_PC_RELATIVE(X) RELTAB_IS_PC_RELATIVE(X, ld_targ.t_mr.mr_reloc_table) argument
57 #define IS_ADD_RELATIVE(X) \ argument
59 #define IS_REGISTER(X) RELTAB_IS_REGISTER(X, ld_targ.t_mr.mr_reloc_table) argument
[all …]
/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/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects.h277 #define PSVC_GET_VERSION(X) ((X >> PSVC_VERSION_SHIFT) & 0xF) argument
278 #define PSVC_IS_ACTIVE_LOW(X) ((X >> PSVC_ACTIVE_LOW_SHIFT) & 0x1) argument
279 #define PSVC_GET_BIT_NUM(X) ((X >> PSVC_BIT_NUM_SHIFT) & 0x7) argument
280 #define PSVC_HP_INVERT(X) (((X >> PSVC_INVERT_SHIFT) & 0x7) == 1) argument
281 #define PSVC_GET_ASPEC_PORT(X) ((X >> PSVC_PORT_SHIFT) & 0xF) argument
282 #define PSVC_GET_ASPEC_BITSHIFT(X) ((X >> PSVC_BITSHIFT_SHIFT) & 0xF) argument
283 #define PSVC_GET_ASPEC_BYTEMASK(X) ((X >> PSVC_BYTEMASK_SHIFT) & 0xFF) argument
284 #define PSVC_GET_ASPEC_REG(X) ((X >> PSVC_REG_SHIFT) & 0xFF) argument
285 #define PSVC_GET_ASPEC_TYPE(X) ((X >> PSVC_TYPE_SHIFT) & 0xFF) argument
286 #define PSVC_GET_ASPEC_BUSADDR(X) ((X >> PSVC_BUSADDR_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