/freebsd/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 73 gdraw(int dx, int dy, int val) in gdraw() argument 78 if (dx != 0) { in gdraw() 80 cur_x += dx; in gdraw() 81 if (dx < 0) { in gdraw() 82 i += dx; in gdraw() 83 dx = -dx; in gdraw() 86 for (; dx >= 0; --dx, ++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() [all …]
|
/freebsd/stand/i386/boot2/ |
H A D | sio.S | 28 movw $SIO_PRT+0x3,%dx # Data format reg 30 outb %al,(%dx) # and DLAB 33 outw %ax,(%dx) # BPS 34 movw $SIO_PRT+0x3,%dx # Data format reg 36 outb %al,(%dx) # DLAB 39 outb %al,(%dx) # DTR 56 movw $SIO_PRT+0x5,%dx # Line status reg 59 sio_putc.1: inb (%dx),%al # Transmitter 65 outb %al,(%dx) # Write character 73 inb (%dx),%al # Read character [all …]
|
H A D | boot1.S | 171 main.4: xor %dx,%dx # Partition:drive 186 main.5: mov %dx,MEM_ARG # Save args 277 push %dx # Save 280 pop %dx # Restore 290 read.1: push %dx # Save 294 pop %dx # Restore 300 push %dx # Save 310 pop %dx # Restore
|
/freebsd/lib/msun/src/ |
H A D | s_cbrtl.c | 36 double dr, dt, dx; in cbrtl() local 94 dx = x; in cbrtl() 97 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 101 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_overlay.c | 169 int sx, sy, dx, dy; in copywin() local 183 for (dx = dmincol, sx = smincol; in copywin() 184 dx <= dmaxcol; in copywin() 185 sx++, dx++) { in copywin() 187 if (dx < 0 || sx < 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/lib/msun/ld128/ |
H A D | s_expl.c | 204 double dr, dx, fn, r2; in expm1l() local 235 dx = x; in expm1l() 246 dx * (C14 + dx * (C15 + dx * (C16 + in expm1l() 247 dx * (C17 + dx * C18)))))))))))))); in expm1l() 252 dx * (D14 + dx * (D15 + dx * (D16 + in expm1l() 253 dx * D17))))))))))))); in expm1l()
|
/freebsd/lib/libvgl/ |
H A D | simple.c | 187 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; in VGLLine() local 190 dx = SL_ABSOLUTE(x2, x1, sign_x); in VGLLine() 198 if (dy > dx) { /* chooses axis of greatest movement (make dx) */ in VGLLine() 201 SL_SWAP(dx, dy); in VGLLine() 222 xend = (dx - 1) / 4; in VGLLine() 223 pixels_left = (dx - 1) % 4; /* number of pixels left over at the in VGLLine() 230 incr2 = 4 * dy - 2 * dx; in VGLLine() 234 D = incr1 - dx; in VGLLine() 298 c = 2 * (dy - dx); in VGLLine() 300 D = incr1 + dx; in VGLLine() [all …]
|
/freebsd/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 97 int8_t dx; member 196 sc->sc_data.dx = 0; in g_mouse_cursor_update_timeout_reset() 339 int dx; in g_mouse_intr_callback() local 400 dx = sc->sc_curr_x_state - sc->sc_last_x_state; in g_mouse_intr_callback() 403 if (dx < -63) in g_mouse_intr_callback() 404 dx = -63; in g_mouse_intr_callback() 405 else if (dx > 63) in g_mouse_intr_callback() 406 dx = 63; in g_mouse_intr_callback() 413 sc->sc_last_x_state += dx; in g_mouse_intr_callback() 416 sc->sc_data.dx = dx; in g_mouse_intr_callback()
|
/freebsd/lib/msun/i387/ |
H A D | s_ceil.S | 43 movw -4(%ebp),%dx 44 orw $0x0800,%dx /* round towards +oo */ 45 andw $0xfbff,%dx 46 movw %dx,-8(%ebp)
|
H A D | s_ceilf.S | 15 movw -4(%ebp),%dx 16 orw $0x0800,%dx /* round towards +oo */ 17 andw $0xfbff,%dx 18 movw %dx,-8(%ebp)
|
H A D | s_ceill.S | 13 movw -4(%ebp),%dx 14 orw $0x0800,%dx /* round towards +oo */ 15 andw $0xfbff,%dx 16 movw %dx,-8(%ebp)
|
H A D | s_floor.S | 43 movw -4(%ebp),%dx 44 orw $0x0400,%dx /* round towards -oo */ 45 andw $0xf7ff,%dx 46 movw %dx,-8(%ebp)
|
H A D | s_floorf.S | 15 movw -4(%ebp),%dx 16 orw $0x0400,%dx /* round towards -oo */ 17 andw $0xf7ff,%dx 18 movw %dx,-8(%ebp)
|
H A D | s_floorl.S | 13 movw -4(%ebp),%dx 14 orw $0x0400,%dx /* round towards -oo */ 15 andw $0xf7ff,%dx 16 movw %dx,-8(%ebp)
|
H A D | s_trunc.S | 13 movw -4(%ebp),%dx 14 orw $0x0c00,%dx /* round towards -oo */ 15 movw %dx,-8(%ebp)
|
H A D | s_truncf.S | 13 movw -4(%ebp),%dx 14 orw $0x0c00,%dx /* round towards -oo */ 15 movw %dx,-8(%ebp)
|
H A D | s_truncl.S | 13 movw -4(%ebp),%dx 14 orw $0x0c00,%dx /* round towards -oo */ 15 movw %dx,-8(%ebp)
|
/freebsd/usr.sbin/moused/ |
H A D | moused.c | 936 linacc(int dx, int dy, int *movex, int *movey) in linacc() argument 940 if (dx == 0 && dy == 0) { in linacc() 944 fdx = dx * rodent.accelx + rodent.remainx; in linacc() 962 expoacc(int dx, int dy, int *movex, int *movey) in expoacc() argument 967 if (dx == 0 && dy == 0) { in expoacc() 971 fdx = dx * rodent.accelx; 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 || action2.dx) { in moused() [all...] |
/freebsd/sys/dev/usb/input/ |
H A D | wsp.c | 945 int dx = 0; in wsp_intr_callback() local 1182 dx = sc->pos_x[0] - sc->pre_pos_x[0]; in wsp_intr_callback() 1187 dx = dy = 0; in wsp_intr_callback() 1191 dx = dy = 0; in wsp_intr_callback() 1195 dx = dy = 0; in wsp_intr_callback() 1200 dx = dy = 0; in wsp_intr_callback() 1203 dx = sc->pos_x[sc->finger] - sc->pre_pos_x[sc->finger]; in wsp_intr_callback() 1212 dx = dy = 0; in wsp_intr_callback() 1219 dx = dy = 0; in wsp_intr_callback() 1226 dx = dy = 0; in wsp_intr_callback() [all …]
|
H A D | ums.c | 231 int32_t dx = 0; in ums_intr_callback() local 285 dx += hid_get_data(buf, len, &info->sc_loc_x); in ums_intr_callback() 330 if (dx || dy || dz || dt || dw || in ums_intr_callback() 333 dx, dy, dz, dt, dw, buttons); in ums_intr_callback() 345 sc->sc_status.dx += dx; in ums_intr_callback() 359 * dx=dy=dz=buttons=0 before we add the event in ums_intr_callback() 364 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) && in ums_intr_callback() 371 ums_put_queue(sc, dx, dy, dz, dt, buttons); in ums_intr_callback() 373 ums_evdev_push(sc, dx, d in ums_intr_callback() 877 ums_put_queue(struct ums_softc * sc,int32_t dx,int32_t dy,int32_t dz,int32_t dt,int32_t buttons) ums_put_queue() argument 925 ums_evdev_push(struct ums_softc * sc,int32_t dx,int32_t dy,int32_t dz,int32_t dt,int32_t buttons) ums_evdev_push() argument [all...] |
/freebsd/sys/net/altq/ |
H A D | altq_hfsc.c | 922 cl->cl_eligible.dx = 0; in init_ed() 1393 u_int64_t dx; in d2dx() local 1395 dx = ((u_int64_t)d * machclk_freq) / 1000; in d2dx() 1396 return (dx); in d2dx() 1409 dx2d(u_int64_t dx) in dx2d() argument 1413 d = dx * 1000 / machclk_freq; in dx2d() 1422 isc->dx = d2dx(sc->d); in sc2isc() 1423 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc() 1440 rtsc->dx = isc->dx; in rtsc_init() 1460 x = rtsc->x + rtsc->dx; in rtsc_y2x() [all …]
|
/freebsd/stand/i386/boot0/ |
H A D | boot0.S | 239 pushw %dx # Also in the stack 253 xorw %dx,%dx # Item number 260 btw %dx,_FLAGS(%bp) # Entry enabled? 286 next_entry: incw %dx # Next item 342 movw %dx,%di # Ticks when 360 cmpw %di,%dx # Timeout? 504 putx: btsw %dx,_MNUOPT(%bp) # Enable menu option 537 pushw %dx # Save 538 xorw %dx,%dx # Use COM1 540 popw %dx # Restore
|
/freebsd/contrib/bearssl/src/aead/ |
H A D | eax.c | 373 unsigned dx, sx; in br_eax_run() local 376 dx = dbuf[u]; in br_eax_run() 377 ctx->buf[ptr + u] = dx; in br_eax_run() 378 dbuf[u] = sx ^ dx; in br_eax_run() 437 unsigned dx, sx; in br_eax_run() local 440 dx = dbuf[u]; in br_eax_run() 441 ctx->buf[u] = dx; in br_eax_run() 442 dbuf[u] = sx ^ dx; in br_eax_run()
|
/freebsd/lib/libc/gen/ |
H A D | disklabel.c | 68 u_int32_t *dx; in getdiskbyname() local 153 dx = dp->d_drivedata; in getdiskbyname() 154 for (p = '0'; p < '0' + NDDATA; p++, dx++) { in getdiskbyname() 156 getnumdflt(*dx, psize, 0); in getdiskbyname()
|
/freebsd/sys/dev/syscons/plasma/ |
H A D | plasma_saver.c | 84 signed int dx, dy; /* horizontal / vertical distance */ in plasma_update() local 98 dx = x - plasma_foci[i].x; in plasma_update() 100 sqd = ItoFP16(dx * dx + dy * dy); in plasma_update()
|