Home
last modified time | relevance | path

Searched refs:ys (Results 1 – 25 of 72) sorted by relevance

123

/netbsd-src/lib/libc/gdtoa/
H A Ddmisc.c118 ULLong borrow, carry, y, ys; local
120 ULong borrow, carry, y, ys; local
147 ys = *sx++ * (ULLong)q + carry;
148 carry = ys >> 32;
150 y = *bx - (ys & 0xffffffffUL) - borrow;
157 ys = (si & 0xffff) * q + carry;
158 zs = (si >> 16) * q + (ys >> 16);
160 y = (*bx & 0xffff) - (ys & 0xffff) - borrow;
166 ys = *sx++ * q + carry;
167 carry = ys >> 16;
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dgeometry.cpp136 int ys = yend - ycenter; in check_output_arc_limits() local
140 *miny = *maxy = ys; in check_output_arc_limits()
151 qs = (ys >= 0) ? 0 : 3; in check_output_arc_limits()
153 qs = (ys >= 0) ? 1 : 2; in check_output_arc_limits()
160 || ((qs == qe) && (double(xs) * ye < double(xe) * ys))) in check_output_arc_limits()
/netbsd-src/sys/dev/ic/
H A Di128.c82 i128_bitblt(bus_space_tag_t tag, bus_space_handle_t regh, int xs, int ys, in i128_bitblt() argument
92 if (ys < yd) { in i128_bitblt()
94 ys += he - 1; in i128_bitblt()
103 bus_space_write_4(tag, regh, XY0_SRC, (xs << 16) | ys); in i128_bitblt()
H A Dct65550.c490 int32_t x, ys, yd, width, height; in chipsfb_copyrows() local
494 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in chipsfb_copyrows()
498 chipsfb_bitblt(sc, x, ys, x, yd, width, height, ROP_COPY); in chipsfb_copyrows()
528 chipsfb_bitblt(void *cookie, int xs, int ys, int xd, int yd, in chipsfb_bitblt() argument
537 src = xs + ys * sc->sc_linebytes; in chipsfb_bitblt()
547 if (ys < yd) { in chipsfb_bitblt()
/netbsd-src/regress/sys/uvm/pdsim/
H A Dopt.hs38 ff s (y:ys) =
41 ff (Set.delete y s) ys
43 ff s ys
H A Dgenpat5.hs36 byturns (x:xs) (y:ys) = x:y:byturns xs ys
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtsprintf.c1101 char *ys; in random_double() local
1157 yi = mpfr_asprintf (&ys, fmt, prec, y); in random_double()
1171 || ((strcmp (xs, ys) != 0) in random_double()
1174 || strstr (ys, "e-00") == NULL) in random_double()
1176 || strstr (ys, "E-00") == NULL))))) in random_double()
1180 printf ("expected: %s\n", ys); in random_double()
1188 mpfr_free_str (ys); in random_double()
1205 char *ys; in bug20080610() local
1213 yi = mpfr_asprintf (&ys, "%- #0.*e", 1, y); in bug20080610()
1215 if (xi != yi || strcmp (xs, ys) != 0) in bug20080610()
[all …]
H A Dtset_q.c28 check (long int n, long int d, mpfr_rnd_t rnd, const char *ys) in check() argument
44 if (mpfr_cmp_str1 (x, ys)) in check()
48 printf ("correct result is %s, mpfr_set_q gives ", ys); in check()
H A Dtmul.c52 check (const char *xs, const char *ys, mpfr_rnd_t rnd_mode, in check() argument
61 mpfr_set_str1 (yy, ys); in check()
66 xs, ys, mpfr_print_rnd_mode (rnd_mode)); in check()
78 check53 (const char *xs, const char *ys, mpfr_rnd_t rnd_mode, const char *zs) in check53() argument
84 mpfr_set_str1 (yy, ys); in check53()
89 xs, ys, mpfr_print_rnd_mode(rnd_mode)); in check53()
100 check24 (const char *xs, const char *ys, mpfr_rnd_t rnd_mode, const char *zs) in check24() argument
106 mpfr_set_str1 (yy, ys); in check24()
111 "rnd=%s\n", xs, ys, mpfr_print_rnd_mode(rnd_mode)); in check24()
/netbsd-src/sys/arch/sgimips/gio/
H A Dnewport.c318 newport_bitblt(struct newport_devconfig *dc, int xs, int ys, int xd, in newport_bitblt() argument
325 if (yd > ys) { in newport_bitblt()
327 ye = ys; in newport_bitblt()
329 ys += he - 1; in newport_bitblt()
331 ye = ys + he - 1; in newport_bitblt()
353 rex3_write(dc, REX3_REG_XYSTARTI, (xs << REX3_XYSTARTI_XSHIFT) | ys); in newport_bitblt()
356 tmp = (yd - ys) & 0xffff; in newport_bitblt()
849 int32_t x, ys, yd, width, height; in newport_copyrows() local
852 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in newport_copyrows()
857 newport_bitblt(dc, x, ys, x, yd, width, height, 3); in newport_copyrows()
/netbsd-src/lib/libm/src/
H A Ds_fmal.c178 long double xs, ys, zs, adj; in fmal() local
199 ys = frexpl(y, &ey); in fmal()
248 xy = dd_mul(xs, ys); in fmal()
H A Ds_fma.c193 double xs, ys, zs, adj; in fma() local
214 ys = frexp(y, &ey); in fma()
263 xy = dd_mul(xs, ys); in fma()
/netbsd-src/sys/arch/amiga/dev/
H A Dmntva.c81 static void mntva_bitblt(struct mntva_softc *sc, int xs, int ys, int xd,
367 mntva_bitblt(struct mntva_softc *sc, int xs, int ys, int xd, int yd, int wi, in mntva_bitblt() argument
375 mntva_reg_write(sc, MNTVA_BLITTERY3, (uint16_t) ys); in mntva_bitblt()
377 mntva_reg_write(sc, MNTVA_BLITTERY4, (uint16_t) ys + he - 1); in mntva_bitblt()
391 int x, ys, yd, wi, he; in mntva_copyrows() local
399 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in mntva_copyrows()
403 mntva_bitblt(sc, x, ys, x, yd, wi, he); in mntva_copyrows()
H A Dgrf_rhreg.h159 "C" void RZ3AlphaCopy (unsigned short xs, unsigned short ys,
283 void RZ3AlphaCopy (unsigned short xs, unsigned short ys,
291 * ys - source y-coordinate
683 short unsigned int xs, short unsigned int ys,
H A Dzz9k_fb.c216 uint16_t w, uint16_t h, uint16_t xs, uint16_t ys);
563 uint16_t h, uint16_t xs, uint16_t ys) in zzfb_bitblt() argument
570 ZZREG_W(ZZ9K_BLITTER_Y3, ys); in zzfb_bitblt()
582 int x, y, w, h, ys; in zzfb_copyrows() local
586 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in zzfb_copyrows()
590 zzfb_bitblt(sc, x, y, w, h, x, ys); in zzfb_copyrows()
/netbsd-src/sys/dev/wscons/
H A Dmra.c45 mra_Y_AX1_BX2_C(const int *y, int ys, in mra_Y_AX1_BX2_C() argument
61 #define Y(i) AA(y, ys, i) in mra_Y_AX1_BX2_C()
/netbsd-src/external/gpl2/groff/dist/src/preproc/grn/
H A Dhgraph.cpp585 double xs, ys, resolution, fullcircle; in HGArc() local
595 ys = py - cy; in HGArc()
599 resolution = (1.0 + groff_hypot(xs, ys) / res) * PointsPerInterval; in HGArc()
614 xs += epsilon * ys; in HGArc()
616 ys -= epsilon * xs; in HGArc()
617 ny = cy + (int) (ys + 0.5); in HGArc()
/netbsd-src/sys/arch/sgimips/dev/
H A Dcrmfb.c1257 crmfb_bitblt(struct crmfb_softc *sc, int xs, int ys, int xd, int yd, in crmfb_bitblt() argument
1280 if (ys < yd) { in crmfb_bitblt()
1284 rys = ys + he - 1; in crmfb_bitblt()
1289 rys = ys; in crmfb_bitblt()
1302 crmfb_scroll(struct crmfb_softc *sc, int xs, int ys, int xd, int yd, in crmfb_scroll() argument
1317 if (ys < yd) { in crmfb_scroll()
1319 rye = ys; in crmfb_scroll()
1320 rya = ys + he - 1; in crmfb_scroll()
1326 rye = ys + he - 1; in crmfb_scroll()
1327 rya = ys; in crmfb_scroll()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dnm.c907 asection *xs, *ys; in numeric_forward() local
915 ys = bfd_asymbol_section (y); in numeric_forward()
919 if (! bfd_is_und_section (ys)) in numeric_forward()
922 else if (bfd_is_und_section (ys)) in numeric_forward()
957 asection *xs, *ys; in size_forward1() local
968 ys = bfd_asymbol_section (y); in size_forward1()
972 if (bfd_is_und_section (ys)) in size_forward1()
978 if (xs->vma != ys->vma) in size_forward1()
979 return xs->vma < ys->vma ? -1 : 1; in size_forward1()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dnm.c906 asection *xs, *ys; in numeric_forward() local
914 ys = bfd_asymbol_section (y); in numeric_forward()
918 if (! bfd_is_und_section (ys)) in numeric_forward()
921 else if (bfd_is_und_section (ys)) in numeric_forward()
956 asection *xs, *ys; in size_forward1() local
967 ys = bfd_asymbol_section (y); in size_forward1()
971 if (bfd_is_und_section (ys)) in size_forward1()
977 if (xs->vma != ys->vma) in size_forward1()
978 return xs->vma < ys->vma ? -1 : 1; in size_forward1()
/netbsd-src/sys/dev/pci/voyager/
H A Dvoyagerfb.c831 voyagerfb_bitblt(void *cookie, int xs, int ys, int xd, int yd, in voyagerfb_bitblt() argument
853 ys += he - 1; in voyagerfb_bitblt()
859 (xs << 16) | ys); in voyagerfb_bitblt()
1228 int32_t x, ys, yd, width, height; in voyagerfb_copyrows() local
1233 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in voyagerfb_copyrows()
1243 ys += (height - ri->ri_font->fontheight); in voyagerfb_copyrows()
1246 voyagerfb_bitblt(sc, x, ys, x, yd, width, in voyagerfb_copyrows()
1248 ys -= ri->ri_font->fontheight; in voyagerfb_copyrows()
1252 voyagerfb_bitblt(sc, x, ys, x, yd, width, height, in voyagerfb_copyrows()
/netbsd-src/sys/dev/pci/
H A Dtdvfb.c115 static void tdvfb_bitblt(struct tdvfb_softc *sc, int xs, int ys, int xd,
868 tdvfb_bitblt(struct tdvfb_softc *sc, int xs, int ys, int xd, int yd, int wi, in tdvfb_bitblt() argument
876 tdvfb_cvg_write(sc, TDV_OFF_BLTSRCXY, xs | (ys << 16)); in tdvfb_bitblt()
891 int x, ys, yd, wi, he; in tdvfb_copyrows() local
899 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in tdvfb_copyrows()
903 tdvfb_bitblt(sc, x, ys, x, yd, wi, he); in tdvfb_copyrows()
H A Dr128fb.c760 r128fb_bitblt(void *cookie, int xs, int ys, int xd, int yd, in r128fb_bitblt() argument
774 if (yd <= ys) { in r128fb_bitblt()
777 ys += he - 1; in r128fb_bitblt()
790 (xs << 16) | ys); in r128fb_bitblt()
1092 int32_t x, ys, yd, width, height; in r128fb_copyrows() local
1096 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in r128fb_copyrows()
1100 r128fb_bitblt(sc, x, ys, x, yd, width, height, R128_ROP3_S); in r128fb_copyrows()
/netbsd-src/sys/arch/arm/ti/
H A Domap3_dss.c921 omapfb_bitblt(struct omapfb_softc *sc, int xs, int ys, int xd, int yd, in omapfb_bitblt() argument
930 saddr = sc->sc_fbhwaddr + sc->sc_stride * ys + xs * bpp; in omapfb_bitblt()
933 if (ys < yd) { in omapfb_bitblt()
940 if ((xs < xd) && (ys == yd)) { in omapfb_bitblt()
1081 int32_t x, ys, yd, width, height; in omapfb_copyrows() local
1085 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in omapfb_copyrows()
1089 omapfb_bitblt(sc, x, ys, x, yd, width, height, 12); in omapfb_copyrows()
/netbsd-src/sys/dev/sbus/
H A Dp9100.c769 p9100_bitblt(void *cookie, int xs, int ys, int xd, int yd, int wi, in p9100_bitblt() argument
777 src = ((xs & 0x3fff) << 16) | (ys & 0x3fff); in p9100_bitblt()
779 srcw = (((xs + wi - 1) & 0x3fff) << 16) | ((ys + he - 1) & 0x3fff); in p9100_bitblt()
797 p9100_rectfill(void *cookie, int xs, int ys, int wi, int he, uint32_t col) in p9100_rectfill() argument
804 src = ((xs & 0x3fff) << 16) | (ys & 0x3fff); in p9100_rectfill()
805 srcw = (((xs + wi) & 0x3fff) << 16) | ((ys + he) & 0x3fff); in p9100_rectfill()
1492 int32_t x, ys, yd, width, height; in p9100_copyrows() local
1495 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in p9100_copyrows()
1499 p9100_bitblt(scr->scr_cookie, x, ys, x, yd, width, height, ROP_SRC); in p9100_copyrows()

123