Home
last modified time | relevance | path

Searched refs:py (Results 1 – 25 of 90) sorted by relevance

1234

/illumos-gate/usr/src/uts/sparc/fpu/
H A Daddsub.c32 true_add(px, py, pz) in true_add() argument
33 unpacked *px, *py, *pz; in true_add()
38 if ((int) px->fpclass <= (int) py->fpclass) { /* Reverse. */
39 pt = py;
40 py = px;
52 if (py->fpclass == fp_zero) {
59 if (px->exponent < py->exponent) { /* Reverse. */
60 pt = py;
61 py = px;
70 if (px->exponent != py->exponent) { /* pre-alignment required */
[all …]
H A Dcompare.c31 _fp_compare(pfpsd, px, py, strict) in _fp_compare() argument
33 unpacked *px, *py;
43 if ((px->fpclass == fp_quiet) || (py->fpclass == fp_quiet) ||
44 (px->fpclass == fp_signaling) || (py->fpclass == fp_signaling)) {
48 } else if ((px->fpclass == fp_zero) && (py->fpclass == fp_zero))
51 else if (px->sign < py->sign)
53 else if (px->sign > py->sign)
56 if ((int) px->fpclass > (int) py->fpclass)
58 else if ((int) px->fpclass < (int) py->fpclass)
63 else if (px->exponent > py->exponent)
[all …]
H A Dmul.c32 _fp_mul(pfpsd, px, py, pz) in _fp_mul() argument
34 unpacked *px, *py, *pz;
41 if ((int) px->fpclass <= (int) py->fpclass) {
43 px = py;
44 py = pt;
50 pz->sign = px->sign ^ py->sign;
58 if (py->fpclass == fp_zero) {
64 if (py->fpclass == fp_zero) {
77 y = py->significand[3]; /* py->significand[3] * x */
98 y = py->significand[2]; /* py->significand[2] * x */
[all …]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DMakefile.com38 CStyle.py \
39 Cddl.py \
40 CmtBlk.py \
41 Comments.py \
42 Copyright.py \
43 DbLookups.py \
44 HdrChk.py \
45 JStyle.py \
46 Keywords.py \
47 ManLint.py \
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vpowf.c108 static void __vpowfx(int n, float * restrict px, float * restrict py,
111 static void __vpowf_n(int n, float * restrict px, int stridex, float * restrict py,
114 static void __vpowfx_n(int n, double yy, float * restrict py,
413 py += stridey; \
417 spx = px; spy = py; spz = pz; \
425 __vpowf(int n, float * restrict px, int stridex, float * restrict py, in __vpowf() argument
443 __vpowfx(n, px, py, stridey, pz, stridez); in __vpowf()
453 spy = py; in __vpowf()
457 uy = *(unsigned int*)py; in __vpowf()
471 RETURN (*px + *py) in __vpowf()
[all …]
H A D__vrsqrtf.c222 __vrsqrtf_n(int n, float * restrict px, int stridex, float * restrict py, int stridey);
228 *py = (ret); \
229 py += stridey; \
232 spx = px; spy = py; \
241 __vrsqrtf(int n, float * restrict px, int stridex, float * restrict py, int stridey) in __vrsqrtf() argument
252 spy = py; in __vrsqrtf()
263 py += stridey; in __vrsqrtf()
267 py -= stridey; in __vrsqrtf()
324 *py = FONE / res; in __vrsqrtf()
332 *py = FONE / res; in __vrsqrtf()
[all …]
H A D__vrhypotf.c230 __vrhypotf_n(int n, float * restrict px, int stridex, float * restrict py,
241 spx = px; spy = py; spz = pz; \
242 ay0 = *(int*)py; \
251 __vrhypotf(int n, float * restrict px, int stridex, float * restrict py, in __vrhypotf() argument
262 spy = py; in __vrhypotf()
265 ay0 = *(int*)py; in __vrhypotf()
276 y0 = *py; in __vrhypotf()
281 py += stridey; in __vrhypotf()
285 py += stridey; in __vrhypotf()
296 ay0 = *(int*)py; in __vrhypotf()
[all …]
H A D__vrsqrt.c89 __vrsqrt_n(int n, double * restrict px, int stridex, double * restrict py, int stridey);
95 *py = (ret); \
96 py += stridey; \
99 spx = px; spy = py; \
117 __vrsqrt(int n, double * restrict px, int stridex, double * restrict py, int stridey) in __vrsqrt() argument
127 spy = py; in __vrsqrt()
138 py += stridey; in __vrsqrt()
142 py -= stridey; in __vrsqrt()
202 *py = DONE / res; in __vrsqrt()
212 *py = DONE / res; in __vrsqrt()
[all …]
H A D__vhypot.c78 __vhypot_n(int n, double * restrict px, int stridex, double * restrict py,
86 py += stridey; \
91 hy0 = HI(py); \
92 spx = px; spy = py; spz = pz; \
100 __vhypot(int n, double * restrict px, int stridex, double * restrict py, in __vhypot() argument
117 spy = py; in __vhypot()
120 hy0 = HI(py); in __vhypot()
134 y = *py; in __vhypot()
140 int ly = LO(py); in __vhypot()
176 y = *py; in __vhypot()
[all …]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decp.h51 mp_err ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py);
54 mp_err ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py);
58 mp_err ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py,
63 mp_err ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py,
68 mp_err ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx,
72 mp_err ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group);
79 const mp_int *py, mp_int *rx, mp_int *ry,
85 mp_err ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx,
90 mp_err ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py,
96 mp_err ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py,
[all …]
H A Dec2.h51 mp_err ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py);
54 mp_err ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py);
58 mp_err ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py,
63 mp_err ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py,
68 mp_err ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx,
72 mp_err ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group);
80 const mp_int *py, mp_int *rx, mp_int *ry,
88 const mp_int *py, mp_int *rx, mp_int *ry,
94 mp_err ec_GF2m_pt_aff2proj(const mp_int *px, const mp_int *py, mp_int *rx,
99 mp_err ec_GF2m_pt_proj2aff(const mp_int *px, const mp_int *py,
[all …]
H A Decp_aff.c58 ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py) in ec_GFp_pt_is_inf_aff() argument
61 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { in ec_GFp_pt_is_inf_aff()
71 ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py) in ec_GFp_pt_set_inf_aff() argument
74 mp_zero(py); in ec_GFp_pt_set_inf_aff()
83 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GFp_pt_add_aff() argument
99 if (ec_GFp_pt_is_inf_aff(px, py) == 0) { in ec_GFp_pt_add_aff()
108 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_aff()
114 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); in ec_GFp_pt_add_aff()
120 if (((mp_cmp(py, qy) != 0)) || (mp_cmp_z(qy) == 0)) { in ec_GFp_pt_add_aff()
169 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GFp_pt_sub_aff() argument
[all …]
H A Dec2_aff.c54 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py) in ec_GF2m_pt_is_inf_aff() argument
57 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { in ec_GF2m_pt_is_inf_aff()
67 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) in ec_GF2m_pt_set_inf_aff() argument
70 mp_zero(py); in ec_GF2m_pt_set_inf_aff()
77 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GF2m_pt_add_aff() argument
91 if (ec_GF2m_pt_is_inf_aff(px, py) == 0) { in ec_GF2m_pt_add_aff()
100 MP_CHECKOK(mp_copy(py, ry)); in ec_GF2m_pt_add_aff()
107 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
122 if (((mp_cmp(py, qy) != 0)) || (mp_cmp_z(qx) == 0)) { in ec_GF2m_pt_add_aff()
159 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GF2m_pt_sub_aff() argument
[all …]
H A Decl_mult.c59 const mp_int *py, mp_int *rx, mp_int *ry) in ECPoint_mul() argument
78 if ((px == NULL) || (py == NULL)) { in ECPoint_mul()
89 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
113 const mp_int *py, mp_int *rx, mp_int *ry, in ec_pts_mul_basic() argument
122 || (py == NULL))), MP_BADARG); in ec_pts_mul_basic()
126 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic()
127 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_pts_mul_basic()
137 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); in ec_pts_mul_basic()
168 const mp_int *py, mp_int *rx, mp_int *ry, in ec_pts_mul_simul_w2() argument
[all …]
H A Decp_jac.c64 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, in ec_GFp_pt_aff2jac() argument
69 if (ec_GFp_pt_is_inf_aff(px, py) == MP_YES) { in ec_GFp_pt_aff2jac()
73 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_aff2jac()
88 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_jac2aff() argument
102 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_jac2aff()
110 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_jac2aff()
116 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); in ec_GFp_pt_jac2aff()
129 ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py, const mp_int *pz) in ec_GFp_pt_is_inf_jac() argument
137 ec_GFp_pt_set_inf_jac(mp_int *px, mp_int *py, mp_int *pz) in ec_GFp_pt_set_inf_jac() argument
151 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_add_jac_aff() argument
[all …]
/illumos-gate/usr/src/lib/pyzfs/
H A DMakefile.com31 PYSRCS= __init__.py util.py dataset.py \
32 allow.py unallow.py \
33 userspace.py groupspace.py holds.py table.py
41 PYOBJS= $(PYSRCS:%.py=$(SRCDIR)/%.pyc)
42 PYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dhypotl.c69 int *px = (int *) &x, *py = (int *) &y; in hypotl() local
75 py[2] &= 0x7fff; in hypotl()
77 ny = py[2]; in hypotl()
100 py1[2] = py[2]; in hypotl()
101 py1[1] = py[1]; in hypotl()
118 else if (ny == k && py[1] == 0x80000000 && py[0] == 0) in hypotl()
138 py[2] -= j; in hypotl()
H A Dscalbl.c43 int *py = (int *) &fn, n; local
51 if ((py[0] & 0x7fff0000) == 0x7fff0000) {
52 if ((py[0] & 0x80000000) != 0)
54 if ((py[2] & 0x7fff) == 0x7fff) {
55 if ((py[2] & 0x8000) != 0)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwsyncdn.c50 int y, py; in syncdown() local
57 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { in syncdown()
58 if (0 <= p->_last[py]) { in syncdown()
59 w->_first[y] = p->_first[py] - w->_begx; in syncdown()
60 w->_last[y] = p->_last[py] - w->_begx; in syncdown()
H A Dwsyncup.c60 int y, py; in wsyncup() local
65 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { in wsyncup()
67 p->_first[py] = w->_begx + w->_first[y]; in wsyncup()
68 p->_last[py] = w->_begx + w->_last[y]; in wsyncup()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwsyncdn.c47 int y, py; in syncdown() local
54 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { in syncdown()
55 if (0 <= p->_last[py]) { in syncdown()
56 w->_first[y] = p->_first[py] - w->_begx; in syncdown()
57 w->_last[y] = p->_last[py] - w->_begx; in syncdown()
H A Dwsyncup.c61 int y, py; in wsyncup() local
70 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { in wsyncup()
72 p->_first[py] = w->_begx + w->_first[y]; in wsyncup()
73 p->_last[py] = w->_begx + w->_last[y]; in wsyncup()
84 int y, py; in wcursyncup() local
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dsupport.c154 *py=(unsigned short *) &y+3; variable
157 *py=(unsigned short *) &y;
164 *px = ( *px & msign ) | ( *py & ~msign );
438 nx,nf, *py =(unsigned short *) &y ,
443 yexp = py[n0] & mexp ; /* exponent of y */
461 if( yexp <= m57 ) {py[n0]+=m57; nx+=m57; yexp+=m57;}
464 py[n0] &= 0x7fff;
530 unsigned long *py=(unsigned long *) &y ,
568 py[n0]=(px[n0]>>1)+0x1ff80000;
569 py[n0]=py[n0]-table[(py[n0]>>15)&31];
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwsyncdown.c51 int wy, px, py, endy; in wsyncdown() local
54 py = win->_pary; in wsyncdown()
64 pbch = par->_firstch + py; in wsyncdown()
65 pech = par->_lastch + py; in wsyncdown()
85 py += par->_pary; in wsyncdown()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dpowl.c141 int *py = (int *) &y; in powl() local
145 hy = py[i0]; in powl()
146 ly = py[i1] | py[i2] | py[i3]; in powl()
175 j = ((unsigned) py[i3]) >> (112 - k); in powl()
176 if ((j << (112 - k)) == py[i3]) in powl()
179 j = ((unsigned) py[i2]) >> (80 - k); in powl()
180 if ((j << (80 - k)) == py[i2]) in powl()
183 j = ((unsigned) py[i1]) >> (48 - k); in powl()
184 if ((j << (48 - k)) == py[i1]) in powl()

1234