Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 41) 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/usr.sbin/moused/
H A Dmoused.c936 linacc(int dx, int dy, int *movex, int *movey) in linacc() argument
940 if (dx == 0 && dy == 0) { in linacc()
945 fdy = dy * rodent.accely + rodent.remainy; in linacc()
962 expoacc(int dx, int dy, int *movex, int *movey) in expoacc() argument
967 if (dx == 0 && dy == 0) { in expoacc()
972 fdy = dy * rodent.accely; in expoacc()
1066 action0.dx = action0.dy = action0.dz = 0; in moused()
1154 debug("activity : buttons 0x%08x dx %d dy %d dz %d", in moused()
1155 action2.button, action2.dx, action2.dy, action2.dz); in moused()
1164 if (action2.dy || action in moused()
[all...]
/freebsd/sys/dev/usb/input/
H A Dwsp.c970 int dy = 0; in wsp_intr_callback() local
1209 dy = sc->pos_y[0] - sc->pre_pos_y[0]; in wsp_intr_callback()
1213 dx = dy = 0; in wsp_intr_callback()
1217 dx = dy = 0; in wsp_intr_callback()
1221 dx = dy = 0; in wsp_intr_callback()
1226 dx = dy = 0; in wsp_intr_callback()
1230 dy = sc->pos_y[sc->finger] - sc->pre_pos_y[sc->finger]; in wsp_intr_callback()
1238 dx = dy = 0; in wsp_intr_callback()
1245 dx = dy = 0; in wsp_intr_callback()
1252 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/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.c505 uint32_t x, sy, dy; in gfxfb_blt_video_to_buffer() local
546 for (sy = SourceY, dy = DestinationY; dy < Height + DestinationY; in gfxfb_blt_video_to_buffer()
547 sy++, dy++) { in gfxfb_blt_video_to_buffer()
550 destination = (uint8_t *)BltBuffer + dy * Delta + in gfxfb_blt_video_to_buffer()
605 uint32_t x, sy, dy; in gfxfb_blt_buffer_to_video() local
646 for (sy = SourceY, dy = DestinationY; sy < Height + SourceY; in gfxfb_blt_buffer_to_video()
647 sy++, dy++) { in gfxfb_blt_buffer_to_video()
648 off = dy * pitch + DestinationX * bpp; in gfxfb_blt_buffer_to_video()
1122 uint32_t sx, sy, dx, dy, width, height; in gfx_fb_copy_area() local
1132 dy = d->tp_row * height; in gfx_fb_copy_area()
[all …]
/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.ISO8859-2.msg40 $ B��dy matematyczne.
48 $ B��dy Parse'a.
82 $ B��dy Runtime'u.
97 $ Fatalne b��dy.
H A Dpl_PL.UTF-8.msg
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/
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/sys/dev/syscons/
H A Dsysmouse.c206 mouse_status.dy = 0; in smdev_ioctl()
294 mouse_status.dy += y; in sysmouse_event()
/freebsd/sys/dev/vt/
H A Dvt_sysmouse.c249 sysmouse_status.dy += y; in sysmouse_process_event()
425 sysmouse_status.dy = 0; in sysmouse_ioctl()
/freebsd/sys/sys/
H A Dmouse.h57 int dy; /* y movement */ member
/freebsd/sys/dev/atkbdc/
H A Dpsm.c2239 sc->status.dy = 0;
2406 i = imax(imin(status->dy, 255), -256);
2417 i = imax(imin(status->dy, 255), -256);
2804 sc->status.dy = 0;
4001 int taphold_timeout, dx, dy, tap_max_delta; local
4005 dy = abs(smoother->queue[smoother->queue_cursor].y -
4010 tap_max_delta = imax(dx, dy);
4020 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4024 dx <= tap_max_delta && dy <= tap_max_delta &&
4140 int dx, dy, dxp, dyp; local
[all …]

12