Home
last modified time | relevance | path

Searched refs:ny (Results 1 – 25 of 94) sorted by relevance

1234

/netbsd-src/games/hack/
H A Dhack.vault.c269 int x, y, dx, dy, gx, gy, nx, ny, typ; in gd_move() local
287 for (ny = y - 1; ny <= y + 1; ny++) { in gd_move()
288 if (nx == x || ny == y) in gd_move()
289 if (nx != x || ny != y) in gd_move()
290 if (isok(nx, ny)) in gd_move()
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL) { in gd_move()
295 egd->fakecorr[i].fy == ny) in gd_move()
297 if ((i = inroom(nx, ny)) >= 0 && rooms[i].rtype == VAULT) in gd_move()
313 ny = y; in gd_move()
321 ny += dy; in gd_move()
[all …]
H A Dhack.mon.c320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; in m_move() local
472 ny = poss[i].y; in m_move()
474 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y) in m_move()
480 int d1 = DIST(nx, ny, gx, gy); in m_move()
485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy)); in m_move()
491 niy = ny; in m_move()
578 int x, y, nx, ny, cnt = 0, ntyp; in mfndpos() local
595 for (ny = y - 1; ny <= y + 1; ny++) in mfndpos()
596 if (nx != x || ny != y) in mfndpos()
597 if (isok(nx, ny)) in mfndpos()
[all …]
H A Dhack.dog.c192 int nx, ny, omx, omy, appr, nearer, j; in dog_move() local
365 ny = poss[i].y; in dog_move()
367 mtmp2 = m_at(nx, ny); in dog_move()
384 if ((info[i] & ALLOW_TRAPS) && (trap = t_at(nx, ny))) { in dog_move()
394 if (obj->ox != nx || obj->oy != ny) in dog_move()
407 niy = ny; in dog_move()
430 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y) in dog_move()
438 nearer = GDIST(nx, ny); in dog_move()
447 niy = ny; in dog_move()
H A Dhack.shk.c942 xchar gx, gy, omx, omy, nx, ny, nix, niy; in shk_move() local
1050 ny = poss[i].y; in shk_move()
1051 if (levl[nx][ny].typ == ROOM in shk_move()
1058 if (uondoor && (ib = sobj_at(ICE_BOX, nx, ny))) { in shk_move()
1060 niy = ny; in shk_move()
1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny)) in shk_move()
1070 (appr && GDIST(nx, ny) < GDIST(nix, niy)) in shk_move()
1074 niy = ny; in shk_move()
/netbsd-src/external/bsd/tmux/dist/
H A Dgrid-view.c95 grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, in grid_view_clear() argument
101 grid_clear(gd, px, py, nx, ny, bg); in grid_view_clear()
138 grid_view_insert_lines(struct grid *gd, u_int py, u_int ny, u_int bg) in grid_view_insert_lines() argument
146 grid_move_lines(gd, py + ny, py, sy - py - ny, bg); in grid_view_insert_lines()
152 u_int ny, u_int bg) in grid_view_insert_lines_region() argument
160 ny2 = rlower + 1 - py - ny; in grid_view_insert_lines_region()
162 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2, bg); in grid_view_insert_lines_region()
167 grid_view_delete_lines(struct grid *gd, u_int py, u_int ny, u_int bg) in grid_view_delete_lines() argument
175 grid_move_lines(gd, py, py + ny, sy - py - ny, bg); in grid_view_delete_lines()
176 grid_clear(gd, 0, sy - ny, gd->sx, py + ny - (sy - ny), bg); in grid_view_delete_lines()
[all …]
H A Dimage.c121 image_check_line(struct screen *s, u_int py, u_int ny) in image_check_line() argument
127 if (py + ny > im->py && py < im->py + im->sy) { in image_check_line()
136 image_check_area(struct screen *s, u_int px, u_int py, u_int nx, u_int ny) in image_check_area() argument
142 if (py + ny <= im->py || py >= im->py + im->sy) in image_check_area()
/netbsd-src/games/dab/
H A Dalgor.cc48 _edge1 = (_b.nx() * _b.ny()) * 2; in ALGOR()
50 _edge2 = (_b.nx() * (_b.ny() - 1)) + ((_b.nx() - 1) * _b.ny()); in ALGOR()
52 _maxedge = _b.nx() * _b.ny() * 2; in ALGOR()
59 RANDOM rdy(b.ny()), rdx(b.nx()); in find_closure()
61 for (y = rdy(); y < b.ny(); y = rdy()) { in find_closure()
86 BOX bbox(b.ny() - 1, x, b);
89 for (size_t y = 0; y < _b.ny(); y++) {
188 RANDOM rdy(b.ny()), rdx(b.nx()); in find_good_turn()
190 for (y = rdy(); y < b.ny(); y = rdy()) { in find_good_turn()
223 RANDOM rdy(b.ny()), rdx(b.nx()); in find_bad_turn()
[all …]
H A Dmain.cc104 size_t ny, nx, nn = 1, wt = 0; in main() local
134 ny = nx = 3; in main()
138 ny = nx = atoi(argv[optind]); in main()
143 ny = atoi(argv[optind+1]); in main()
172 sc = TTYSCRN::create(acs, &ny, &nx); in main()
176 BOARD b(ny, nx, sc); in main()
H A Dhuman.cc144 _cury = (b.ny() * 2) + (_cury & 1); in play()
145 if (_cury >= (b.ny() * 2) + 1) in play()
H A Dboard.h53 size_t ny(void) const { return _ny; } in ny() function
/netbsd-src/sys/dev/wscons/
H A Dwscons_rops.c191 int srcy, dsty, ny; in rcons_copyrows() local
195 ny = rc->rc_font->height * nrows; in rcons_copyrows()
198 rc->rc_raswidth, ny, RAS_SRC, in rcons_copyrows()
209 int starty, ny, op; in rcons_eraserows() local
212 ny = rc->rc_font->height * nrows; in rcons_eraserows()
218 rc->rc_raswidth, ny, op, in rcons_eraserows()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Des384.c191 int ny; in es384_pk_from_EC_KEY() local
212 (ny = BN_num_bytes(y)) < 0 || (size_t)ny > sizeof(pk->y)) { in es384_pk_from_EC_KEY()
219 dy = sizeof(pk->y) - (size_t)ny; in es384_pk_from_EC_KEY()
222 (ny = BN_bn2bin(y, pk->y + dy)) < 0 || (size_t)ny > sizeof(pk->y)) { in es384_pk_from_EC_KEY()
H A Des256.c348 int ny; in es256_pk_from_EC_KEY() local
369 (ny = BN_num_bytes(y)) < 0 || (size_t)ny > sizeof(pk->y)) { in es256_pk_from_EC_KEY()
376 dy = sizeof(pk->y) - (size_t)ny; in es256_pk_from_EC_KEY()
379 (ny = BN_bn2bin(y, pk->y + dy)) < 0 || (size_t)ny > sizeof(pk->y)) { in es256_pk_from_EC_KEY()
/netbsd-src/games/hunt/huntd/
H A Dmakemaze.c101 int ny, nx;
109 ny = y + *ip++;
111 if (candig(ny, nx))
112 dig(ny, nx);
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dmultilabel.dts14 p1: px: lref = <&ny>;
16 ny: n2: node2 { label
H A Dmultilabel_merge.dts52 px: lref = <&ny>;
56 ny: n2: node2 { label
/netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dsymtabs.c531 int ny = *new++; in stradd() local
532 if (ny == 'u' && *new == '8') in stradd()
533 ny = '8', new++; in stradd()
534 if (strtype && ny != strtype) in stradd()
536 strtype = ny; in stradd()
/netbsd-src/external/gpl3/gcc/dist/libquadmath/math/
H A Dlgammaq_neg.c513 __float128 ny0, ny0_eps, ny, ny_eps; in __quadmath_lgamma_negq() local
518 ny = y + n_up; in __quadmath_lgamma_negq()
519 ny_eps = y - (ny - n_up) + y_eps; in __quadmath_lgamma_negq()
520 y = ny; in __quadmath_lgamma_negq()
/netbsd-src/external/gpl3/gcc.old/dist/libquadmath/math/
H A Dlgammaq_neg.c513 __float128 ny0, ny0_eps, ny, ny_eps; in __quadmath_lgamma_negq() local
518 ny = y + n_up; in __quadmath_lgamma_negq()
519 ny_eps = y - (ny - n_up) + y_eps; in __quadmath_lgamma_negq()
520 y = ny; in __quadmath_lgamma_negq()
/netbsd-src/external/gpl2/groff/dist/src/preproc/grn/
H A Dhgraph.cpp590 int ny; in HGArc() local
617 ny = cy + (int) (ys + 0.5); in HGArc()
619 HGtline(nx, ny); /* put out a point on circle */ in HGArc()
718 int ny; in HGCurve() local
754 ny = y[j] + (int) (t * dy[j] + t2 * d2y[j] / 2 + t3 * d3y[j] / 6); in HGCurve()
755 HGtline(nx, ny); in HGCurve()
/netbsd-src/external/historical/nawk/dist/testdir/
H A Dt.stately1 /^(al|ak|az|ar|ca|co|ct|de|fl|ga|hi|io|il|in|ia|ks|ky|la|me|md|ma|mi|mn|ms|mo|mt|nb|nv|nh|nj|nm|ny|…
/netbsd-src/external/gpl2/diffutils/dist/po/
H A Dcs.po264 msgstr "N1 a N2 ud�vaj� po�et bajt�, kter� budou ignorov�ny v ka�d�m souboru."
272 "Hodnoty SKIP mohou b�t dopln�ny n�sleduj�c�mi p��ponami:\n"
386 msgstr "-E --ignore-tab-expansion Ignoruje zm�ny v odsazen� tabel�torem."
390 msgstr "-b --ignore-space-change Ignoruje zm�ny v po�tu mezer."
398 msgstr "-B --ignore-blank-lines Ignoruje zm�ny v p��pad� pr�zdn�ch ��dk�."
404 "-I RV --ignore-matching-lines=RV Ignoruje zm�ny na v�ech ��dc�ch\n"
434 " -p --show-c-function U ka�d� zm�ny vyp�e jm�no C funkce, ve kter� se\n"
753 "-e --ed Vyp�e nespojen� zm�ny ze STARYSOUBOR k VASSOUBOR do MUJSOUBOR."
757 msgstr "-E --show-overlap Vyp�e neslou�en� zm�ny, konflikty v z�vork�ch."
765 msgstr "-x --overlap-only Vyp�e p�ekr�vaj�c� se zm�ny."
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/tls/
H A Drsaee-pkey.pem4 Mnltkq1JuIwjku4GzoEPcBPqJxSNVZ96pmrVWuxX+5ZnqS9gWbLZyjkCCqVQR/ny
H A Dbad-back-to-back-keys.pem4 Mnltkq1JuIwjku4GzoEPcBPqJxSNVZ96pmrVWuxX+5ZnqS9gWbLZyjkCCqVQR/ny
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Drtl.c424 rtx nx, ny; in rtx_equal_p_cb() local
433 && ((*cb) (&x, &y, &nx, &ny))) in rtx_equal_p_cb()
434 return rtx_equal_p_cb (nx, ny, cb); in rtx_equal_p_cb()

1234