/freebsd-11.0-release/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 84 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.0-release/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-11.0-release/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-11.0-release/sys/dev/mse/ |
H A D | mse.c | 214 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 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 | 60 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 D | mse_cbus.c | 140 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.0-release/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 97 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.0-release/contrib/groff/src/preproc/grn/ |
H A D | hgraph.cpp | 461 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.0-release/sys/dev/usb/input/ |
H A D | wsp.c | 844 int dy = 0; local 1033 dy = sc->pos_y[0] - sc->pre_pos_y; 1037 dx = dy = 0; 1041 dx = dy = 0; 1045 dx = dy = 0; 1050 dx = dy = 0; 1054 dy = sc->pos_y[sc->finger] - sc->pre_pos_y; 1062 dx = dy = 0; 1069 dx = dy = 0; 1076 dx = dy 1174 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 | 192 int32_t dy = 0; local 249 dy = -hid_get_data(buf, len, &info->sc_loc_y); 283 if (dx || dy || dz || dt || dw || 287 dx, dy, dz, dt, dw, buttons); 297 sc->sc_status.dy += dy; 310 * dx=dy=dz=buttons=0 before we add the event 315 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) && 324 ums_put_queue(sc, dx, dy, dz, dt, buttons); 733 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, argument [all...] |
H A D | atp.c | 2118 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.0-release/usr.sbin/moused/ |
H A D | moused.c | 959 linacc(int dx, int dy, int *movex, int *movey) argument 963 if (dx == 0 && dy == 0) { 968 fdy = dy * rodent.accely + rodent.remainy; 985 expoacc(int dx, int dy, int *movex, int *movey) argument 990 if (dx == 0 && dy == 0) { 995 fdy = dy * rodent.accely; 1089 action0.dx = action0.dy = action0.dz = 0; 1177 debug("activity : buttons 0x%08x dx %d dy %d dz %d", 1178 action2.button, action2.dx, action2.dy, action2.dz); 1187 if (action2.dy || action [all...] |
/freebsd-11.0-release/lib/libvgl/ |
H A D | simple.c | 223 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.0-release/contrib/groff/src/devices/xditview/ |
H A D | draw.c | 534 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.0-release/sys/dev/syscons/plasma/ |
H A D | plasma_saver.c | 88 signed int dx, dy; /* horizontal / vertical distance */ local 103 dy = y - plasma_foci[i].y; 104 sqd = ItoFP16(dx * dx + dy * dy);
|
/freebsd-11.0-release/contrib/groff/src/devices/grolbp/ |
H A D | lbp.h | 382 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.0-release/sys/net/altq/ |
H A D | altq_hfsc.h | 208 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 D | altq_hfsc.c | 957 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.0-release/sys/dev/syscons/ |
H A D | sysmouse.c | 127 mouse_status.dy = 0; 218 mouse_status.dy += y;
|
/freebsd-11.0-release/sys/dev/vt/ |
H A D | vt_sysmouse.c | 166 sysmouse_status.dy += y; 337 sysmouse_status.dy = 0;
|
/freebsd-11.0-release/sys/dev/atkbdc/ |
H A D | psm.c | 1592 sc->status.dy = 0; 1775 i = imax(imin(status->dy, 255), -256); 1786 i = imax(imin(status->dy, 255), -256); 2191 sc->status.dy = 0; 2831 int dx, dy, dxp, dyp; local 2915 dx = dy = 0; 2949 dy = y0 - synaction->queue[cursor].y; 2985 "synaptics: cursor[%d]: x=%d, y=%d, dx=%d, dy=%d\n", 2986 cursor, x0, y0, dx, dy)); 3145 (weight_current * dy * multiplicato 3197 int taphold_timeout, dx, dy, tap_max_delta; local [all...] |
/freebsd-11.0-release/sys/dev/drm2/radeon/ |
H A D | r600_blit.c | 790 int sx, int sy, int dx, int dy, 813 dy2 = dy + h; 816 vb[1] = int2float(dy); 860 set_scissors(dev_priv, dx, dy, dx2, dy2); 788 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.0-release/sys/sys/ |
H A D | mouse.h | 59 int dy; /* y movement */ member in struct:mousestatus
|
/freebsd-11.0-release/sys/dev/drm/ |
H A D | r600_blit.c | 1913 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
|