/src/lib/libm/arch/i387/ |
s_ceil.S | 19 movw -4(%ebp),%dx 20 orw $0x0800,%dx /* round towards +oo */ 21 andw $0xfbff,%dx 22 movw %dx,-8(%ebp) 33 movw -12(%rsp),%dx 34 orw $0x0800,%dx 35 andw $0xfbff,%dx 36 movw %dx,-16(%rsp)
|
s_ceilf.S | 17 movw -4(%ebp),%dx 18 orw $0x0800,%dx /* round towards +oo */ 19 andw $0xfbff,%dx 20 movw %dx,-8(%ebp) 31 movw -8(%rsp),%dx 32 orw $0x0800,%dx 33 andw $0xfbff,%dx 34 movw %dx,-12(%rsp)
|
s_floor.S | 17 movw -4(%ebp),%dx 18 orw $0x0400,%dx /* round towards -oo */ 19 andw $0xf7ff,%dx 20 movw %dx,-8(%ebp) 32 movw -12(%rsp),%dx 33 orw $0x0400,%dx 34 andw $0xf7ff,%dx 35 movw %dx,-16(%rsp)
|
s_floorf.S | 17 movw -4(%ebp),%dx 18 orw $0x0400,%dx /* round towards -oo */ 19 andw $0xf7ff,%dx 20 movw %dx,-8(%ebp) 32 movw -8(%rsp),%dx 33 orw $0x0400,%dx 34 andw $0xf7ff,%dx 35 movw %dx,-12(%rsp)
|
/src/games/trek/ |
help.c | 77 int dx = 0, dy = 0; local in function:help 105 dx = Now.base[i].x - Ship.quadx; 107 x = dx * dx + dy * dy; 139 dx = Etc.starbase.x + ranf(3) - 1; 140 if (dx < 0 || dx >= NSECTS) 144 Sect[dx][dy] != EMPTY) 151 Ship.sectx = dx; 153 Sect[dx][dy] = Ship.ship [all...] |
move.c | 85 double x, y, dx, dy; local in function:move 108 dx = -cos(angle); 110 bigger = fabs(dx); 114 dx /= bigger; 143 printf("dx = %.2f, dy = %.2f, xn = %.2f, n = %d\n", 144 dx, dy, xn, n); 149 ix = (x += dx); 158 dx = Ship.quadx * NSECTS + Ship.sectx + dx * xn; 160 if (dx < 0.0 [all...] |
snova.c | 72 int dx, dy; local in function:snova 112 dx = ix - Ship.sectx; 114 if (dx * dx + dy * dy <= 2) { 132 dx = q->klings; 134 Now.klings -= dx; 140 Game.killk += dx;
|
compkl.c | 62 int i, dx, dy; local in function:compkldist 70 dx = Ship.sectx - Etc.klingon[i].x; 72 d = dx * dx + dy * dy;
|
klmove.c | 62 ** if you can move their. Dx and dy are the increment. Fudgex 72 double dx, dy; local in function:klmove 96 dx = Ship.sectx - k->x + ranf(3) - 1; 98 bigger = dx; 103 dx = dx / bigger + 0.5; 107 dx = -dx; 115 lookx = nextx + dx; 161 lookx = nextx + dx; [all...] |
/src/sys/arch/arm/xscale/ |
pxa2x0_i2s.c | 43 struct dmac_xfer *dx; member in struct:pxa2x0_i2s_dma 183 struct dmac_xfer *dx; local in function:pxa2x0_i2s_allocm 188 dx = pxa2x0_dmac_allocate_xfer(); 189 if (dx == NULL) { 192 p->dx = dx; 215 dx->dx_cookie = sc; 216 dx->dx_priority = DMAC_PRIORITY_NORMAL; 217 dx->dx_dev_width = DMAC_DEV_WIDTH_4; 218 dx->dx_burst_size = DMAC_BURST_SIZE_32 313 struct dmac_xfer *dx; local in function:pxa2x0_i2s_start_output 363 struct dmac_xfer *dx; local in function:pxa2x0_i2s_start_input [all...] |
/src/sys/arch/i386/stand/lib/ |
message.S | 57 mov COM_PORT_VAL, %dx 58 outb %al, %dx 60 2: inb %dx 76 int $0x15 /* delay cx:dx usecs */
|
message32.S | 52 mov COM_PORT_VAL, %dx 53 outb %al, %dx 55 3: inb %dx
|
biosgetsystime.S | 50 movw %dx, %ax
|
/src/games/warp/ |
weapon.c | 103 int dx; local in function:attack 123 for (dx= -1; dx<=1 ; dx++) { 125 if (dx||dy) { 135 curx = (curx + dx + XSIZE00) % XSIZE; 143 tract(nuke,dy,dx,rand_mod(3)?1:-1); 150 && -dx + attackee->velx == obj->velx) 153 -dx + attackee->velx); 157 -dx + attackee->velx - obj->velx) [all...] |
/src/sys/arch/i386/stand/mbr/ |
mbr.S | 154 push %dx /* save drive number */ 155 push %dx /* twice - for err_msg loop */ 160 mov COM_PORT_VAL, %dx 163 outb %dx 259 pop %dx /* recover drive # */ 260 push %dx /* save drive */ 276 * by int 1a in cx:dx. We do sums modulo 2^16 so it doesn't matter if 286 mov %dx, %di /* start time to di */ 289 mov COM_PORT_VAL, %dx 290 push %dx [all...] |
/src/games/atc/ |
def.h | 58 #define DIR_FROM_DXDY(dx,dy) ((int) (atan2((double)(dy), (double)(dx)) \
|
/src/lib/libm/src/ |
s_cbrtl.c | 40 double dr, dt, dx; local in function:cbrtl 98 dx = x; 101 dt = dt * (dx + dx + dr) / (dx + dr + dr); 105 dt = dt * (dx + dx + dr) / (dx + dr + dr);
|
/src/lib/libcurses/ |
mvwin.c | 48 * sized part of the parent window starting at dy, dx into the subwin. 52 mvderwin(WINDOW *win, int dy, int dx) 66 if (((win->maxx + dx) > parent->maxx) || 71 win->derx = dx; 74 x = parent->begx + dx; 103 int dy, dx; local in function:mvwin 112 dx = bx - win->begx; 118 win->begx += dx; 125 if (bx < orig->begx || win->maxx + dx > orig->maxx)
|
/src/sys/arch/hp300/dev/ |
diofb_mono.c | 119 uint16_t dx, uint16_t dy, uint16_t cx, uint16_t cy, int16_t rop, 155 pdstLine += (dx >> 5); 161 dstBit = dx & 0x1f; 169 maskbits(dx, cx, startmask, endmask, nlMiddle); 171 nstart = 32 - (dx & 0x1f); 175 nend = (dx + cx) & 0x1f; 182 if (sx >= dx) { /* move left to right */ 183 pdstLine += (dx >> 5); 192 (dx & 0x1f), nstart, pdst, rop); 231 pdstLine += ((dx + cx) >> 5) [all...] |
/src/usr.bin/make/unit-tests/ |
opt-debug-x-trace.mk | 3 # Tests for the -dx command line option, which runs shell commands with 7 .MAKEFLAGS: -dx
|
/src/sys/arch/news68k/dev/ |
ms.c | 75 int button, dx, dy; local in function:ms_intr 111 dx = byte1 & MS_X_DATA; 113 dx = -dx; 120 dx, -dy, 0, 0,
|
/src/games/hack/ |
hack.zap.c | 228 (void) bhit(u.dx, u.dy, rn1(8, 6), 0, bhitm, bhito, obj); 300 zx = u.ux + u.dx; 327 zx += u.dx; 336 u.ux, u.uy, u.dx, u.dy); 437 boomhit(int dx, int dy) 447 if (xdir[i] == dx && ydir[i] == dy) 455 dx = xdir[i]; 457 bhitpos.x += dx; 464 bhitpos.x -= dx; 487 dirlet(int dx, int dy [all...] |
/src/games/robots/ |
auto.c | 218 move_towards(int dx, int dy) 229 move_judge = ABS(mvx - dx) + ABS(mvy - dy); 233 cur_judge = ABS(mvx - dx) + ABS(mvy - dy); 249 int dx, dy; local in function:move_away 251 dx = sign(My_pos.x - rob->x); 253 return move_towards(dx, dy); 263 int dx, dy; local in function:move_between 273 dx = - sign(My_pos.x - hp->x); 283 dx = sign(My_pos.x - rob->x); 297 dx = sign(My_pos.x - rob->x) [all...] |
/src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
vbox_irq.c | 83 if (hintsi->dx >= 0xffff || 85 hintsj->dx >= 0xffff || 87 (hintsi->dx < 88 hintsj->dx + (hintsj->cx & 0x8fff) && 89 hintsi->dx + (hintsi->cx & 0x8fff) > 90 hintsj->dx) || 102 vbox->last_mode_hints[i].dx = currentx; 145 vbox_conn->vbox_crtc->x_hint = hints->dx;
|
/src/sys/arch/atari/dev/ |
msvar.h | 36 int8_t dx; member in struct:__anon62830f350108 47 int ms_dx; /* accumulated dx */
|