Searched refs:dx (Results 1 - 25 of 83) sorted by relevance

1234

/seL4-refos-master/kernel/src/arch/x86/32/
H A Dmachine_asm.S76 movw 4(%esp), %dx
77 outb %al, %dx
83 movw 4(%esp), %dx
84 outw %ax, %dx
90 movw 4(%esp), %dx
91 outl %eax, %dx
96 movw 4(%esp), %dx
97 inb %dx, %al
102 movw 4(%esp), %dx
103 inw %dx,
[all...]
/seL4-refos-master/libs/libmuslc/src/math/
H A Dcbrtl.c33 double_t dr, dt, dx; local
83 dx = x;
86 dt = dt * (dx + dx + dr) / (dx + dr + dr);
90 dt = dt * (dx + dx + dr) / (dx + dr + dr);
/seL4-refos-master/kernel/src/arch/x86/64/
H A Dmachine_asm.S24 outb %al, %dx
31 outw %ax, %dx
38 outl %eax, %dx
45 inb %dx, %al
52 inw %dx, %ax
59 inl %dx, %eax
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dlev.h33 schar dx, dy; /* the general direction of the bubble's movement */ member in struct:bubble
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dlev.h33 schar dx, dy; /* the general direction of the bubble's movement */ member in struct:bubble
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dhacklib.c300 register int dx = x0 - x1, dy = y0 - y1; local
301 if (dx < 0) dx = -dx;
306 return (dx < dy) ? dy : dx;
313 register int dx = x0 - x1, dy = y0 - y1; local
314 return dx * dx + dy * dy;
321 int dx local
[all...]
H A Dvision.c504 int dx, dy; /* one step from a lit door or lit wall (see below) */ local
737 dx = u.ux - col; dx = sign(dx);
738 flev = &(levl[col+dx][row+dy]);
739 if (flev->lit || next_array[row+dy][col+dx] & TEMP_LIT) {
1131 int dx, dy; \
1135 dx = (x2) - x; dy = y - (y2); \
1139 dxs = dx << 1; /* save the shifted values */\
1141 if (dy > dx) { \
1323 int dx, dy; local
1367 int dx, dy; local
1411 int dx, dy; local
1455 int dx, dy; local
[all...]
H A Ddothrow.c90 if(!u.dx && !u.dy && !u.dz) {
369 int x, y, dx, dy, x_change, y_change, err, i, prev_x, prev_y; local
373 dx = dest_cc->x - src_cc->x;
378 if (dx < 0) {
380 dx = -dx;
390 if (dx < dy) {
395 err += dx;
405 while (i++ < dx) {
410 if (err >= dx) {
[all...]
H A Dmail.c282 register int dx, dy; /* direction counters */ local
303 for (dx = -1; dx <= 1; dx++) for(dy = -1; dy <= 1; dy++)
304 if ((dx || dy) && isok(fx+dx,fy+dy) &&
305 !IS_STWALL(levl[fx+dx][fy+dy].typ)) {
306 d2 = dist2(fx+dx,fy+dy,tx,ty);
309 nfx = fx+dx;
H A Dmkmaze.c65 * a wall spine in the (dx,dy) direction. Return 0 otherwise.
69 * in the direction given by (dx,dy). E.g. if 'x' is our location, 'W'
82 extend_spine(locale, wall_there, dx, dy)
84 int wall_there, dx, dy;
88 nx = 1 + dx;
92 if (dx) {
1046 mv_bubble(b,b->dx + 1 - (!b->dx ? rx : (rx ? 1 : 0)),
1060 register int x, y, dx, dy; local
1066 if (u.dx
[all...]
H A Dextralev.c15 xchar dx, dy; member in struct:rogueroom
75 fromx = r[x][y].rlx + rn2(r[x][y].dx);
95 tox = r[x][y].rlx + rn2(r[x][y].dx);
112 fromx = r[x][y].rlx + r[x][y].dx;
232 here.dx = rn1(22, 2); /* 2-23 long, plus walls */
236 here.rlx = rnd(23 - here.dx + 1);
253 hix = 1 + 26*x + here.rlx + here.dx - 1;
H A Dhack.c68 sx = u.ux + u.dx, sy = u.uy + u.dy; /* boulder starting position */
73 rx = u.ux + 2 * u.dx; /* boulder destination position */
93 (!IS_DOOR(levl[rx][ry].typ) || !(u.dx && u.dy) || (
103 if (In_sokoban(&u.uz) && u.dx && u.dy) {
292 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][sy].typ)
543 /* return TRUE if (dx,dy) is an OK place to move
547 test_move(ux, uy, dx, dy, mode)
548 int ux, uy, dx, dy;
551 int x = ux+dx;
617 if (dx
[all...]
H A Ddo_name.c92 int dx, dy; local
96 dx = xdir[i];
100 dx = 8 * xdir[i];
106 if (cx + dx < 1) {
107 dy -= sgn(dy) * (1 - (cx + dx));
108 dx = 1 - cx; /* so that (cx+dx == 1) */
109 } else if (cx + dx > COLNO-1) {
110 dy += sgn(dy) * ((COLNO-1) - (cx + dx));
111 dx
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dhacklib.c300 register int dx = x0 - x1, dy = y0 - y1; local
301 if (dx < 0) dx = -dx;
306 return (dx < dy) ? dy : dx;
313 register int dx = x0 - x1, dy = y0 - y1; local
314 return dx * dx + dy * dy;
321 int dx local
[all...]
H A Dvision.c504 int dx, dy; /* one step from a lit door or lit wall (see below) */ local
737 dx = u.ux - col; dx = sign(dx);
738 flev = &(levl[col+dx][row+dy]);
739 if (flev->lit || next_array[row+dy][col+dx] & TEMP_LIT) {
1131 int dx, dy; \
1135 dx = (x2) - x; dy = y - (y2); \
1139 dxs = dx << 1; /* save the shifted values */\
1141 if (dy > dx) { \
1323 int dx, dy; local
1367 int dx, dy; local
1411 int dx, dy; local
1455 int dx, dy; local
[all...]
H A Ddothrow.c90 if(!u.dx && !u.dy && !u.dz) {
369 int x, y, dx, dy, x_change, y_change, err, i, prev_x, prev_y; local
373 dx = dest_cc->x - src_cc->x;
378 if (dx < 0) {
380 dx = -dx;
390 if (dx < dy) {
395 err += dx;
405 while (i++ < dx) {
410 if (err >= dx) {
[all...]
H A Dmail.c282 register int dx, dy; /* direction counters */ local
303 for (dx = -1; dx <= 1; dx++) for(dy = -1; dy <= 1; dy++)
304 if ((dx || dy) && isok(fx+dx,fy+dy) &&
305 !IS_STWALL(levl[fx+dx][fy+dy].typ)) {
306 d2 = dist2(fx+dx,fy+dy,tx,ty);
309 nfx = fx+dx;
H A Dmkmaze.c65 * a wall spine in the (dx,dy) direction. Return 0 otherwise.
69 * in the direction given by (dx,dy). E.g. if 'x' is our location, 'W'
82 extend_spine(locale, wall_there, dx, dy)
84 int wall_there, dx, dy;
88 nx = 1 + dx;
92 if (dx) {
1046 mv_bubble(b,b->dx + 1 - (!b->dx ? rx : (rx ? 1 : 0)),
1060 register int x, y, dx, dy; local
1066 if (u.dx
[all...]
H A Dextralev.c15 xchar dx, dy; member in struct:rogueroom
75 fromx = r[x][y].rlx + rn2(r[x][y].dx);
95 tox = r[x][y].rlx + rn2(r[x][y].dx);
112 fromx = r[x][y].rlx + r[x][y].dx;
232 here.dx = rn1(22, 2); /* 2-23 long, plus walls */
236 here.rlx = rnd(23 - here.dx + 1);
253 hix = 1 + 26*x + here.rlx + here.dx - 1;
H A Dhack.c68 sx = u.ux + u.dx, sy = u.uy + u.dy; /* boulder starting position */
73 rx = u.ux + 2 * u.dx; /* boulder destination position */
93 (!IS_DOOR(levl[rx][ry].typ) || !(u.dx && u.dy) || (
103 if (In_sokoban(&u.uz) && u.dx && u.dy) {
292 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][sy].typ)
543 /* return TRUE if (dx,dy) is an OK place to move
547 test_move(ux, uy, dx, dy, mode)
548 int ux, uy, dx, dy;
551 int x = ux+dx;
617 if (dx
[all...]
/seL4-refos-master/libs/libmuslc/tools/
H A Dadd-cfi.i386.awk132 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/))
138 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/))
155 /pushl? %e(ax|bx|cx|dx|si|di|bp)/ { # don't match "push (%reg)"
170 /movl? %e(ax|bx|cx|dx|si|di|bp),-?(0x[0-9a-fA-F]+|[0-9]+)?\(%esp\)/ {
H A Dadd-cfi.i386_sel4.awk132 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/))
138 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/))
155 /pushl? %e(ax|bx|cx|dx|si|di|bp)/ { # don't match "push (%reg)"
170 /movl? %e(ax|bx|cx|dx|si|di|bp),-?(0x[0-9a-fA-F]+|[0-9]+)?\(%esp\)/ {
/seL4-refos-master/libs/libmuslc/src/string/i386/
H A Dmemset.s20 mov %dx,1(%eax)
21 mov %dx,(-1-2)(%eax,%ecx)
/seL4-refos-master/libs/libmuslc/src/string/i386_sel4/
H A Dmemset.s20 mov %dx,1(%eax)
21 mov %dx,(-1-2)(%eax,%ecx)
/seL4-refos-master/libs/libmuslc/src/thread/i386/
H A D__set_thread_area.s23 3: movw %dx,%gs

Completed in 194 milliseconds

1234