/freebsd/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 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() 165 tmp = dx; dx = dy; dy = -tmp; /* turn right */ 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 | 201 SL_SWAP(dx, dy); in VGLLine() 222 xend = (dx - 1) / 4; in VGLLine() 234 D = incr1 - dx; in VGLLine() 298 c = 2 * (dy - dx); in VGLLine() 300 D = incr1 + dx; in VGLLine() 409 while (dx<dy) { in VGLEllipse() 414 x++; dx+=bsq2; d+=bsq+dx; in VGLEllipse() 420 x++; dx+=bsq2; d+=dx; in VGLEllipse() 445 while (dx<dy) { in VGLFilledEllipse() 450 x++; dx+=bsq2; d+=bsq+dx; in VGLFilledEllipse() [all …]
|
/freebsd/lib/msun/i387/ |
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_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_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/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/sys/dev/usb/input/ |
H A D | wsp.c | 930 int dx = 0; in wsp_intr_callback() local 1154 dx = dy = 0; in wsp_intr_callback() 1158 dx = dy = 0; in wsp_intr_callback() 1162 dx = dy = 0; in wsp_intr_callback() 1167 dx = dy = 0; in wsp_intr_callback() 1208 dx = (dx + sc->rdx) / tun.scale_factor; in wsp_intr_callback() 1230 dx = dy = 0; in wsp_intr_callback() 1249 sc->sc_status.dx += dx; in wsp_intr_callback() 1296 dx = imin(dx, 254); in wsp_add_to_queue() 1297 dx = imax(dx, -256); in wsp_add_to_queue() [all …]
|
H A D | ums.c | 231 int32_t dx = 0; in ums_intr_callback() local 329 if (dx || dy || dz || dt || dw || in ums_intr_callback() 344 sc->sc_status.dx += dx; in ums_intr_callback() 815 sc->sc_status.dx = 0; in ums_reset() 887 if (dx > 254) in ums_put_queue() 888 dx = 254; in ums_put_queue() 889 if (dx < -256) in ums_put_queue() 890 dx = -256; in ums_put_queue() 906 buf[1] = dx >> 1; in ums_put_queue() 908 buf[3] = dx - (dx >> 1); in ums_put_queue() [all …]
|
/freebsd/usr.sbin/moused/ |
H A D | moused.c | 2110 act->dx = act->dy = 0; in r_protocol() 2258 act->dx = prev_x - x; in r_protocol() 2286 act->dx = act->dy = 0; in r_protocol() 2333 a2->dx = a1->dx; in r_statetrans() 2360 a2->dx = a2->dy = 0; in r_statetrans() 2453 act1->dx = 0; in r_map() 2456 act2->dx = act1->dx; in r_map() 2465 act2->dx = act1->dz; in r_map() 3233 act->dx = x - x_prev; in kidspad() 3299 act->dx = x - x_prev; in gtco_digipad() [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 1396 return (dx); in d2dx() 1409 dx2d(u_int64_t dx) in dx2d() argument 1422 isc->dx = d2dx(sc->d); in sc2isc() 1440 rtsc->dx = isc->dx; in rtsc_init() 1460 x = rtsc->x + rtsc->dx; in rtsc_y2x() 1465 x = rtsc->x + rtsc->dx in rtsc_y2x() 1526 rtsc->dx = isc->dx; in rtsc_min() 1543 dx += rtsc->x + rtsc->dx - x; in rtsc_min() [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()
|