Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/dev/syscons/dragon/
H A Ddragon_saver.c73 gdraw(int dx, int dy, int val) in gdraw() argument
92 cur_y += dy; in gdraw()
93 if (dy < 0) { in gdraw()
94 i += dy; in gdraw()
95 dy = -dy; in gdraw()
98 for (; dy >= 0; --dy, ++i) { in gdraw()
111 static int dx, dy; in dragon_update() local
141 dx = 0; dy = mul; in dragon_update()
144 dx = mul; dy = 0; in dragon_update()
147 dx = 0; dy = -mul; in dragon_update()
[all …]
/freebsd/contrib/sendmail/src/
H A Dconvtime.c130 int wk, dy, hr, mi, se; local
146 dy = intvl;
151 dy = intvl % 7;
160 if (dy > 0)
162 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
177 if (dy > 0)
179 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
180 PLURAL(dy));
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c169 int sx, sy, dx, dy; in copywin() local
174 for (dy = dminrow, sy = sminrow; in copywin()
175 dy <= dmaxrow; in copywin()
176 sy++, dy++) { in copywin()
179 if (dy < 0 || sy < 0) in copywin()
193 (!CharEq(dst->_line[dy].text[dx], in copywin()
195 dst->_line[dy].text[dx] = in copywin()
197 SetAttr(dst->_line[dy].text[dx], in copywin()
203 if (!CharEq(dst->_line[dy].text[dx], in copywin()
205 dst->_line[dy].text[dx] = in copywin()
/freebsd/sys/dev/usb/gadget/
H A Dg_mouse.c98 int8_t dy; member
197 sc->sc_data.dy = 0; in g_mouse_cursor_update_timeout_reset()
340 int dy; in g_mouse_intr_callback() local
401 dy = sc->sc_curr_y_state - sc->sc_last_y_state; in g_mouse_intr_callback()
408 if (dy < -63) in g_mouse_intr_callback()
409 dy = -63; in g_mouse_intr_callback()
410 else if (dy > 63) in g_mouse_intr_callback()
411 dy = 63; in g_mouse_intr_callback()
414 sc->sc_last_y_state += dy; in g_mouse_intr_callback()
417 sc->sc_data.dy = dy; in g_mouse_intr_callback()
/freebsd/lib/libvgl/
H A Dsimple.c187 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; in VGLLine() local
191 dy = SL_ABSOLUTE(y2, y1, sign_y); in VGLLine()
198 if (dy > dx) { /* chooses axis of greatest movement (make dx) */ in VGLLine()
201 SL_SWAP(dx, dy); in VGLLine()
230 incr2 = 4 * dy - 2 * dx; in VGLLine()
232 c = 2 * dy; in VGLLine()
298 c = 2 * (dy - dx); in VGLLine()
407 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; in VGLEllipse() local
409 while (dx<dy) { in VGLEllipse()
412 y--; dy-=asq2; d-=dy; in VGLEllipse()
[all …]
/freebsd/sys/dev/usb/input/
H A Dwsp.c972 int dy = 0; in wsp_intr_callback() local
1215 dy = sc->pos_y[0] - sc->pre_pos_y[0]; in wsp_intr_callback()
1219 dx = dy = 0; in wsp_intr_callback()
1223 dx = dy = 0; in wsp_intr_callback()
1227 dx = dy = 0; in wsp_intr_callback()
1232 dx = dy = 0; in wsp_intr_callback()
1236 dy = sc->pos_y[sc->finger] - sc->pre_pos_y[sc->finger]; in wsp_intr_callback()
1244 dx = dy = 0; in wsp_intr_callback()
1251 dx = dy = 0; in wsp_intr_callback()
1258 dx = dy = 0; in wsp_intr_callback()
[all …]
H A Dums.c231 int32_t dy = 0; in ums_intr_callback() local
288 dy -= hid_get_data(buf, len, &info->sc_loc_y); in ums_intr_callback()
329 if (dx || dy || dz || dt || dw || in ums_intr_callback()
332 dx, dy, dz, dt, dw, buttons); in ums_intr_callback()
345 sc->sc_status.dy += dy; in ums_intr_callback()
363 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) && in ums_intr_callback()
370 ums_put_queue(sc, dx, dy, dz, dt, buttons); in ums_intr_callback()
372 ums_evdev_push(sc, dx, dy, dz, dt, in ums_intr_callback()
816 sc->sc_status.dy = 0; in ums_reset()
877 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, in ums_put_queue() argument
[all …]
H A Datp.c2114 atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz, in atp_add_to_queue() argument
2121 dy = imin(dy, 254); dy = imax(dy, -256); in atp_add_to_queue()
2133 dx, dy, buttons_out); in atp_add_to_queue()
2139 buf[2] = dy >> 1; in atp_add_to_queue()
2141 buf[4] = dy - (dy >> 1); in atp_add_to_queue()
2364 int dy = 0; in atp_intr() local
2372 dy += strokep->movement_dy; in atp_intr()
2381 dy /= (int)n_movements; in atp_intr()
2395 dz = dy; in atp_intr()
2396 dy = dx = 0; in atp_intr()
[all …]
/freebsd/usr.sbin/moused/moused/
H A Dmoused.c276 int dy; member
865 linacc(struct accel *acc, int dx, int dy, int dz, in linacc() argument
870 if (dx == 0 && dy == 0 && dz == 0) { in linacc()
875 fdy = dy * acc->accely + acc->remainy; in linacc()
895 expoacc(struct accel *acc, int dx, int dy, int dz, in expoacc() argument
900 if (dx == 0 && dy == 0 && dz == 0) { in expoacc()
905 fdy = dy * acc->accely; in expoacc()
1003 action0.dx = action0.dy = action0.dz = 0; in moused()
1110 action2.button, action2.dx, action2.dy, action2.dz); in moused()
1144 action.dx = action.dy = action.dz = 0; in moused()
[all …]
/freebsd/usr.sbin/moused/msconvd/
H A Dmsconvd.c855 (act->dy != 0 && uinput_event(fd, EV_REL, REL_Y, act->dy) < 0) || in r_uinput_report()
1468 act->dx = act->dy = act->dz = 0; in r_protocol()
1492 act->dx = act->dy = 0; in r_protocol()
1502 act->dx = act->dy = act->dz = 0; in r_protocol()
1509 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0) in r_protocol()
1558 act->dy = (signed char)(((pBuf[0] & 0x0C) << 4) | (pBuf[2] & 0x3F)); in r_protocol()
1568 act->dy = (signed char)(((pBuf[0] & 0x0C) << 4) | (pBuf[2] & 0x3F)); in r_protocol()
1577 act->dy = - ((signed char)(pBuf[2]) + (signed char)(pBuf[4])); in r_protocol()
1594 act->dy = (pBuf[0] & MOUSE_MM_YPOSITIVE) ? - pBuf[2] : pBuf[2]; in r_protocol()
1601 act->dy = (pBuf[0] & MOUSE_MM_YPOSITIVE) ? - pBuf[2] : pBuf[2]; in r_protocol()
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/
H A Derfinvl.c106 long double dy = HF_SQRT_PIl * (erfl (y) - x) * exp (y * y); in erfinvl() local
107 y -= dy; in erfinvl()
110 if (fabsl (dy) < eps) in erfinvl()
/freebsd/sys/dev/syscons/plasma/
H A Dplasma_saver.c84 signed int dx, dy; /* horizontal / vertical distance */ in plasma_update() local
99 dy = y - plasma_foci[i].y; in plasma_update()
100 sqd = ItoFP16(dx * dx + dy * dy); in plasma_update()
/freebsd/stand/common/
H A Dgfx_fb.c569 uint32_t x, sy, dy; in gfxfb_blt_video_to_buffer() local
610 for (sy = SourceY, dy = DestinationY; dy < Height + DestinationY; in gfxfb_blt_video_to_buffer()
611 sy++, dy++) { in gfxfb_blt_video_to_buffer()
614 destination = (uint8_t *)BltBuffer + dy * Delta + in gfxfb_blt_video_to_buffer()
669 uint32_t x, sy, dy; in gfxfb_blt_buffer_to_video() local
710 for (sy = SourceY, dy = DestinationY; sy < Height + SourceY; in gfxfb_blt_buffer_to_video()
711 sy++, dy++) { in gfxfb_blt_buffer_to_video()
712 off = dy * pitch + DestinationX * bpp; in gfxfb_blt_buffer_to_video()
883 uint32_t sy, dy; in gfxfb_shadow_buf_write() local
888 for (sy = SourceY, dy = DestinationY; sy < SourceY + Height; sy++, dy++) { in gfxfb_shadow_buf_write()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_crrd.c208 const rrd_data_t *data, *dm, *dd, *dy; in dbrrd_query() local
213 dy = rrd_query(&r->dbr_months, tv, rounding); in dbrrd_query()
215 data = dbrrd_closest(tv, dbrrd_closest(tv, dd, dm), dy); in dbrrd_query()
/freebsd/sys/dev/evdev/
H A Devdev_mt.c318 int i, j, m, n, dx, dy, slot, num_touches; in evdev_mt_match_frame() local
334 dy = pt[i].y - mt->slots[slot].y; in evdev_mt_match_frame()
335 *p++ = dx * dx + dy * dy; in evdev_mt_match_frame()
343 dy = pt[i].y - mt->slots[slot].y; in evdev_mt_match_frame()
344 *p++ = dx * dx + dy * dy; in evdev_mt_match_frame()
/freebsd/sys/net/altq/
H A Daltq_hfsc.c923 cl->cl_eligible.dy = 0; in init_ed()
1423 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc()
1441 rtsc->dy = isc->dy; in rtsc_init()
1457 else if (y <= rtsc->y + rtsc->dy) { in rtsc_y2x()
1459 if (rtsc->dy == 0) in rtsc_y2x()
1466 + seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2); in rtsc_y2x()
1483 y = rtsc->y + rtsc->dy in rtsc_x2y()
1496 u_int64_t y1, y2, dx, dy; in rtsc_min() local
1522 if (y2 >= y + isc->dy) { in rtsc_min()
1527 rtsc->dy = isc->dy; in rtsc_min()
[all …]
H A Daltq_hfsc.h196 u_int64_t dy; /* the y-projection of the 1st segment */ member
208 u_int64_t dy; /* the y-projection of the 1st segment */ member
/freebsd/contrib/bc/locales/
H A Dpl_PL.UTF-8.msg40 $ Błędy matematyczne.
48 $ Błędy Parse'a.
82 $ Błędy Runtime'u.
97 $ Fatalne błędy.
H A Dpl_PL.ISO8859-2.msg40 $ B��dy matematyczne.
48 $ B��dy Parse'a.
82 $ B��dy Runtime'u.
97 $ Fatalne b��dy.
H A Dpl_PL.utf8.msg
/freebsd/contrib/libfido2/src/
H A Des384.c188 size_t dy; in es384_pk_from_EC_KEY() local
219 dy = sizeof(pk->y) - (size_t)ny; in es384_pk_from_EC_KEY()
222 (ny = BN_bn2bin(y, pk->y + dy)) < 0 || (size_t)ny > sizeof(pk->y)) { in es384_pk_from_EC_KEY()
H A Des256.c345 size_t dy; in es256_pk_from_EC_KEY() local
376 dy = sizeof(pk->y) - (size_t)ny; in es256_pk_from_EC_KEY()
379 (ny = BN_bn2bin(y, pk->y + dy)) < 0 || (size_t)ny > sizeof(pk->y)) { in es256_pk_from_EC_KEY()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dchrono474 constexpr year_month operator+(const year_month& ym, const years& dy) noexcept;
475 constexpr year_month operator+(const years& dy, const year_month& ym) noexcept;
476 constexpr year_month operator-(const year_month& ym, const years& dy) noexcept;
490 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept;
491 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept;
493 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept;
510 operator+(const year_month_day_last& ymdl, const years& dy) noexcept;
512 operator+(const years& dy, const year_month_day_last& ymdl) noexcept;
516 operator-(const year_month_day_last& ymdl, const years& dy) noexcept;
533 operator+(const year_month_weekday& ymwd, const years& dy) noexcept;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono569 constexpr year_month operator+(const year_month& ym, const years& dy) noexcept;
570 constexpr year_month operator+(const years& dy, const year_month& ym) noexcept;
571 constexpr year_month operator-(const year_month& ym, const years& dy) noexcept;
585 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept;
586 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept;
588 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept;
605 operator+(const year_month_day_last& ymdl, const years& dy) noexcept;
607 operator+(const years& dy, const year_month_day_last& ymdl) noexcept;
611 operator-(const year_month_day_last& ymdl, const years& dy) noexcept;
628 operator+(const year_month_weekday& ymwd, const years& dy) noexcept;
[all …]
/freebsd/sys/dev/syscons/
H A Dsysmouse.c206 mouse_status.dy = 0; in smdev_ioctl()
294 mouse_status.dy += y; in sysmouse_event()

12