Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 897) sorted by relevance

12345678910>>...36

/titanic_41/usr/src/common/crypto/ecc/
H A Dec2_233.c64 mp_digit *u, z; in ec_GF2m_233_mod() local
73 u = MP_DIGITS(r); in ec_GF2m_233_mod()
77 z = u[7]; in ec_GF2m_233_mod()
78 u[4] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod()
79 u[3] ^= (z << 23); in ec_GF2m_233_mod()
80 z = u[6]; in ec_GF2m_233_mod()
81 u[4] ^= (z >> 31); in ec_GF2m_233_mod()
82 u[3] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod()
83 u[2] ^= (z << 23); in ec_GF2m_233_mod()
84 z = u[5]; in ec_GF2m_233_mod()
[all …]
H A Dec2_193.c64 mp_digit *u, z; in ec_GF2m_193_mod() local
73 u = MP_DIGITS(r); in ec_GF2m_193_mod()
77 z = u[6]; in ec_GF2m_193_mod()
78 u[3] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod()
79 u[2] ^= (z << 63); in ec_GF2m_193_mod()
80 z = u[5]; in ec_GF2m_193_mod()
81 u[3] ^= (z >> 50); in ec_GF2m_193_mod()
82 u[2] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod()
83 u[1] ^= (z << 63); in ec_GF2m_193_mod()
84 z = u[4]; in ec_GF2m_193_mod()
[all …]
H A Dec2_163.c64 mp_digit *u, z; in ec_GF2m_163_mod() local
73 u = MP_DIGITS(r); in ec_GF2m_163_mod()
77 z = u[5]; in ec_GF2m_163_mod()
78 u[2] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
79 z = u[4]; in ec_GF2m_163_mod()
80 u[2] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod()
81 u[1] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
82 z = u[3]; in ec_GF2m_163_mod()
83 u[1] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod()
84 u[0] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c144 upap_state *u = &upap[unit]; local
146 u->us_unit = unit;
147 u->us_user = NULL;
148 u->us_userlen = 0;
149 u->us_passwd = NULL;
150 u->us_clientstate = UPAPCS_INITIAL;
151 u->us_serverstate = UPAPSS_INITIAL;
152 u->us_id = 0;
153 u->us_timeouttime = UPAP_DEFTIMEOUT;
154 u->us_maxtransmits = 10;
[all …]
/titanic_41/usr/src/lib/libc/sparc/fp/
H A D_Q_qtod.c41 union xdouble u; in _Q_qtod() local
60 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff80000; in _Q_qtod()
61 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
63 u.l.lo = (x->l.frac2 << 4) | in _Q_qtod()
68 __quad_fqtod(x, &u.d); in _Q_qtod()
75 return (u.d); in _Q_qtod()
78 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff00000; in _Q_qtod()
79 u.l.lo = 0; in _Q_qtod()
80 return (u.d); in _Q_qtod()
84 u.l.hi = 0x7ff00000; in _Q_qtod()
[all …]
H A D_Q_qtos.c44 } u; in _Q_qtos() local
63 u.l = (x->l.msw & 0x80000000) | 0x7fc00000; in _Q_qtos()
64 u.l |= ((xm & 0x7fff) << 7) | in _Q_qtos()
69 __quad_fqtos(x, &u.f); in _Q_qtos()
76 return (u.f); in _Q_qtos()
79 u.l = (x->l.msw & 0x80000000) | 0x7f800000; in _Q_qtos()
80 return (u.f); in _Q_qtos()
84 u.l = 0x7f800000; in _Q_qtos()
86 u.l = 0x7f7fffff; in _Q_qtos()
87 u.l |= (x->l.msw & 0x80000000); in _Q_qtos()
[all …]
H A D_Q_dtoq.c53 union xdouble u; in _Qp_dtoq() local
57 u.d = x; in _Qp_dtoq()
58 m = ((u.l.hi & 0x7ff00000) >> 4) + 0x3c000000; in _Qp_dtoq()
61 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
64 lhi = u.l.hi & 0xfffff; in _Qp_dtoq()
65 llo = u.l.lo; in _Qp_dtoq()
71 u.l.hi = (u.l.hi & 0x80000000) | lhi; in _Qp_dtoq()
72 u.l.lo = llo; in _Qp_dtoq()
79 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
89 u.l.hi |= 0x80000; in _Qp_dtoq()
[all …]
/titanic_41/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhci.h172 #define GetField(u, td, f, o, l) \ argument
173 ((GetTD32(u, (td)->f) >> (o)) & ((1U<<l)-1))
175 #define SetField(u, td, f, o, l, v) \ argument
176 SetTD32(u, (td)->f, \
177 (GetTD32(u, (td)->f) & ~(((1U<<l)-1) << o)) | \
180 #define GetTD_alen(u, td) GetField((u), (td), dw2, 0, 11) argument
181 #define GetTD_status(u, td) GetField((u), (td), dw2, 16, 8) argument
182 #define GetTD_ioc(u, td) GetField((u), (td), dw2, 24, 1) argument
183 #define GetTD_iso(u, td) GetField((u), (td), dw2, 25, 1) argument
184 #define GetTD_ls(u, td) GetField((u), (td), dw2, 26, 1) argument
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c78 if (lhs->u.name.s != rhs->u.name.s) in begins_with()
81 if (lhs->u.name.child && lhs->u.name.child->t == T_NUM) { in begins_with()
82 lnum = (int)lhs->u.name.child->u.ull; in begins_with()
83 } else if (lhs->u.name.child && lhs->u.name.child->t == T_NAME) { in begins_with()
84 iterinfop = lut_lookup(ex, (void *)lhs->u.name.child->u.name.s, in begins_with()
94 if (rhs->u.name.child && rhs->u.name.child->t == T_NUM) { in begins_with()
95 rnum = (int)rhs->u.name.child->u.ull; in begins_with()
96 } else if (rhs->u.name.child && rhs->u.name.child->t == T_NAME) { in begins_with()
97 iterinfop = lut_lookup(ex, (void *)rhs->u.name.child->u.name.s, in begins_with()
110 return (begins_with(lhs->u.name.next, rhs->u.name.next, ex)); in begins_with()
[all …]
H A Ditree.c218 for (; namep != NULL; namep = namep->u.name.next) { in tname_dup()
221 newnp->u.name.t = namep->u.name.t; in tname_dup()
222 newnp->u.name.s = namep->u.name.s; in tname_dup()
223 newnp->u.name.last = newnp; in tname_dup()
224 newnp->u.name.it = namep->u.name.it; in tname_dup()
225 newnp->u.name.cp = namep->u.name.cp; in tname_dup()
230 npc = namep->u.name.child; in tname_dup()
234 newnp->u.name.child = in tname_dup()
236 newnp->u.name.child->u.ull = in tname_dup()
237 npc->u.ull; in tname_dup()
[all …]
H A Deft_mdb.c396 (uintptr_t)node.u.name.s) < 0) in eft_node()
398 node.u.name.s); in eft_node()
401 if (node.u.name.cp) { in eft_node()
404 (uintptr_t)node.u.name.cp) != sizeof (cp)) { in eft_node()
406 node.u.name.cp); in eft_node()
410 } else if (node.u.name.it == IT_HORIZONTAL) { in eft_node()
411 if (node.u.name.child && !node.u.name.childgen) { in eft_node()
413 (void) eft_node((uintptr_t)node.u.name.child, in eft_node()
419 } else if (node.u.name.child) { in eft_node()
421 (void) eft_node((uintptr_t)node.u.name.child, in eft_node()
[all …]
H A Diexpr.c78 return ((uintptr_t)np->u.globid.s); in iexpr_hash()
105 (iexpr_hash(np->u.expr.left) + in iexpr_hash()
106 iexpr_hash(np->u.expr.right))); in iexpr_hash()
109 return ((uintptr_t)np->u.name.s); in iexpr_hash()
112 return (iexpr_hash(np->u.event.ename) + in iexpr_hash()
113 iexpr_hash(np->u.event.epname)); in iexpr_hash()
116 return ((uintptr_t)np->u.func.s + in iexpr_hash()
117 iexpr_hash(np->u.func.arglist)); in iexpr_hash()
120 return ((uintptr_t)np->u.quote.s); in iexpr_hash()
124 return ((int)np->u.ull); in iexpr_hash()
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dtree.c162 size += sizeof (ret->u.name) - sizeof (ret->u); in nodesize()
166 size += sizeof (ret->u.globid) - sizeof (ret->u); in nodesize()
171 size += sizeof (ret->u.ull) - sizeof (ret->u); in nodesize()
175 size += sizeof (ret->u.quote) - sizeof (ret->u); in nodesize()
179 size += sizeof (ret->u.func) - sizeof (ret->u); in nodesize()
194 size += sizeof (ret->u.stmt) - sizeof (ret->u); in nodesize()
198 size += sizeof (ret->u.event) - sizeof (ret->u); in nodesize()
202 size += sizeof (ret->u.arrow) - sizeof (ret->u); in nodesize()
206 size += sizeof (ret->u.expr) - sizeof (ret->u); in nodesize()
237 tree_free(root->u.name.child); in tree_free()
[all …]
H A Dcheck.c131 check_path_iterators(np->u.arrow.lhs); in check_path_iterators()
132 check_path_iterators(np->u.arrow.rhs); in check_path_iterators()
136 check_path_iterators(np->u.expr.left); in check_path_iterators()
137 check_path_iterators(np->u.expr.right); in check_path_iterators()
141 check_path_iterators(np->u.event.epname); in check_path_iterators()
145 if (np->u.name.child == NULL) in check_path_iterators()
149 np->u.name.s); in check_path_iterators()
150 check_path_iterators(np->u.name.next); in check_path_iterators()
166 if (np->u.arrow.lhs->t != T_ARROW && in check_arrow()
167 np->u.arrow.lhs->t != T_LIST && in check_arrow()
[all …]
H A Dptree.c105 out(flags|O_NONL, "%s", np->u.name.s); in ptree()
107 if (np->u.name.cp != NULL) { in ptree()
109 cp2num(np->u.name.cp, &num); in ptree()
111 } else if (np->u.name.it == IT_HORIZONTAL) { in ptree()
112 if (np->u.name.child == NULL || in ptree()
113 (np->u.name.childgen && !Pchildgen)) in ptree()
117 ptree(flags, np->u.name.child, in ptree()
121 } else if (np->u.name.child && in ptree()
122 (!np->u.name.childgen || Pchildgen)) { in ptree()
123 if (np->u.name.it != IT_NONE) in ptree()
[all …]
/titanic_41/usr/src/cmd/svc/startd/
H A Dutmpx.c231 struct utmpx u; in utmpx_set_runlevel() local
241 bzero(&u, sizeof (struct utmpx)); in utmpx_set_runlevel()
243 u.ut_id[0] = u.ut_id[1] = u.ut_id[2] = u.ut_id[3] = '\0'; in utmpx_set_runlevel()
244 u.ut_pid = 0; in utmpx_set_runlevel()
245 u.ut_type = RUN_LVL; in utmpx_set_runlevel()
247 (void) time(&u.ut_tv.tv_sec); in utmpx_set_runlevel()
252 if ((oup = getutxid(&u)) != NULL) { in utmpx_set_runlevel()
253 bcopy(oup->ut_host, u.ut_host, sizeof (u.ut_host)); in utmpx_set_runlevel()
254 bcopy(oup->ut_line, u.ut_line, sizeof (u.ut_line)); in utmpx_set_runlevel()
255 bcopy(oup->ut_user, u.ut_user, sizeof (u.ut_user)); in utmpx_set_runlevel()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil_impl.h115 } u; member
132 #define pathcmd_name u.path.path
133 #define nodecmd_nodeh u.node.nodeh
134 #define nodecmd_nodename u.node.nodename
135 #define nodecmd_classname u.node.classname
136 #define nodecmd_classname u.node.classname
137 #define propcmd_proph u.prop.proph
138 #define propcmd_pname u.prop.pname
139 #define propcmd_type u.prop.type
140 #define propcmd_accessmode u.prop.accessmode
[all …]
/titanic_41/usr/src/lib/libm/common/m9x/
H A Dfmaf.c47 unsigned u, s; in __fmaf() local
75 u = xy.i[1]; in __fmaf()
77 if (u & (s - 1)) in __fmaf()
78 u |= s; in __fmaf()
79 xy.i[1] = u & ~(s - 1); in __fmaf()
81 u = xy.i[0]; in __fmaf()
83 if ((u & (s - 1)) | xy.i[1]) in __fmaf()
84 u |= s; in __fmaf()
85 xy.i[0] = u & ~(s - 1); in __fmaf()
94 u = zz.i[1]; in __fmaf()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c242 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
270 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
300 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
328 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
363 child_obj->u.sec_obj->cont_hdl = parent_obj->obj_hdl; in add_to_sec_object_list()
364 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()
365 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()
369 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()
370 next_hash->u.sec_obj->next != NULL; in add_to_sec_object_list()
371 next_hash = next_hash->u.sec_obj->next) { in add_to_sec_object_list()
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Dct.c596 struct utmpx *u; local
598 while ((u = getutxent()) != NULL) {
599 if (u->ut_type == LOGIN_PROCESS
600 && EQUALS(u->ut_line, line)
601 && EQUALS(u->ut_user, "LOGIN") ) {
602 CDEBUG(7, "ut_line %s, ", u->ut_line);
603 CDEBUG(7, "ut_user %s, ", u->ut_user);
604 CDEBUG(7, "ut_id %.4s, ", u->ut_id);
605 CDEBUG(7, "ut_pid %d\n", u->ut_pid);
608 if (kill(u->ut_pid, 0) == 0 || errno == EPERM) {
[all …]
/titanic_41/usr/src/lib/libfru/libfruraw/
H A Draw_access.c110 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
138 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
168 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
196 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
224 hash_obj = lookup_handle_object(hash_obj->u.sec_obj->cont_hdl, in get_container_hash_object()
243 child_obj->u.pkt_obj->segment_hdl = parent_obj->obj_hdl; in add_to_pkt_object_list()
245 if (parent_obj->u.seg_obj->pkt_obj_list == NULL) { in add_to_pkt_object_list()
246 parent_obj->u.seg_obj->pkt_obj_list = child_obj; in add_to_pkt_object_list()
250 for (next_hash = parent_obj->u.seg_obj->pkt_obj_list; in add_to_pkt_object_list()
251 next_hash->u.pkt_obj->next != NULL; in add_to_pkt_object_list()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c101 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
130 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
161 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
190 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
225 child_obj->u.sec_obj->cont_hdl = parent_obj->obj_hdl; in add_to_sec_object_list()
226 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()
227 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()
231 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()
232 next_hash->u.sec_obj->next != NULL; in add_to_sec_object_list()
233 next_hash = next_hash->u.sec_obj->next) { in add_to_sec_object_list()
[all …]
/titanic_41/usr/src/uts/common/inet/
H A Dcommon.h68 #define U16_TO_BE16(u, a) ((((uint8_t *)a)[0] = (uint8_t)((u) >> 8)), \ argument
69 (((uint8_t *)a)[1] = (uint8_t)(u)))
70 #define U32_TO_BE32(u, a) ((((uint8_t *)a)[0] = (uint8_t)((u) >> 24)), \ argument
71 (((uint8_t *)a)[1] = (uint8_t)((u) >> 16)), \
72 (((uint8_t *)a)[2] = (uint8_t)((u) >> 8)), \
73 (((uint8_t *)a)[3] = (uint8_t)(u)))
85 #define U16_TO_ABE16(u, p) (*((uint16_t *)p) = (u)) argument
86 #define U32_TO_ABE16(u, p) U16_TO_ABE16(u, p) argument
87 #define U32_TO_ABE32(u, p) (*((uint32_t *)p) = (u)) argument
91 #define U16_TO_ABE16(u, p) U16_TO_BE16(u, p) argument
[all …]
/titanic_41/usr/src/cmd/acct/
H A Dfwtmp.c105 inp(FILE *file, struct utmpx *u) in inp() argument
116 u->ut_name[i] = *p++; in inp()
118 if (u->ut_name[i] == ' ') in inp()
119 u->ut_name[i] = '\0'; in inp()
126 if ((u->ut_id[i] = *p++) == ' ') in inp()
127 u->ut_id[i] = '\0'; in inp()
131 u->ut_line[i] = *p++; in inp()
133 if (u->ut_line[i] == ' ') in inp()
134 u->ut_line[i] = '\0'; in inp()
140 &u->ut_pid, in inp()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c102 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
131 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
162 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
191 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
226 child_obj->u.sec_obj->cont_hdl = parent_obj->obj_hdl; in add_to_sec_object_list()
227 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()
228 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()
232 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()
233 next_hash->u.sec_obj->next != NULL; in add_to_sec_object_list()
234 next_hash = next_hash->u.sec_obj->next) { in add_to_sec_object_list()
[all …]

12345678910>>...36