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

12

/freebsd-11-stable/sys/dev/syscons/dragon/
H A Ddragon_saver.c84 gdraw(int dx, int dy, int val) argument
106 else { /* dy != 0 */
108 cur_y += dy;
109 if (dy < 0) {
110 i += dy;
111 dy = -dy;
114 for (; dy >= 0; --dy, ++i) {
130 static int dx, dy; local
[all...]
/freebsd-11-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-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c142 int sx, sy, dx, dy; local
175 for (dy = dminrow, sy = sminrow;
176 dy <= dmaxrow;
177 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-11-stable/sys/dev/mse/
H A Dmse.c214 sc->status.dx = sc->status.dy = sc->status.dz = 0;
423 sc->status.dy = 0;
518 int dx, dy, but; local
529 (*sc->sc_getmouse)(sc->sc_port, &dx, &dy, &but); local
537 sign = (dy < 0);
538 dy = dy * dy / sc->mode.accelfactor;
539 if (dy == 0)
540 dy
[all...]
H A Dmsevar.h60 void (*sc_getmouse)(struct resource *port, int *dx, int *dy,
119 void (*m_get)(struct resource *port, int *dx, int *dy, int *but);
H A Dmse_isa.c159 static void mse_getlogi(struct resource *port, int *dx, int *dy,
177 static void mse_getati(struct resource *port, int *dx, int *dy,
290 int dx, dy, but; local
293 mse_getlogi(port, &dx, &dy, &but);
307 * Get the current dx, dy and button up/down state.
310 mse_getlogi(struct resource *port, int *dx, int *dy, int *but) argument
325 *dy = y;
371 * Get current dx, dy and up/down button state.
374 mse_getati(struct resource *port, int *dx, int *dy, int *but) argument
387 *dy
[all...]
H A Dmse_cbus.c140 int *dx, int *dy, int *but);
268 * Get current dx, dy and up/down button state.
271 mse_get98m(struct resource *port, int *dx, int *dy, int *but) argument
296 *dy = y;
/freebsd-11-stable/sys/dev/usb/gadget/
H A Dg_mouse.c97 int8_t dy; member in struct:g_mouse_data
199 sc->sc_data.dy = 0;
342 int dy; local
403 dy = sc->sc_curr_y_state - sc->sc_last_y_state;
410 if (dy < -63)
411 dy = -63;
412 else if (dy > 63)
413 dy = 63;
416 sc->sc_last_y_state += dy;
419 sc->sc_data.dy
[all...]
/freebsd-11-stable/contrib/groff/src/preproc/grn/
H A Dhgraph.cpp461 register int dy; local
463 if ((dy = py - lasty)) {
464 printf("\\v'%du'", dy);
489 register int dy; local
491 if ((dy = iy - lasty)) {
492 printf(".sp %du\n", dy);
710 double h[MAXPOINTS], dx[MAXPOINTS], dy[MAXPOINTS]; local
733 PeriodicSpline(h, y, dy, d2y, d3y, numpoints);
736 NaturalEndSpline(h, y, dy, d2y, d3y, numpoints);
752 ny = y[j] + (int) (t * dy[
780 register int dy; local
973 register int dy; local
[all...]
/freebsd-11-stable/sys/dev/usb/input/
H A Dwsp.c849 int dy = 0; local
1043 dy = sc->pos_y[0] - sc->pre_pos_y;
1047 dx = dy = 0;
1051 dx = dy = 0;
1055 dx = dy = 0;
1060 dx = dy = 0;
1064 dy = sc->pos_y[sc->finger] - sc->pre_pos_y;
1072 dx = dy = 0;
1079 dx = dy = 0;
1086 dx = dy
1184 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz, uint32_t buttons_in) argument
[all...]
H A Dums.c228 int32_t dy = 0; local
285 dy -= hid_get_data(buf, len, &info->sc_loc_y);
325 if (dx || dy || dz || dt || dw ||
329 dx, dy, dz, dt, dw, buttons);
342 sc->sc_status.dy += dy;
355 * dx=dy=dz=buttons=0 before we add the event
360 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) &&
369 ums_put_queue(sc, dx, dy, dz, dt, buttons);
371 ums_evdev_push(sc, dx, dy, d
877 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument
922 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.c2118 atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz, argument
2125 dy = imin(dy, 254); dy = imax(dy, -256);
2136 DPRINTFN(ATP_LLEVEL_INFO, "dx=%d, dy=%d, buttons=%x\n",
2137 dx, dy, buttons_out);
2143 buf[2] = dy >> 1;
2145 buf[4] = dy - (dy >>
2365 int dy = 0; local
[all...]
/freebsd-11-stable/usr.sbin/moused/
H A Dmoused.c962 linacc(int dx, int dy, int *movex, int *movey) argument
966 if (dx == 0 && dy == 0) {
971 fdy = dy * rodent.accely + rodent.remainy;
988 expoacc(int dx, int dy, int *movex, int *movey) argument
993 if (dx == 0 && dy == 0) {
998 fdy = dy * rodent.accely;
1092 action0.dx = action0.dy = action0.dz = 0;
1180 debug("activity : buttons 0x%08x dx %d dy %d dz %d",
1181 action2.button, action2.dx, action2.dy, action2.dz);
1190 if (action2.dy || action
[all...]
/freebsd-11-stable/lib/libvgl/
H A Dsimple.c223 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; local
227 dy = SL_ABSOLUTE(y2, y1, sign_y);
234 if (dy > dx) { /* chooses axis of greatest movement (make dx) */
237 SL_SWAP(dx, dy);
266 incr2 = 4 * dy - 2 * dx;
268 c = 2 * dy;
334 c = 2 * (dy - dx);
443 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local
445 while (dx<dy) {
448 y--; dy
479 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local
[all...]
/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Ddraw.c534 int dx, dy; local
544 dy = 0;
548 dy += v[2*i + 1];
549 p[i + 1].y = DeviceToX (dw, dy) + p[0].y;
563 int dx, dy; local
575 dy = 0;
579 dy += v[2*i + 1];
580 p[i + 1].y = DeviceToX (dw, dy) + p[0].y;
607 int x_1, y_1, dx, dy, n1, n2, n; local
613 dy
647 int ox, oy, dx, dy; local
[all...]
/freebsd-11-stable/sys/dev/syscons/plasma/
H A Dplasma_saver.c88 signed int dx, dy; /* horizontal / vertical distance */ local
103 dy = y - plasma_foci[i].y;
104 sqd = ItoFP16(dx * dx + dy * dy);
/freebsd-11-stable/contrib/groff/src/devices/grolbp/
H A Dlbp.h382 static int dy = 0, despx = 0, despy = 0, sigpend = 0; local
397 if ((sg == sigpend) && (dy == 0)){
400 dy = 0;
403 dy = 1;
421 dxnew = dy = despx = despy = 0;
432 dxnew = dy = despx = despy = 0;
/freebsd-11-stable/sys/net/altq/
H A Daltq_hfsc.h208 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:internal_sc
220 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:runtime_sc
H A Daltq_hfsc.c957 cl->cl_eligible.dy = 0;
1469 isc->dy = seg_x2y(isc->dx, isc->sm1);
1487 rtsc->dy = isc->dy;
1503 else if (y <= rtsc->y + rtsc->dy) {
1505 if (rtsc->dy == 0)
1512 + seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2);
1529 y = rtsc->y + rtsc->dy
1542 u_int64_t y1, y2, dx, dy; local
1568 if (y2 >= y + isc->dy) {
[all...]
/freebsd-11-stable/sys/dev/syscons/
H A Dsysmouse.c199 mouse_status.dy = 0;
293 mouse_status.dy += y;
/freebsd-11-stable/sys/dev/vt/
H A Dvt_sysmouse.c239 sysmouse_status.dy += y;
413 sysmouse_status.dy = 0;
/freebsd-11-stable/sys/sys/
H A Dmouse.h59 int dy; /* y movement */ member in struct:mousestatus
/freebsd-11-stable/sys/dev/drm/
H A Dr600_blit.c1913 int sx, int sy, int dx, int dy,
1936 dy2 = dy + h;
1939 vb[1] = i2f(dy);
1983 set_scissors(dev_priv, dx, dy, dx2, dy2);
1911 r600_blit_swap(struct drm_device *dev, uint64_t src_gpu_addr, uint64_t dst_gpu_addr, int sx, int sy, int dx, int dy, int w, int h, int src_pitch, int dst_pitch, int cpp) argument
/freebsd-11-stable/sys/dev/atkbdc/
H A Dpsm.c2229 sc->status.dy = 0;
2401 i = imax(imin(status->dy, 255), -256);
2412 i = imax(imin(status->dy, 255), -256);
2803 sc->status.dy = 0;
4008 int taphold_timeout, dx, dy, tap_max_delta; local
4012 dy = abs(smoother->queue[smoother->queue_cursor].y -
4017 tap_max_delta = imax(dx, dy);
4025 "synaptics: zmax=%d, dx=%d, dy=%d, "
4027 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4031 dx <= tap_max_delta && dy <
4147 int dx, dy, dxp, dyp; local
[all...]
/freebsd-11-stable/sys/dev/adb/
H A Dadb_mouse.c637 status->dy = sc->ydelta;

Completed in 381 milliseconds

12