Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 1937) sorted by relevance

12345678910>>...78

/titanic_50/usr/src/uts/sparc/fpu/
H A Ddiv.c36 unsigned r[4], *y, q, c; local
72 r[0] = px->significand[0];
73 r[1] = px->significand[1];
74 r[2] = px->significand[2];
75 r[3] = px->significand[3];
78 if (fpu_cmpli(r, y, 4) >= 0)
86 if (fpu_cmpli(r, y, 4) >= 0) {
89 c = fpu_sub3wc(&r[3], r[3], y[3], c);
90 c = fpu_sub3wc(&r[2], r[2], y[2], c);
91 c = fpu_sub3wc(&r[1], r[1], y[1], c);
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A D_Qfdiv.c36 unsigned r[4],*y,q,c; local
71 r[0] = px->significand[0];
72 r[1] = px->significand[1];
73 r[2] = px->significand[2];
74 r[3] = px->significand[3];
77 if(fpu_cmpli(r,y,4)>=0)
85 if(fpu_cmpli(r,y,4)>=0) {
88 c = fpu_sub3wc(&r[3],r[3],y[3],c);
89 c = fpu_sub3wc(&r[2],r[2],y[2],c);
90 c = fpu_sub3wc(&r[1],r[1],y[1],c);
[all …]
/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dt-sem.c135 int r; local
137 r = setgid(gid);
138 if (r != 0)
139 return r;
140 r = setuid(uid);
141 return r;
163 int semid, r; local
168 r = drop_priv(uid, gid);
169 if (r < 0)
186 r = sm_semsetowner(semid, uid, gid, 0660);
[all …]
/titanic_50/usr/src/uts/common/syscall/
H A Drusagesys.c40 struct rusage r; in getrusage() local
46 bzero(&r, sizeof (struct rusage)); in getrusage()
51 r.ru_majflt = p->p_ru.majflt; in getrusage()
52 r.ru_minflt = p->p_ru.minflt; in getrusage()
53 r.ru_nswap = p->p_ru.nswap; in getrusage()
54 r.ru_inblock = p->p_ru.inblock; in getrusage()
55 r.ru_oublock = p->p_ru.oublock; in getrusage()
56 r.ru_msgsnd = p->p_ru.msgsnd; in getrusage()
57 r.ru_msgrcv = p->p_ru.msgrcv; in getrusage()
58 r.ru_nsignals = p->p_ru.nsignals; in getrusage()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/conf/
H A DSUNW,Netra-CP2300.RTM.conf30 PROP State string r 0 "connected"
31 PROP SlotType string r 0 "pci"
32 PROP Label string r 0 "CPU"
33 PROP devfs-path string r 0 "/pci@1f,0"
34 PROP PdevProbePath string r 0 ""
35 PROP bus-addr string r 0 "1,1"
37 PROP FRUType string r 0 "bridge/fhs"
38 PROP State string r 0 "configured"
39 PROP Condition string r 0 "unknown"
42 PROP SlotType string r 0 "pci"
[all …]
H A DSUNW,Netra-CP2300.conf30 PROP State string r 0 "connected"
31 PROP SlotType string r 0 "pci"
32 PROP Label string r 0 "CPU"
33 PROP bus-addr string r 0 "1,1"
34 PROP devfs-path string r 0 "/pci@1f,0"
35 PROP PdevProbePath string r 0 "/pci@1f,0"
37 PROP FRUType string r 0 "bridge/fhs"
38 PROP State string r 0 "configured"
39 PROP Condition string r 0 "unknown"
42 PROP SlotType string r 0 "pci"
[all …]
/titanic_50/usr/src/lib/libast/common/cdt/
H A Ddtlist.c41 reg Dtlink_t *r, *t; local
50 { if((r = dt->data->head) )
52 r = r->left;
53 dt->data->here = r;
55 return r ? _DTOBJ(r,lk) : NIL(Void_t*);
58 { if((dt->data->type&DT_LIST) || !(r = dt->data->head))
64 { for(r = dt->data->head; r; r = t)
65 { t = r->right;
67 (*disc->freef)(dt,_DTOBJ(r,lk),disc);
69 (*dt->memoryf)(dt,(Void_t*)r,0,disc);
[all …]
/titanic_50/usr/src/common/crypto/ecc/
H A Dec2_193.c61 ec_GF2m_193_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_mod() argument
66 if (a != r) { in ec_GF2m_193_mod()
67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_193_mod()
70 if (MP_USED(r) < 7) { in ec_GF2m_193_mod()
71 MP_CHECKOK(s_mp_pad(r, 7)); in ec_GF2m_193_mod()
73 u = MP_DIGITS(r); in ec_GF2m_193_mod()
74 MP_USED(r) = 7; in ec_GF2m_193_mod()
95 if (MP_USED(r) < 13) { in ec_GF2m_193_mod()
96 MP_CHECKOK(s_mp_pad(r, 13)); in ec_GF2m_193_mod()
98 u = MP_DIGITS(r); in ec_GF2m_193_mod()
[all …]
H A Dec2_233.c61 ec_GF2m_233_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_mod() argument
66 if (a != r) { in ec_GF2m_233_mod()
67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_233_mod()
70 if (MP_USED(r) < 8) { in ec_GF2m_233_mod()
71 MP_CHECKOK(s_mp_pad(r, 8)); in ec_GF2m_233_mod()
73 u = MP_DIGITS(r); in ec_GF2m_233_mod()
74 MP_USED(r) = 8; in ec_GF2m_233_mod()
99 if (MP_USED(r) < 15) { in ec_GF2m_233_mod()
100 MP_CHECKOK(s_mp_pad(r, 15)); in ec_GF2m_233_mod()
102 u = MP_DIGITS(r); in ec_GF2m_233_mod()
[all …]
H A Dec2_163.c61 ec_GF2m_163_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_mod() argument
66 if (a != r) { in ec_GF2m_163_mod()
67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_163_mod()
70 if (MP_USED(r) < 6) { in ec_GF2m_163_mod()
71 MP_CHECKOK(s_mp_pad(r, 6)); in ec_GF2m_163_mod()
73 u = MP_DIGITS(r); in ec_GF2m_163_mod()
74 MP_USED(r) = 6; in ec_GF2m_163_mod()
91 if (MP_USED(r) < 11) { in ec_GF2m_163_mod()
92 MP_CHECKOK(s_mp_pad(r, 11)); in ec_GF2m_163_mod()
94 u = MP_DIGITS(r); in ec_GF2m_163_mod()
[all …]
H A Decp_384.c59 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_mod() argument
90 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod()
176 MP_CHECKOK(mp_add(&m[0], &m[1], r)); in ec_GFp_nistp384_mod()
177 MP_CHECKOK(mp_add(r, &m[1], r)); in ec_GFp_nistp384_mod()
178 MP_CHECKOK(mp_add(r, &m[2], r)); in ec_GFp_nistp384_mod()
179 MP_CHECKOK(mp_add(r, &m[3], r)); in ec_GFp_nistp384_mod()
180 MP_CHECKOK(mp_add(r, &m[4], r)); in ec_GFp_nistp384_mod()
181 MP_CHECKOK(mp_add(r, &m[5], r)); in ec_GFp_nistp384_mod()
182 MP_CHECKOK(mp_add(r, &m[6], r)); in ec_GFp_nistp384_mod()
183 MP_CHECKOK(mp_sub(r, &m[7], r)); in ec_GFp_nistp384_mod()
[all …]
H A Decl_gf.c217 ec_GFp_add(const mp_int *a, const mp_int *b, mp_int *r, in ec_GFp_add() argument
223 if ((res = mp_add(a, b, r)) != MP_OKAY) { in ec_GFp_add()
226 if (mp_cmp(r, &meth->irr) >= 0) { in ec_GFp_add()
227 return mp_sub(r, &meth->irr, r); in ec_GFp_add()
234 ec_GFp_neg(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_neg() argument
239 mp_zero(r); in ec_GFp_neg()
242 return mp_sub(&meth->irr, a, r); in ec_GFp_neg()
247 ec_GFp_sub(const mp_int *a, const mp_int *b, mp_int *r, in ec_GFp_sub() argument
253 res = mp_sub(a, b, r); in ec_GFp_sub()
255 MP_CHECKOK(mp_sub(b, a, r)); in ec_GFp_sub()
[all …]
/titanic_50/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c54 reg ssize_t r; local
71 r = -1;
84 if((r = ioctl(fd,I_PEEK,&pbuf)) < 0)
91 if(r > 0 && (r = pbuf.databuf.len) <= 0)
93 r = sysreadf(fd,buf,1);
94 return r;
96 if(r == 0)
97 r = -1;
98 else if(r > 0)
113 { r = -2;
[all …]
H A Dsfpoll.c40 reg int r, c, m, np; local
60 for(r = c = 0; r < n; ++r) /* compute streams that must be checked */
61 { f = fa[r];
62 status[r] = 0;
70 status[r] |= SF_READ;
73 status[r] |= SF_WRITE;
75 if((f->flags&SF_RDWR) == status[r])
83 { status[r] = m&SF_RDWR;
89 check[c++] = r;
92 status[r] |= SF_READ;
[all …]
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_hdrs_ui.c402 sip_str_t *r; in sip_get_callid() local
404 r = (sip_str_t *)sip_get_val_from_msg(sip_msg, SIP_CALL_ID, SIP_STR_VAL, in sip_get_callid()
406 return (r); in sip_get_callid()
461 int *r; in sip_get_callseq_num() local
463 r = (int *)sip_get_cseq_val(sip_msg, SIP_CSEQ_NUM, error); in sip_get_callseq_num()
464 return (r == NULL ? -1 : *r); in sip_get_callseq_num()
473 sip_method_t *r; in sip_get_callseq_method() local
475 r = (sip_method_t *)sip_get_cseq_val(sip_msg, SIP_CSEQ_METHOD, error); in sip_get_callseq_method()
476 return (r == NULL ? -1 : *r); in sip_get_callseq_method()
732 int *r; in sip_get_maxforward() local
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Devent_port.c53 rval_t r; in port_create() local
54 r.r_vals = _portfs(PORT_CREATE | PORT_SYS_NOPORT, 0, 0, 0, 0, 0); in port_create()
55 return (r.r_val1); in port_create()
61 rval_t r; in port_associate() local
62 r.r_vals = _portfs(PORT_ASSOCIATE, port, source, object, events, in port_associate()
64 return (r.r_val1); in port_associate()
71 rval_t r; in port_get() local
73 r.r_vals = _portfs(PORT_GET, port, (uintptr_t)pe, to->tv_sec, in port_get()
76 r.r_vals = _portfs(PORT_GET, port, (uintptr_t)pe, 0, 0, NULL); in port_get()
77 return (r.r_val1); in port_get()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Dftrace.c358 ftrace_record_t *r; in ftrace_0() local
376 r = ftd->ftd_cur; in ftrace_0()
377 r->ftr_event = str; in ftrace_0()
378 r->ftr_thread = curthread; in ftrace_0()
379 r->ftr_tick = timestamp; in ftrace_0()
380 r->ftr_caller = caller; in ftrace_0()
382 if (r++ == ftd->ftd_last) in ftrace_0()
383 r = ftd->ftd_first; in ftrace_0()
384 ftd->ftd_cur = r; in ftrace_0()
392 ftrace_record_t *r; in ftrace_1() local
[all …]
/titanic_50/usr/src/lib/efcode/engine/
H A Dresource.c39 fc_resource_t *f, *prev, *r = *head; in find_resource() local
43 while (r) { in find_resource()
44 if (r->data == NULL) { in find_resource()
48 prev->next = r->next; in find_resource()
50 *head = r->next; in find_resource()
52 dead = r; in find_resource()
53 r = r->next; in find_resource()
56 if (cmp(ptr, r->data)) { in find_resource()
57 f = r; in find_resource()
60 prev = r; in find_resource()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c48 generic_ret *r; in kadm5_create_policy() local
59 r = create_policy_2(&arg, handle->clnt); in kadm5_create_policy()
60 if(r == NULL) in kadm5_create_policy()
63 return r->code; in kadm5_create_policy()
70 generic_ret *r; in kadm5_delete_policy() local
81 r = delete_policy_2(&arg, handle->clnt); in kadm5_delete_policy()
82 if(r == NULL) in kadm5_delete_policy()
85 return r->code; in kadm5_delete_policy()
93 generic_ret *r; in kadm5_modify_policy() local
105 r = modify_policy_2(&arg, handle->clnt); in kadm5_modify_policy()
[all …]
H A Dclient_principal.c55 generic_ret *r; in kadm5_create_principal() local
98 r = create_principal_2(&arg, handle->clnt); in kadm5_create_principal()
103 if(r == NULL) in kadm5_create_principal()
105 return r->code; in kadm5_create_principal()
115 generic_ret *r; in kadm5_create_principal_3() local
159 r = create_principal3_2(&arg, handle->clnt); in kadm5_create_principal_3()
164 if(r == NULL) in kadm5_create_principal_3()
166 return r->code; in kadm5_create_principal_3()
173 generic_ret *r; in kadm5_delete_principal() local
182 r = delete_principal_2(&arg, handle->clnt); in kadm5_delete_principal()
[all …]
/titanic_50/usr/src/cmd/mandoc/
H A Droff.c348 #define ROFF_ARGS struct roff *r, /* parse ctx */ \
394 static int roff_evalcond(struct roff *r, int,
791 roffnode_pop(struct roff *r) in roffnode_pop() argument
795 assert(r->last); in roffnode_pop()
796 p = r->last; in roffnode_pop()
798 r->last = r->last->parent; in roffnode_pop()
809 roffnode_push(struct roff *r, enum rofft tok, const char *name, in roffnode_push() argument
818 p->parent = r->last; in roffnode_push()
823 r->last = p; in roffnode_push()
827 roff_free1(struct roff *r) in roff_free1() argument
[all …]
/titanic_50/usr/src/lib/libm/common/LD/
H A Dj0l.c84 GENERIC z, s, c, ss, cc, r, u, v; local
133 r = r0[6]; s = s0[6];
135 r = r*z + r0[i];
138 return (one+z*(r/s));
436 GENERIC s, r, t, z; local
442 r = z*pr0[11]+pr0[10]; s = ps0[10];
444 r = z*r + pr0[i];
448 r = pr1[11]; s = ps1[11]+z*(ps1[12]+z*ps1[13]);
450 r = z*r + pr1[i];
454 r = pr2[11]; s = ps2[11]+z*(ps2[12]+z*ps2[13]);
[all …]
H A Dj1l.c81 GENERIC z, d, s, c, ss, cc, r; local
134 r = r0[6];
137 r = r*z + r0[i];
140 d = x*0.5L+x*(z*(r/s));
441 GENERIC s, r, t, z; local
447 r = z*pr0[11]+pr0[10]; s = ps0[10];
449 r = z*r + pr0[i];
453 r = pr1[11]; s = ps1[11]+z*(ps1[12]+z*ps1[13]);
455 r = z*r + pr1[i];
459 r = pr2[11]; s = ps2[11]+z*(ps2[12]+z*ps2[13]);
[all …]
/titanic_50/usr/src/lib/libm/common/Q/
H A Dj0l.c80 GENERIC z, s,c,ss,cc,r,u,v; local
124 r = r0[6]; s = s0[6];
126 r = r*z + r0[i];
129 return(one+z*(r/s));
428 GENERIC s,r,t,z; local
433 r = z*pr0[11]+pr0[10]; s = ps0[10];
435 r = z*r + pr0[i];
439 r = pr1[11]; s = ps1[11]+z*(ps1[12]+z*ps1[13]);
441 r = z*r + pr1[i];
445 r = pr2[11]; s = ps2[11]+z*(ps2[12]+z*ps2[13]);
[all …]
H A Dj1l.c79 GENERIC z, d, s,c,ss,cc,r; local
124 r = r0[6];
127 r = r*z + r0[i];
130 d = x*0.5L+x*(z*(r/s));
425 GENERIC s,r,t,z; local
430 r = z*pr0[11]+pr0[10]; s = ps0[10];
432 r = z*r + pr0[i];
436 r = pr1[11]; s = ps1[11]+z*(ps1[12]+z*ps1[13]);
438 r = z*r + pr1[i];
442 r = pr2[11]; s = ps2[11]+z*(ps2[12]+z*ps2[13]);
[all …]

12345678910>>...78