Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c213 int x1, y1, x2, y2; in gfx_term_drawrect() local
235 gfx_fb_drawrect(x1, y1, x2, y1 + width, 1); in gfx_term_drawrect()
271 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i); in gfx_term_drawrect()
281 gfx_fb_bezier(x1, y1 + i, x2 + i, y1 + i, x2 + i, y2, width-i); in gfx_term_drawrect()
291 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i); in gfx_term_drawrect()
306 dy = abs(y1 - y0); in gfx_fb_line()
338 if (y0 == y1) in gfx_fb_line()
359 sy = y2 - y1; in gfx_fb_bezier()
361 yy = y0 - y1; in gfx_fb_bezier()
368 y0 = sy + y1; in gfx_fb_bezier()
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dfmodl.c61 unsigned x1, x2, x3, y1, y2, y3, z1, z2, z3; in fmodl() local
68 y1 = __H1(y); in fmodl()
79 (y0 | y1 | y2 | y3) == 0) /* isnanl(y) || y = 0 */ in fmodl()
116 y0 = y1 >> 16; in fmodl()
117 y1 = (y1 << 16) | (y2 >> 16); in fmodl()
123 y0 = (y0 << 1) | (y1 >> 31); in fmodl()
124 y1 = (y1 << 1) | (y2 >> 31); in fmodl()
161 z1 = x1 - y1; in fmodl()
164 z1 = x1 - y1 - 1; in fmodl()
204 z1 = x1 - y1; in fmodl()
[all …]
H A Dhypotl.c69 long double t1, t2, y1, y2, w; in hypotl() local
71 int *pt1 = (int *) &t1, *py1 = (int *) &y1; in hypotl()
117 y2 = y - y1; in hypotl()
122 x = sqrtl(t1 * y1 - (w * (-w) - (t2 * y1 + y2 * x))); in hypotl()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vcosf.c148 double y0, y1, y2, y3; in __vcosf() local
197 y1 = (y1 - z1 * pio2_1) - z1 * pio2_t; in __vcosf()
203 z1 = y1 * y1; in __vcosf()
212 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
220 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
244 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
253 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
280 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
289 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
316 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vcosf()
[all …]
H A D__vsinf.c152 double y0, y1, y2, y3; in __vsinf() local
201 y1 = (y1 - z1 * pio2_1) - z1 * pio2_t; in __vsinf()
207 z1 = y1 * y1; in __vsinf()
216 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
224 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
248 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
257 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
284 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
293 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
320 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsinf()
[all …]
H A D__vatan2f.c197 y1 = *x; in __vatan2f()
208 y1 = -y1; in __vatan2f()
219 y1 = *y; in __vatan2f()
223 y1 = -y1; in __vatan2f()
241 ah1 = x1 + y1; in __vatan2f()
246 ah1 = y1 / x1; in __vatan2f()
268 y1 *= twop24; /* scale subnormal y */ in __vatan2f()
270 hy1 = *(int*)&y1; in __vatan2f()
414 dy1 = y1; in __vatan2f()
458 t1 = (y1 - x1 * (double)base1) / in __vatan2f()
[all …]
H A D__vexp.c411 double y0, y1, y2, y3, y4, y5; in __vexp() local
453 y1 = (x1 * invln2_256) + round; in __vexp()
460 j1 = LO(y1); in __vexp()
467 y1 -= round; in __vexp()
488 x1 = (x1 - y1 * ln2_256h) - y1 * ln2_256l; in __vexp()
495 y1 = x1 * (one + x1 * (B1 + x1 * (B2 + x1 * B3))); in __vexp()
509 y1 = t1 + (TBL[j1 + 1] + t1 * y1); in __vexp()
522 HI(y1) += (k1 + 0x3ef) << 20; in __vexp()
523 y1 *= tiny; in __vexp()
525 HI(y1) += k1 << 20; in __vexp()
[all …]
H A D__vhypotf.c52 float x0, x1, x2, y0, y1, y2, z0, z1, z2, *pz0, *pz1, *pz2; in __vhypotf() local
108 y1 = hy1.f; in __vhypotf()
123 z1 = x1 + y1; in __vhypotf()
127 z1 = y1; in __vhypotf()
187 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
201 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
H A D__vpow.c770 y1 = s1 * s1; in __vpow()
778 s1 = (KA5 * y1 + KA3) * y1 * s1; in __vpow()
814 m_h1 = y1 + yd1; in __vpow()
818 y1 = s1 - ((m_h1 - y1 - yd1) - s_l1); in __vpow()
826 s_h1 = y1 + m_h1; in __vpow()
844 y1 = y1 - (s_h1 - m_h1); in __vpow()
904 y1 = s1 - u1 + yd1; in __vpow()
910 y1 = ((((KB5 * y1 + KB4) * y1 + KB3) * y1 + KB2) * y1 + KB1) * y1; in __vpow()
1135 double y1, yd1, u1, s1; in __vpowx() local
1274 y1 = s1 - u1 + yd1; in __vpowx()
[all …]
H A D__vsinbig_ultra3.c192 y1 = (a1 - x1) - w1; in __vlibm_vsin_big_ultra3()
204 y1 = (a1 - x1) - w1; in __vlibm_vsin_big_ultra3()
216 y1 = (a1 - x1) - w1; in __vlibm_vsin_big_ultra3()
240 x1 = (x1 - t1) + y1; in __vlibm_vsin_big_ultra3()
286 x1 = (x1 - t1) + y1; in __vlibm_vsin_big_ultra3()
326 y1_or_zero[0] = y1; in __vlibm_vsin_big_ultra3()
327 y1_or_zero[2] = -y1; in __vlibm_vsin_big_ultra3()
368 y1_or_zero[0] = y1; in __vlibm_vsin_big_ultra3()
369 y1_or_zero[2] = -y1; in __vlibm_vsin_big_ultra3()
482 y1_or_zero[0] = y1; in __vlibm_vsin_big_ultra3()
[all …]
H A D__vcosbig_ultra3.c192 y1 = (a1 - x1) - w1; in __vlibm_vcos_big_ultra3()
204 y1 = (a1 - x1) - w1; in __vlibm_vcos_big_ultra3()
216 y1 = (a1 - x1) - w1; in __vlibm_vcos_big_ultra3()
240 x1 = (x1 - t1) + y1; in __vlibm_vcos_big_ultra3()
286 x1 = (x1 - t1) + y1; in __vlibm_vcos_big_ultra3()
326 y1_or_zero[0] = y1; in __vlibm_vcos_big_ultra3()
327 y1_or_zero[2] = -y1; in __vlibm_vcos_big_ultra3()
368 y1_or_zero[0] = y1; in __vlibm_vcos_big_ultra3()
369 y1_or_zero[2] = -y1; in __vlibm_vcos_big_ultra3()
482 y1_or_zero[0] = y1; in __vlibm_vcos_big_ultra3()
[all …]
H A D__vpowf.c577 double y1, yy1; in __vpowf_n() local
611 y1 = (double) i1 * __TBL_log2f[ind1 + 1]; in __vpowf_n()
617 yy1 += (((KA3 * y1 + KA2) * y1 + KA1) * y1 + KA0) * y1; in __vpowf_n()
644 y1 = yy1 - (double)ind1; in __vpowf_n()
647 yy1 = (KB2 * y1 + KB1) * y1 + DONE; in __vpowf_n()
760 double y1, yy1, di1; in __vpowfx_n() local
789 y1 = yy1 - (double)ind1; in __vpowfx_n()
792 yy1 = (KB2 * y1 + KB1) * y1 + DONE; in __vpowfx_n()
H A D__vatan2.c71 double x0, x1, x2, y0, y1, y2, *pz0, *pz1, *pz2; in __vatan2() local
209 y1 = fabs(*x); in __vatan2()
225 y1 = fabs(*y); in __vatan2()
241 ah1 = x1 + y1; in __vatan2()
256 ah1 = y1 / x1; in __vatan2()
266 y1 *= twom3; in __vatan2()
273 if ((hy | LO(&y1)) == 0) in __vatan2()
284 y1 *= two110; in __vatan2()
286 hy = HI(&y1); in __vatan2()
299 z1 = ((y1 - t1 * xh) - t1 * (x1 - xh)) / (x1 + y1 * t1); in __vatan2()
H A D__vsincosf.c167 double y0, y1, y2, y3; in __vsincosf() local
205 z1 = y1 * invpio2 + c3two51; in __vsincosf()
220 y1 = (y1 - z1 * pio2_1) - z1 * pio2_t; in __vsincosf()
226 z1 = y1 * y1; in __vsincosf()
231 f1 = (float)(y1 + y1 * z1 * (S0 + z1 * (S1 + z1 * S2))); in __vsincosf()
H A D__vcos.c640 y1 = (a1 - x1) - w1; in __vcos()
652 y1 = (a1 - x1) - w1; in __vcos()
664 y1 = (a1 - x1) - w1; in __vcos()
688 x1 = (x1 - t1) + y1; in __vcos()
734 x1 = (x1 - t1) + y1; in __vcos()
774 y1_or_zero[0] = y1; in __vcos()
775 y1_or_zero[2] = -y1; in __vcos()
816 y1_or_zero[0] = y1; in __vcos()
817 y1_or_zero[2] = -y1; in __vcos()
930 y1_or_zero[0] = y1; in __vcos()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_compoundvario.sh220 read -C y1
231 [[ "$y1" != "" ]] || err_exit "y1 is empty"
235 (( isnan(y1.myarray3[a_nan].my_nan) )) || err_exit "y1.myarray3[a_nan].my_nan not a NaN"
237 (( signbit(y1.myarray3[a_nan].my_nan) )) || err_exit "y1.myarray3[a_nan].my_nan not negative"
239 count_brackets "$y1" || err_exit "y1: bracket open ${bracketstat.bopen} != bracket close ${brackets…
245 [[ "$y1" == "$y2" ]] || err_exit "Expected $(printf "%q\n" "${y1}") == $(printf "%q\n" "${y2}")."
246 [[ "$x" == "$y1" ]] || err_exit "Expected $(printf "%q\n" "${x}") == $(printf "%q\n" "${y}")."
249 unset x y1 y2 || err_exit "unset failed"
251 [[ "$y1" == "" ]] || err_exit "cleanup failed for y1"
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dremquol.c63 unsigned x1, x2, x3, y1, y2, y3, z1, z2, z3; in fmodquol() local
70 y1 = __H1(y); in fmodquol()
117 y0 = y1 >> 16; in fmodquol()
118 y1 = (y1 << 16) | (y2 >> 16); in fmodquol()
124 y0 = (y0 << 1) | (y1 >> 31); in fmodquol()
125 y1 = (y1 << 1) | (y2 >> 31); in fmodquol()
166 z1 = x1 - y1; in fmodquol()
169 z1 = x1 - y1 - 1; in fmodquol()
218 z1 = x1 - y1; in fmodquol()
221 z1 = x1 - y1 - 1; in fmodquol()
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dhypotl.c68 long double t1, t2, y1, y2, w; in hypotl() local
70 int *pt1 = (int *) &t1, *py1 = (int *) &y1; in hypotl()
103 y2 = y - y1; in hypotl()
108 x = sqrtl(t1 * y1 - (w * (-w) - (t2 * y1 + y2 * x))); in hypotl()
134 return (y1 * hypotl(x, y)); in hypotl()
/illumos-gate/usr/src/ucblib/libcurses/
H A Doverlay.c39 int y1, y2; in overlay() local
54 y1 = starty - win1->_begy; in overlay()
56 for (y = starty; y < endy; y++, y1++, y2++) { in overlay()
57 end = &win1->_y[y1][endx - win1->_begx]; in overlay()
59 for (sp = &win1->_y[y1][startx - win1->_begx]; sp < end; sp++) { in overlay()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dmisc3.test263 CREATE TABLE y1(a);
269 INSERT INTO y1 VALUES(1);
270 INSERT INTO y1 VALUES(2);
271 INSERT INTO y1 SELECT a+2 FROM y1;
272 INSERT INTO y1 SELECT a+4 FROM y1;
273 INSERT INTO y1 SELECT a+8 FROM y1;
274 INSERT INTO y1 SELECT a+16 FROM y1;
275 INSERT INTO y2 SELECT a FROM y1;
277 SELECT count(*) FROM y1;
282 DELETE FROM y1;
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dpow.c163 double y1, y2, w1, w2; in pow() local
293 y1 = y * w1; in pow()
296 y1 = (double) ((float) y); in pow()
297 y2 = (y - y1) * w1 + y * w2; in pow()
298 y1 *= w1; in pow()
300 z = y1 + y2; in pow()
306 w2 = y1 - z; in pow()
317 w2 = y1 - z; in pow()
328 w1 = y2 - ((double) k * 0.015625 - y1); in pow()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dcomvario.sh239 read -C y1
250 [[ "$y1" != "" ]] || err_exit "y1 is empty"
254 (( isnan(y1.myarray3[a_nan].my_nan) )) || err_exit "y1.myarray3[a_nan].my_nan not a NaN"
257 then (( signbit(y1.myarray3[a_nan].my_nan) )) || err_exit "y1.myarray3[a_nan].my_nan not negative"
260 count_brackets "$y1" || err_exit "y1: bracket open ${bracketstat.bopen} != bracket close ${brackets…
266 [[ "$y1" == "$y2" ]] || err_exit "Expected $(printf "%q\n" "${y1}") == $(printf "%q\n" "${y2}")."
267 [[ "$x" == "$y1" ]] || err_exit "Expected $(printf "%q\n" "${x}") == $(printf "%q\n" "${y1}")."
270 unset x y1 y2 || err_exit "unset failed"
272 [[ "$y1" == '' ]] || err_exit "cleanup failed for y1"
/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c849 for (uint32_t y1 = DestinationY; y1 < y2; y1++) { in gfxfb_shadow_fill() local
1333 0, 0, x1, y1, x2 - x1, y2 - y1, 0); in gfx_fb_drawrect()
1340 0, 0, x1, y1, 1, y2 - y1, 0); in gfx_fb_drawrect()
1342 0, 0, x2, y1, 1, y2 - y1, 0); in gfx_fb_drawrect()
1359 dy = y1 > y0? y1 - y0 : y0 - y1; in gfx_fb_line()
1390 if (y0 == y1) in gfx_fb_line()
1414 sy = y2 - y1; in gfx_fb_bezier()
1416 yy = y0 - y1; in gfx_fb_bezier()
1423 y0 = sy + y1; in gfx_fb_bezier()
1459 if (y1 != 0) { in gfx_fb_bezier()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c64 days_btwn(int m1, int d1, int y1, int m2, int d2, int y2) in days_btwn() argument
76 if ((m1 == m2) && (d1 == d2) && (y1 == y2)) in days_btwn()
93 days = (days_in_mon(m1, y1)-d1) + (d2-1); in days_btwn()
97 y1++; in days_btwn()
98 days += days_in_mon(m, y1); in days_btwn()
/illumos-gate/usr/src/common/ficl/
H A Dloader.c83 uint32_t x1, y1, x2, y2, f; in ficl_term_putimage() local
97 y1 = tems.ts_p_offset.y + y1 * tems.ts_font.vf_height; in ficl_term_putimage()
130 uint32_t x1, y1, x2, y2, f; in ficl_fb_putimage() local
177 ficlUnsigned x0, y0, x1, y1, wd; in ficl_fb_line() local
186 gfx_fb_line(x0, y0, x1, y1, wd); in ficl_fb_line()
192 ficlUnsigned x0, y0, x1, y1, x2, y2, width; in ficl_fb_bezier() local
203 gfx_fb_bezier(x0, y0, x1, y1, x2, y2, width); in ficl_fb_bezier()
209 ficlUnsigned x1, x2, y1, y2, fill; in ficl_fb_drawrect() local
218 gfx_fb_drawrect(x1, y1, x2, y2, fill); in ficl_fb_drawrect()
224 ficlUnsigned x1, x2, y1, y2; in ficl_term_drawrect() local
[all …]

123