Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 25 of 56) sorted by path

123

/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c995 sx = ma->s_col; in gfx_fb_cons_copy()
1350 int dx, sx, dy, sy; in gfx_fb_line() local
1357 sx = x0 < x1? 1 : -1; in gfx_fb_line()
1381 x0 += sx; in gfx_fb_line()
1387 x2 += sx; in gfx_fb_line()
1414 sx = x2 - x1; in gfx_fb_bezier()
1420 if (sx*sx + sy*sy > xx*xx+yy*yy) { in gfx_fb_bezier()
1422 x0 = sx + x1; in gfx_fb_bezier()
1428 xx += sx; in gfx_fb_bezier()
1430 xx *= sx; in gfx_fb_bezier()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dmodule.h205 extern struct sx modules_sx;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.complex.d60 } sx; member
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c74 double sx, double sy, double ax, double ay, double rot) in ps_include() argument
174 var(cx); var(cy); var(sx); var(sy); var(ax); var(ay); var(rot); in ps_include()
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec2_aff.c194 mp_int k, k3, qx, qy, sx, sy; in ec_GF2m_pt_mul_aff() local
201 MP_DIGITS(&sx) = 0; in ec_GF2m_pt_mul_aff()
207 MP_CHECKOK(mp_init(&sx)); in ec_GF2m_pt_mul_aff()
228 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GF2m_pt_mul_aff()
232 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
236 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
252 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
258 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
262 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
267 MP_CHECKOK(mp_copy(&sx, rx)); in ec_GF2m_pt_mul_aff()
[all …]
H A Decl_mult.c117 mp_int sx, sy; in ec_pts_mul_basic() local
131 MP_DIGITS(&sx) = 0; in ec_pts_mul_basic()
133 MP_CHECKOK(mp_init(&sx, FLAG(k1))); in ec_pts_mul_basic()
136 MP_CHECKOK(ECPoint_mul(group, k1, NULL, NULL, &sx, &sy)); in ec_pts_mul_basic()
140 MP_CHECKOK(group->meth->field_enc(&sx, &sx, group->meth)); in ec_pts_mul_basic()
146 MP_CHECKOK(group->point_add(&sx, &sy, rx, ry, rx, ry, group)); in ec_pts_mul_basic()
154 mp_clear(&sx); in ec_pts_mul_basic()
H A Decp_aff.c207 mp_int k, k3, qx, qy, sx, sy; in ec_GFp_pt_mul_aff() local
214 MP_DIGITS(&sx) = 0; in ec_GFp_pt_mul_aff()
220 MP_CHECKOK(mp_init(&sx)); in ec_GFp_pt_mul_aff()
241 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GFp_pt_mul_aff()
245 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
249 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
265 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
271 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
275 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
280 MP_CHECKOK(mp_copy(&sx, rx)); in ec_GFp_pt_mul_aff()
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c297 int dx, sx, dy, sy; in gfx_fb_line() local
303 sx = x0 < x1? 1 : -1; in gfx_fb_line()
329 x0 += sx; in gfx_fb_line()
334 x2 += sx; in gfx_fb_line()
358 sx = x2 - x1; in gfx_fb_bezier()
364 if (sx * sx + sy * sy > xx * xx + yy * yy) { in gfx_fb_bezier()
366 x0 = sx + x1; in gfx_fb_bezier()
372 xx += sx; in gfx_fb_bezier()
373 sx = x0 < x2? 1 : -1; in gfx_fb_bezier()
374 xx *= sx; in gfx_fb_bezier()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashdump.c57 Hash_bucket_t** sx; in dumpbucket() local
62 sx = tab->table + tab->size; in dumpbucket()
63 for (sp = tab->table; sp < sx; sp++) in dumpbucket()
H A Dhashfree.c45 Hash_bucket_t** sx; in hashfree() local
65 sx = &tab->table[tab->size]; in hashfree()
67 while (sp < sx) in hashfree()
H A Dhashscan.c68 register Hash_bucket_t** sx = tab->table + tab->size; in hashscan() local
70 while (sp < sx) in hashscan()
H A Dhashview.c48 register Hash_bucket_t** sx; in hashview() local
60 sx = &top->table[top->size]; in hashview()
62 while (sp < sx) in hashview()
75 sx = &top->table[top->size]; in hashview()
77 while (sp < sx) in hashview()
/illumos-gate/usr/src/contrib/zlib/
H A Dtrees.c1050 unsigned sx = 0; /* running index in sym_buf */ local
1055 dist = s->sym_buf[sx++] & 0xff;
1056 dist += (unsigned)(s->sym_buf[sx++] & 0xff) << 8;
1057 lc = s->sym_buf[sx++];
1083 Assert(s->pending < s->lit_bufsize + sx, "pendingBuf overflow");
1085 } while (sx < s->sym_next);
/illumos-gate/usr/src/data/hwdata/
H A Dusb.ids10561 0194 ProKeys 88sx
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwborder.c82 int x, sx, xend; in wborder() local
122 sx = x == 0 ? 1 : x; in wborder()
123 memSset((line_ptr = &_y[0][sx]), _TOPSIDE, endx); in wborder()
145 sx = x == 0 ? 1 : x; in wborder()
147 memSset((line_ptr = &_y[endy][sx]), _BOTTOMSIDE, endx); in wborder()
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan2.c411 int i, k, hx, hy, sx, sy; in atan2() local
421 sx = hx & 0x80000000; in atan2()
431 if (sx) { in atan2()
442 if (sx) { in atan2()
H A Dcbrt.c228 unsigned int hx, sx, ex, j, offset; in __cbrt() local
232 sx = xx.i[HIWORD] & 0x80000000; in __cbrt()
266 yy.i[HIWORD] = sx | (j + offset); in __cbrt()
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dcbrtl.c42 int n, m, m3, n0, sx; in cbrtl() local
51 sx = signbitl(x); in cbrtl()
72 return (sx == 0 ? t : -t); in cbrtl()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dcbrtl.c42 int n, m, m3, sx; in cbrtl() local
48 sx = signbitl(x); in cbrtl()
69 return (sx == 0 ? t : -t); in cbrtl()
H A Dfmodl.c58 int n, ix, iy, k, sx; in fmodl() local
72 sx = hx & 0x80000000; in fmodl()
73 x0 = hx ^ sx; in fmodl()
241 __H0(a) = sx | (x0 - iu) | ((iy + 16383) << 16); in fmodl()
268 __H0(a) = x0 | sx; in fmodl()
H A Dremainderl.c56 int sx; in remainderl() local
65 sx = signbitl(x); in remainderl()
87 return (sx == 0 ? x : -x); in remainderl()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dllrintl.c57 unsigned int hx, sx, frac, fsr; in llrintl() local
62 sx = xx.i[0] & 0x80000000; in llrintl()
68 tt.i = sx | 0x7f000000; in llrintl()
78 if (sx) in llrintl()
87 return (sx ? -1LL : 1LL); in llrintl()
123 !sx))) { in llrintl()
124 tt.i = sx | 0x7f000000; in llrintl()
135 if (sx) { in llrintl()
H A Dllround.c53 unsigned hx, sx, i; in llround() local
57 sx = xx.i[HIWORD] & 0x80000000; in llround()
63 return (sx ? -1LL : 1LL); in llround()
H A Dllroundf.c44 unsigned hx, sx, i; in llroundf() local
48 sx = xx.i & 0x80000000; in llroundf()
54 return (sx ? -1LL : 1LL); in llroundf()
H A Dllroundl.c53 unsigned hx, sx, frac; in llroundl() local
57 sx = xx.i[0] & 0x80000000; in llroundl()
63 tt.i = sx | 0x7f000000; in llroundl()
70 return (sx ? -1LL : 1LL); in llroundl()
105 !sx))) { in llroundl()
106 tt.i = sx | 0x7f000000; in llroundl()
111 if (sx) { in llroundl()
127 int ex, sx, i; in llroundl() local
131 sx = xx.i[2] & 0x8000; in llroundl()
137 return (sx ? -1LL : 1LL); in llroundl()
[all …]

123