Searched refs:dy (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/sys/dev/syscons/dragon/
H A Ddragon_saver.c75 gdraw(int dx, int dy, int val) argument
92 else { /* dy != 0 */
94 cur_y += dy;
95 if (dy < 0) {
96 i += dy;
97 dy = -dy;
100 for (; dy >= 0; --dy, ++i) {
113 static int dx, dy; local
[all...]
/freebsd-13-stable/contrib/sendmail/src/
H A Dconvtime.c129 int wk, dy, hr, mi, se; local
145 dy = intvl;
150 dy = intvl % 7;
159 if (dy > 0)
161 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
176 if (dy > 0)
178 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
179 PLURAL(dy));
/freebsd-13-stable/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c169 int sx, sy, dx, dy; local
174 for (dy = dminrow, sy = sminrow;
175 dy <= dmaxrow;
176 sy++, dy++) {
179 if (dy < 0 || sy < 0)
193 (!CharEq(dst->_line[dy].text[dx],
195 dst->_line[dy].text[dx] =
197 SetAttr(dst->_line[dy].text[dx],
203 if (!CharEq(dst->_line[dy].text[dx],
205 dst->_line[dy]
[all...]
/freebsd-13-stable/sys/dev/usb/gadget/
H A Dg_mouse.c100 int8_t dy; member in struct:g_mouse_data
201 sc->sc_data.dy = 0;
344 int dy; local
405 dy = sc->sc_curr_y_state - sc->sc_last_y_state;
412 if (dy < -63)
413 dy = -63;
414 else if (dy > 63)
415 dy = 63;
418 sc->sc_last_y_state += dy;
421 sc->sc_data.dy
[all...]
/freebsd-13-stable/sys/dev/usb/input/
H A Dwsp.c854 int dy = 0; local
1047 dy = sc->pos_y[0] - sc->pre_pos_y;
1051 dx = dy = 0;
1055 dx = dy = 0;
1059 dx = dy = 0;
1064 dx = dy = 0;
1068 dy = sc->pos_y[sc->finger] - sc->pre_pos_y;
1076 dx = dy = 0;
1083 dx = dy = 0;
1090 dx = dy
1187 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz, uint32_t buttons_in) argument
[all...]
H A Dums.c233 int32_t dy = 0; local
290 dy -= hid_get_data(buf, len, &info->sc_loc_y);
330 if (dx || dy || dz || dt || dw ||
333 dx, dy, dz, dt, dw, buttons);
346 sc->sc_status.dy += dy;
359 * dx=dy=dz=buttons=0 before we add the event
364 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) &&
371 ums_put_queue(sc, dx, dy, dz, dt, buttons);
373 ums_evdev_push(sc, dx, dy, d
873 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument
917 ums_evdev_push(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument
[all...]
H A Datp.c2121 atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz, argument
2128 dy = imin(dy, 254); dy = imax(dy, -256);
2139 DPRINTFN(ATP_LLEVEL_INFO, "dx=%d, dy=%d, buttons=%x\n",
2140 dx, dy, buttons_out);
2146 buf[2] = dy >> 1;
2148 buf[4] = dy - (dy >>
2371 int dy = 0; local
[all...]
/freebsd-13-stable/usr.sbin/moused/
H A Dmoused.c939 linacc(int dx, int dy, int *movex, int *movey) argument
943 if (dx == 0 && dy == 0) {
948 fdy = dy * rodent.accely + rodent.remainy;
965 expoacc(int dx, int dy, int *movex, int *movey) argument
970 if (dx == 0 && dy == 0) {
975 fdy = dy * rodent.accely;
1069 action0.dx = action0.dy = action0.dz = 0;
1157 debug("activity : buttons 0x%08x dx %d dy %d dz %d",
1158 action2.button, action2.dx, action2.dy, action2.dz);
1167 if (action2.dy || action
[all...]
/freebsd-13-stable/lib/libvgl/
H A Dsimple.c189 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; local
193 dy = SL_ABSOLUTE(y2, y1, sign_y);
200 if (dy > dx) { /* chooses axis of greatest movement (make dx) */
203 SL_SWAP(dx, dy);
232 incr2 = 4 * dy - 2 * dx;
234 c = 2 * dy;
300 c = 2 * (dy - dx);
409 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local
411 while (dx<dy) {
414 y--; dy
445 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local
[all...]
/freebsd-13-stable/sys/dev/syscons/plasma/
H A Dplasma_saver.c86 signed int dx, dy; /* horizontal / vertical distance */ local
101 dy = y - plasma_foci[i].y;
102 sqd = ItoFP16(dx * dx + dy * dy);
/freebsd-13-stable/stand/common/
H A Dgfx_fb.c494 uint32_t x, sy, dy; local
535 for (sy = SourceY, dy = DestinationY; dy < Height + DestinationY;
536 sy++, dy++) {
539 destination = (uint8_t *)BltBuffer + dy * Delta +
594 uint32_t x, sy, dy; local
635 for (sy = SourceY, dy = DestinationY; sy < Height + SourceY;
636 sy++, dy++) {
637 off = dy * pitch + DestinationX * bpp;
1108 uint32_t sx, sy, dx, dy, widt local
1426 int dx, sx, dy, sy; local
1483 int dx, dy, err, curvature; local
[all...]
/freebsd-13-stable/sys/net/altq/
H A Daltq_hfsc.c923 cl->cl_eligible.dy = 0;
1423 isc->dy = seg_x2y(isc->dx, isc->sm1);
1441 rtsc->dy = isc->dy;
1457 else if (y <= rtsc->y + rtsc->dy) {
1459 if (rtsc->dy == 0)
1466 + seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2);
1483 y = rtsc->y + rtsc->dy
1496 u_int64_t y1, y2, dx, dy; local
1522 if (y2 >= y + isc->dy) {
[all...]
H A Daltq_hfsc.h197 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:internal_sc
209 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:runtime_sc
/freebsd-13-stable/sys/dev/syscons/
H A Dsysmouse.c200 mouse_status.dy = 0;
288 mouse_status.dy += y;
/freebsd-13-stable/sys/dev/vt/
H A Dvt_sysmouse.c243 sysmouse_status.dy += y;
417 sysmouse_status.dy = 0;
/freebsd-13-stable/sys/sys/
H A Dmouse.h59 int dy; /* y movement */ member in struct:mousestatus
/freebsd-13-stable/sys/dev/atkbdc/
H A Dpsm.c2241 sc->status.dy = 0;
2413 i = imax(imin(status->dy, 255), -256);
2424 i = imax(imin(status->dy, 255), -256);
2811 sc->status.dy = 0;
4007 int taphold_timeout, dx, dy, tap_max_delta; local
4011 dy = abs(smoother->queue[smoother->queue_cursor].y -
4016 tap_max_delta = imax(dx, dy);
4024 "synaptics: zmax=%d, dx=%d, dy=%d, "
4026 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4030 dx <= tap_max_delta && dy <
4146 int dx, dy, dxp, dyp; local
[all...]
/freebsd-13-stable/sys/dev/adb/
H A Dadb_mouse.c636 status->dy = sc->ydelta;
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_torus.c8932 int y, dy, ym = t->y_sz / 2; local
8938 for (dx = 1, dy = 1; dx <= xm && dy <= ym; dx++, dy++) {
8941 y = canonicalize(ym - dy, t->y_sz);
8946 y = canonicalize(ym + dy, t->y_sz);
/freebsd-13-stable/sys/dev/sound/pcm/
H A Dfeeder_rate.c1421 dumpz(dy);
/freebsd-13-stable/contrib/dialog/
H A Dconfigure11426 MK_SHARED_LIB='${LD} ${LDFLAGS} -dy -G -h `basename $@ .${REL_VERSION}`.${ABI_VERSION} -o $@'
11499 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dy -G -h '$cf_cv_shared_soname' -o $@'
11501 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -dy -G -h '$cf_cv_shared_soname' -o $@'
11613 (*-dy\ *)
11615 MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"`
/freebsd-13-stable/contrib/ncurses/
H A Dconfigure6080 MK_SHARED_LIB='${LD} ${LDFLAGS} -dy -G -h `basename $@ .${REL_VERSION}`.${ABI_VERSION} -o $@'
6153 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dy -G -h '$cf_cv_shared_soname' -o $@'
6155 MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -dy -G -h '$cf_cv_shared_soname' -o $@'
6381 (*-dy\ *)
6383 MK_SHARED_LIB=`echo "$MK_SHARED_LIB" | sed -e "s%-dy%\\${VERSIONED_SYMS} -dy%"`

Completed in 416 milliseconds