/illumos-gate/usr/src/common/ficl/emu/ |
H A D | gfx_fb.c | 191 gfx_fb_drawrect(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, in gfx_fb_drawrect() argument 199 for (y = y1; y <= y2; y++) { in gfx_fb_drawrect() 200 if (fill || (y == y1) || (y == y2)) { in gfx_fb_drawrect() 213 int x1, y1, x2, y2; in gfx_term_drawrect() local 233 y1 = col1 * fb.font_height + fb.terminal_origin_y + yshift; in gfx_term_drawrect() 235 gfx_fb_drawrect(x1, y1, x2, y1 + width, 1); in gfx_term_drawrect() 244 y1 = col1 * fb.font_height + fb.terminal_origin_y; in gfx_term_drawrect() 245 y1 += fb.font_height; in gfx_term_drawrect() 247 gfx_fb_drawrect(x1, y1, x1 + width, y2, 1); in gfx_term_drawrect() 250 gfx_fb_drawrect(x1, y1, x1 + width, y2, 1); in gfx_term_drawrect() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | fmodl.c | 61 unsigned x1, x2, x3, y1, y2, y3, z1, z2, z3; in fmodl() local 68 y1 = __H1(y); in fmodl() 78 (y0 > 0x7fff0000) || (y0 == 0x7fff0000 && ((y1 | y2 | y3) != 0)) || 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() [all …]
|
H A D | hypotl.c | 69 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.c | 148 double y0, y1, y2, y3; in __vcosf() local 182 z1 = y1 * invpio2 + c3two51; in __vcosf() 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() [all …]
|
H A D | __vsinf.c | 152 double y0, y1, y2, y3; in __vsinf() local 186 z1 = y1 * invpio2 + c3two51; in __vsinf() 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() [all …]
|
H A D | __vatan2f.c | 54 float x0, x1, x2, y0, y1, y2, *pz0 = 0, *pz1, *pz2; in __vatan2f() local 197 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() [all …]
|
H A D | __vexp.c | 411 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 | __vpow.c | 684 double y1, yd1 = 0.0L, u1, s1, s_l1, m_h1; in __vpow() local 770 y1 = s1 * s1; in __vpow() 778 s1 = (KA5 * y1 + KA3) * y1 * s1; in __vpow() 806 y1 = *(double *)((char*)__TBL_log2 + i1); in __vpow() 810 y1 += (double)(exp1 << 8); in __vpow() 814 m_h1 = y1 + yd1; in __vpow() 818 y1 = s1 - ((m_h1 - y1 - yd1) - s_l1); in __vpow() 822 y1 += *(double *)((char*)__TBL_log2 + i1 + 8) + KA1_LO * s_h1; in __vpow() 826 s_h1 = y1 + m_h1; in __vpow() 844 y1 = y1 - (s_h1 - m_h1); in __vpow() [all …]
|
H A D | __vhypotf.c | 52 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 | __vcosbig_ultra3.c | 105 double fn0, fn1, fn2, a0, a1, a2, w0, w1, w2, y0, y1, y2; in __vlibm_vcos_big_ultra3() local 192 y1 = (a1 - x1) - w1; in __vlibm_vcos_big_ultra3() 198 w1 = fn1 * pio2_3 - y1; in __vlibm_vcos_big_ultra3() 204 y1 = (a1 - x1) - w1; in __vlibm_vcos_big_ultra3() 210 w1 = fn1 * pio2_3t - y1; 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() [all …]
|
H A D | __vsinbig_ultra3.c | 105 double fn0, fn1, fn2, a0, a1, a2, w0, w1, w2, y0, y1, y2; in __vlibm_vsin_big_ultra3() local 192 y1 = (a1 - x1) - w1; in __vlibm_vsin_big_ultra3() 198 w1 = fn1 * pio2_3 - y1; in __vlibm_vsin_big_ultra3() 204 y1 = (a1 - x1) - w1; in __vlibm_vsin_big_ultra3() 210 w1 = fn1 * pio2_3t - y1; 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() [all …]
|
H A D | __vpowf.c | 577 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.c | 71 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.c | 167 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.c | 534 double fn0, fn1, fn2, a0, a1, a2, w0, w1, w2, y0, y1, y2; in __vcos() local 640 y1 = (a1 - x1) - w1; in __vcos() 646 w1 = fn1 * pio2_3 - y1; in __vcos() 652 y1 = (a1 - x1) - w1; in __vcos() 658 w1 = fn1 * pio2_3t - y1; 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() [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_compoundvario.sh | 220 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 D | remquol.c | 63 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 D | hypotl.c | 68 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 D | overlay.c | 37 int y1, y2; in overlay() local 52 y1 = starty - win1->_begy; in overlay() 54 for (y = starty; y < endy; y++, y1++, y2++) { in overlay() 55 end = &win1->_y[y1][endx - win1->_begx]; in overlay() 57 for (sp = &win1->_y[y1][startx - win1->_begx]; sp < end; sp++) { in overlay()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | misc3.test | 261 CREATE TABLE y1(a); 264 CREATE TRIGGER r1 AFTER DELETE ON y1 FOR EACH ROW BEGIN 267 INSERT INTO y1 VALUES(1); 268 INSERT INTO y1 VALUES(2); 269 INSERT INTO y1 SELECT a+2 FROM y1; 270 INSERT INTO y1 SELECT a+4 FROM y1; 271 INSERT INTO y1 SELECT a+8 FROM y1; 272 INSERT INTO y1 SELECT a+16 FROM y1; 273 INSERT INTO y2 SELECT a FROM y1; 275 SELECT count(*) FROM y1; [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | pow.c | 163 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 D | comvario.sh | 239 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 D | gfx_fb.c | 850 for (uint32_t y1 = DestinationY; y1 < y2; y1++) { in gfxfb_shadow_fill() local 851 uint32_t off = y1 * fbX + DestinationX; in gfxfb_shadow_fill() 1322 gfx_fb_drawrect(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, in gfx_fb_drawrect() argument 1334 0, 0, x1, y1, x2 - x1, y2 - y1, 0); in gfx_fb_drawrect() 1337 0, 0, x1, y1, x2 - x1, 1, 0); in gfx_fb_drawrect() 1341 0, 0, x1, y1, 1, y2 - y1, 0); in gfx_fb_drawrect() 1343 0, 0, x2, y1, 1, y2 - y1, 0); in gfx_fb_drawrect() 1348 gfx_fb_line(uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t wd) in gfx_fb_line() argument 1358 sy = y0 < y1? 1 : -1; in gfx_fb_line() 1360 dy = y1 > y0? y1 - y0 : y0 - y1; in gfx_fb_line() [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 83 uint32_t x1, y1, x2, y2, f; in ficl_term_putimage() local 92 y1 = ficlStackPopUnsigned(ficlVmGetDataStack(pVM)); in ficl_term_putimage() 97 y1 = tems.ts_p_offset.y + y1 * tems.ts_font.vf_height; in ficl_term_putimage() 114 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in ficl_term_putimage() 130 uint32_t x1, y1, x2, y2, f; in ficl_fb_putimage() local 140 y1 = ficlStackPopUnsigned(ficlVmGetDataStack(pVM)); in ficl_fb_putimage() 154 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in ficl_fb_putimage() 177 ficlUnsigned x0, y0, x1, y1, wd; in ficl_fb_line() local 182 y1 = ficlStackPopUnsigned(ficlVmGetDataStack(pVM)); in ficl_fb_line() 186 gfx_fb_line(x0, y0, x1, y1, wd); in ficl_fb_line() [all …]
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | funcs.c | 64 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()
|