/freebsd-12-stable/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 75 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-12-stable/contrib/sendmail/src/ |
H A D | convtime.c | 129 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-12-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_overlay.c | 142 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-12-stable/sys/dev/mse/ |
H A D | mse.c | 218 sc->status.dx = sc->status.dy = sc->status.dz = 0; 427 sc->status.dy = 0; 516 int dx, dy, but; local 527 (*sc->sc_getmouse)(sc->sc_port, &dx, &dy, &but); local 535 sign = (dy < 0); 536 dy = dy * dy / sc->mode.accelfactor; 537 if (dy == 0) 538 dy [all...] |
H A D | mse_isa.c | 159 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 D | msevar.h | 62 void (*sc_getmouse)(struct resource *port, int *dx, int *dy, 118 void (*m_get)(struct resource *port, int *dx, int *dy, int *but);
|
/freebsd-12-stable/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 99 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-12-stable/sys/dev/usb/input/ |
H A D | wsp.c | 851 int dy = 0; local 1045 dy = sc->pos_y[0] - sc->pre_pos_y; 1049 dx = dy = 0; 1053 dx = dy = 0; 1057 dx = dy = 0; 1062 dx = dy = 0; 1066 dy = sc->pos_y[sc->finger] - sc->pre_pos_y; 1074 dx = dy = 0; 1081 dx = dy = 0; 1088 dx = dy 1186 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz, uint32_t buttons_in) argument [all...] |
H A D | ums.c | 230 int32_t dy = 0; local 287 dy -= hid_get_data(buf, len, &info->sc_loc_y); 327 if (dx || dy || dz || dt || dw || 331 dx, dy, dz, dt, dw, buttons); 344 sc->sc_status.dy += dy; 357 * dx=dy=dz=buttons=0 before we add the event 362 (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 882 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument 927 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 D | atp.c | 2120 atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz, argument 2127 dy = imin(dy, 254); dy = imax(dy, -256); 2138 DPRINTFN(ATP_LLEVEL_INFO, "dx=%d, dy=%d, buttons=%x\n", 2139 dx, dy, buttons_out); 2145 buf[2] = dy >> 1; 2147 buf[4] = dy - (dy >> 2367 int dy = 0; local [all...] |
/freebsd-12-stable/usr.sbin/moused/ |
H A D | moused.c | 962 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-12-stable/lib/libvgl/ |
H A D | simple.c | 225 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; local 229 dy = SL_ABSOLUTE(y2, y1, sign_y); 236 if (dy > dx) { /* chooses axis of greatest movement (make dx) */ 239 SL_SWAP(dx, dy); 268 incr2 = 4 * dy - 2 * dx; 270 c = 2 * dy; 336 c = 2 * (dy - dx); 445 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local 447 while (dx<dy) { 450 y--; dy 481 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; local [all...] |
/freebsd-12-stable/sys/dev/syscons/plasma/ |
H A D | plasma_saver.c | 86 signed int dx, dy; /* horizontal / vertical distance */ local 101 dy = y - plasma_foci[i].y; 102 sqd = ItoFP16(dx * dx + dy * dy);
|
/freebsd-12-stable/sys/dev/syscons/ |
H A D | sysmouse.c | 201 mouse_status.dy = 0; 289 mouse_status.dy += y;
|
/freebsd-12-stable/sys/net/altq/ |
H A D | altq_hfsc.h | 266 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:internal_sc 278 u_int64_t dy; /* the y-projection of the 1st segment */ member in struct:runtime_sc
|
H A D | altq_hfsc.c | 971 cl->cl_eligible.dy = 0; 1473 isc->dy = seg_x2y(isc->dx, isc->sm1); 1491 rtsc->dy = isc->dy; 1507 else if (y <= rtsc->y + rtsc->dy) { 1509 if (rtsc->dy == 0) 1516 + seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2); 1533 y = rtsc->y + rtsc->dy 1546 u_int64_t y1, y2, dx, dy; local 1572 if (y2 >= y + isc->dy) { [all...] |
/freebsd-12-stable/sys/dev/vt/ |
H A D | vt_sysmouse.c | 241 sysmouse_status.dy += y; 415 sysmouse_status.dy = 0;
|
/freebsd-12-stable/sys/sys/ |
H A D | mouse.h | 59 int dy; /* y movement */ member in struct:mousestatus
|
/freebsd-12-stable/sys/dev/atkbdc/ |
H A D | psm.c | 2240 sc->status.dy = 0; 2412 i = imax(imin(status->dy, 255), -256); 2423 i = imax(imin(status->dy, 255), -256); 2811 sc->status.dy = 0; 4005 int taphold_timeout, dx, dy, tap_max_delta; local 4009 dy = abs(smoother->queue[smoother->queue_cursor].y - 4014 tap_max_delta = imax(dx, dy); 4022 "synaptics: zmax=%d, dx=%d, dy=%d, " 4024 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb, 4028 dx <= tap_max_delta && dy < 4144 int dx, dy, dxp, dyp; local [all...] |
/freebsd-12-stable/sys/dev/adb/ |
H A D | adb_mouse.c | 639 status->dy = sc->ydelta;
|
/freebsd-12-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 8932 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-12-stable/sys/dev/drm2/radeon/ |
H A D | radeon_drv.h | 462 int sx, int sy, int dx, int dy,
|
/freebsd-12-stable/sys/dev/sound/pcm/ |
H A D | feeder_rate.c | 1418 dumpz(dy);
|