HomeSort by: relevance | last modified time | path
    Searched refs:nx (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/games/hack/
hack.vault.c 269 int x, y, dx, dy, gx, gy, nx, ny, typ; local in function:gd_move
286 for (nx = x - 1; nx <= x + 1; nx++)
288 if (nx == x || ny == y)
289 if (nx != x || ny != y)
290 if (isok(nx, ny))
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL) {
294 if (egd->fakecorr[i].fx == nx &&
297 if ((i = inroom(nx, ny)) >= 0 && rooms[i].rtype == VAULT
    [all...]
hack.mon.c 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local in function:m_move
471 nx = poss[i].x;
474 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
480 int d1 = DIST(nx, ny, gx, gy);
485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy));
490 nix = nx;
578 int x, y, nx, ny, cnt = 0, ntyp; local in function:mfndpos
594 for (nx = x - 1; nx <= x + 1; nx++
    [all...]
hack.dog.c 192 int nx, ny, omx, omy, appr, nearer, j; local in function:dog_move
364 nx = poss[i].x;
367 mtmp2 = m_at(nx, ny);
384 if ((info[i] & ALLOW_TRAPS) && (trap = t_at(nx, ny))) {
394 if (obj->ox != nx || obj->oy != ny)
406 nix = nx;
430 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
438 nearer = GDIST(nx, ny);
446 nix = nx;
  /src/games/dab/
main.cc 104 size_t ny, nx, nn = 1, wt = 0; local in function:main
134 ny = nx = 3;
138 ny = nx = atoi(argv[optind]);
142 nx = atoi(argv[optind]);
172 sc = TTYSCRN::create(acs, &ny, &nx);
176 BOARD b(ny, nx, sc);
algor.cc 48 _edge1 = (_b.nx() * _b.ny()) * 2;
50 _edge2 = (_b.nx() * (_b.ny() - 1)) + ((_b.nx() - 1) * _b.ny());
52 _maxedge = _b.nx() * _b.ny() * 2;
59 RANDOM rdy(b.ny()), rdx(b.nx());
63 for (x = rdx(); x < b.nx(); x = rdx()) {
83 for (size_t x = 0; x < b.nx(); x++) {
92 BOX rbox(y,_b.nx() - 1, b);
188 RANDOM rdy(b.ny()), rdx(b.nx());
192 for (x = rdx(); x < b.nx(); x = rdx())
    [all...]
human.cc 139 _curx = (b.nx() * 2) + (_curx & 1);
140 if (_curx >= (b.nx() * 2) + 1)
board.h 52 size_t nx(void) const { return _nx; } function in class:BOARD
  /src/lib/libm/src/
e_rem_pio2l.h 68 int e0,ex,i,j,nx; local in function:__ieee754_rem_pio2l
127 nx = 5;
128 while(tx[nx-1]==zero) nx--; /* skip zero term */
129 n = __kernel_rem_pio2(tx,ty,e0,nx,3);
e_rem_pio2.c 63 int32_t e0,i,j,nx,n,ix,hx; local in function:__ieee754_rem_pio2
147 nx = 3;
148 while(tx[nx-1]==zero) nx--; /* skip zero term */
149 n = __kernel_rem_pio2(tx,y,e0,nx,2);
e_rem_pio2f.c 96 int32_t e0,i,j,nx,n,ix,hx; local in function:__ieee754_rem_pio2f
176 nx = 3;
177 while(tx[nx-1]==zero) nx--; /* skip zero term */
178 n = __kernel_rem_pio2f(tx,y,e0,nx,2,two_over_pi);
  /src/lib/libm/ld128/
e_rem_pio2l.h 70 int e0,ex,i,j,nx; local in function:__ieee754_rem_pio2l
131 nx = 5;
132 while(tx[nx-1]==zero) nx--; /* skip zero term */
133 n = __kernel_rem_pio2(tx,ty,e0,nx,3);
  /src/lib/libm/ld80/
e_rem_pio2l.h 81 int e0,ex,i,j,nx,n; local in function:__ieee754_rem_pio2l
139 nx = 3;
140 while(tx[nx-1]==zero) nx--; /* skip zero term */
141 n = __kernel_rem_pio2(tx,ty,e0,nx,2);
  /src/games/hunt/huntd/
makemaze.c 101 int ny, nx;
110 nx = x + *ip;
111 if (candig(ny, nx))
112 dig(ny, nx);
  /src/sys/dev/wscons/
wscons_rops.c 151 int y, srcx, dstx, nx; local in function:rcons_copycols
156 nx = rc->rc_font->width * ncols;
159 nx, rc->rc_font->height, RAS_SRC,
170 int y, startx, nx, op; local in function:rcons_erasecols
174 nx = rc->rc_font->width * ncols;
180 nx, rc->rc_font->height, op,
  /src/sys/arch/acorn32/podulebus/
esc.c 490 struct nexus *nx; local in function:esc_save_pointers
492 nx = dev->sc_cur_nexus;
493 if (nx) {
494 nx->cur_link = dev->sc_cur_link;
495 nx->max_link = dev->sc_max_link;
496 nx->buf = dev->sc_buf;
497 nx->len = dev->sc_len;
498 nx->dma_len = dev->sc_dma_len;
499 nx->dma_buf = dev->sc_dma_buf;
500 nx->dma_blk_flg = dev->sc_dma_blk_flg
512 struct nexus *nx; local in function:esc_restore_pointers
    [all...]
sfas.c 490 struct nexus *nx; local in function:sfas_save_pointers
492 nx = dev->sc_cur_nexus;
493 if (nx) {
494 nx->cur_link = dev->sc_cur_link;
495 nx->max_link = dev->sc_max_link;
496 nx->buf = dev->sc_buf;
497 nx->len = dev->sc_len;
498 nx->dma_len = dev->sc_dma_len;
499 nx->dma_buf = dev->sc_dma_buf;
500 nx->dma_blk_flg = dev->sc_dma_blk_flg
512 struct nexus *nx; local in function:sfas_restore_pointers
    [all...]
  /src/lib/libm/noieee_src/
n_support.c 364 nx,nf, *py =(unsigned short *) &y ,
383 nx=0;
384 if(yexp==0) {t=1.0,pt[n0]+=m57; y*=t; nx=m57;}
387 if( yexp <= m57 ) {py[n0]+=m57; nx+=m57; yexp+=m57;}
389 nf=nx;
410 if(nx!=0) {t=1.0; pt[n0]+=nx; x*=t; nx=0; goto loop;}
  /src/distrib/amd64/cdroms/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/amd64/installimage/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/amd64/installimage-bios/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/i386/cdroms/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/evbarm/installimage/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/i386/installimage/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/sparc64/cdroms/installcd/
install.sh 43 case $(sysctl -nx kern.consdev) in
  /src/distrib/vax/cdroms/installcd/
install.sh 43 case $(sysctl -nx kern.consdev) in

Completed in 20 milliseconds

1 2