Home
last modified time | relevance | path

Searched refs:uy (Results 1 – 25 of 41) sorted by relevance

12

/openbsd/games/hack/
H A Dhack.c102 for(y = u.uy-1; y < u.uy+2; y++) { in unsee()
138 for(y = u.uy-1; y < u.uy+2; y++) { in seeoff()
182 oldy = u.uy; in domove()
316 uchain->oy = u.uy; in domove()
322 u.uy += u.dy; in domove()
394 if(!g_at(u.ux,u.uy) && !o_at(u.ux,u.uy)) { in dopickup()
552 for(x = u.ux-1; x <= u.ux+1; x++) for(y = u.uy-1; y <= u.uy+1; y++){ in lookaround()
641 for(x = u.ux-1; x <= u.ux+1; x++) for(y = u.uy-1; y <= u.uy+1; y++){ in monster_nearby()
728 for(y = u.uy-u.uhorizon; y <= u.uy+u.uhorizon; y++) in setsee()
748 seely = u.uy-1; in setsee()
[all …]
H A Dhack.read.c210 (struct permonst *) 0, u.ux, u.uy); in doread()
237 if ((mtmp = m_at(u.ux+i, u.uy+j))) in doread()
283 int oux = u.ux, ouy = u.uy; in doread()
287 int uroom = inroom(u.ux, u.uy); in doread()
519 !levl[(int)u.ux][(int)u.uy].lit) { in litroom()
552 if (levl[(int)u.ux][(int)u.uy].lit == on) in litroom()
556 zy = u.uy+1; in litroom()
558 zy = u.uy-1; in litroom()
559 else zy = u.uy; in litroom()
560 if(IS_ROOM(levl[u.ux+1][(int)u.uy].typ)) in litroom()
[all …]
H A Dhack.do.c93 mkgold(amount, u.ux, u.uy); in drop()
96 if(Invisible) newsym(u.ux, u.uy); in drop()
131 obj->oy = u.uy; in dropy()
134 if(Invisible) newsym(u.ux,u.uy); in dropy()
247 u.uy = ydnstair; in goto_level()
250 u.uy = yupstair; in goto_level()
258 u.uy = yupstair; in goto_level()
279 u.uy = rn2(ROWNO); in goto_level()
281 m_at(u.ux,u.uy)); in goto_level()
296 if ((mtmp = m_at(u.ux, u.uy))) in goto_level()
[all …]
H A Dhack.search.c77 for(lx = u.ux; (num = levl[lx-1][(int)u.uy].typ) && num != CORR; lx--) ; in findit()
78 for(hx = u.ux; (num = levl[hx+1][(int)u.uy].typ) && num != CORR; hx++) ; in findit()
79 for(ly = u.uy; (num = levl[(int)u.ux][ly-1].typ) && num != CORR; ly--) ; in findit()
80 for(hy = u.uy; (num = levl[(int)u.ux][hy+1].typ) && num != CORR; hy++) ; in findit()
122 for(y = u.uy-1; y < u.uy+2; y++) if(x != u.ux || y != u.uy) { in dosearch()
169 y = u.uy + u.dy; in doidtrap()
H A Dhack.trap.c129 if(makemon(PM_PIERCER,u.ux,u.uy)) { in dotrap()
140 mksobj_at(ARROW, u.ux, u.uy); in dotrap()
149 mksobj_at(ROCK, u.ux, u.uy); in dotrap()
152 if(Invisible) newsym(u.ux, u.uy); in dotrap()
172 mksobj_at(DART, u.ux, u.uy); in dotrap()
179 newsym(u.ux,u.uy); in dotrap()
182 newsym(u.ux,u.uy); in dotrap()
327 if ((trap = t_at(u.ux,u.uy))) in float_down()
392 u.uy = nuy; in teleds()
404 if(!Blind) read_engr_at(u.ux,u.uy); in teleds()
[all …]
H A Dhack.pri.c84 curs(u.ux-1, u.uy+1); in swallowed()
87 curs(u.ux-1, u.uy+2); in swallowed()
90 curs(u.ux-1, u.uy+3); in swallowed()
95 u.udisy = u.uy; in swallowed()
250 if(!Invisible) at(u.ux,u.uy,u.usym); in prme()
345 curs(u.ux, u.uy+2); in curs_on_u()
357 prl(u.ux,u.uy); in pru()
360 atl(u.ux, u.uy, u.usym); in pru()
363 u.udisy = u.uy; in pru()
530 nosee(x,u.uy); in nose1()
[all …]
H A Dhack.bones.c94 otmp->oy = u.uy; in savebones()
106 if(!(mtmp = makemon(PM_GHOST, u.ux, u.uy))) return; in savebones()
108 mtmp->my = u.uy; in savebones()
111 mkgold(somegold() + d(dlevel,30), u.ux, u.uy); in savebones()
H A Dhack.vault.c125 if((u.ux == fcx && u.uy == fcy) || cansee(fcx,fcy) || in restfakecorr()
166 int tmp = inroom(u.ux, u.uy); in invault()
178 for(y = u.uy-dd; y <= u.uy+dd; y++) { in invault()
181 if(y != u.uy-dd && y != u.uy+dd && x != u.ux-dd) in invault()
195 x = u.ux; y = u.uy; in invault()
H A Dhack.apply.c266 int bchx = u.ux, bchy = u.uy; in bchit()
329 ((dig_down && (dpx != u.ux || dpy != u.uy)) || in dig()
401 struct trap *ttmp = t_at(u.ux, u.uy); in dighole()
409 ttmp = maketrap(u.ux, u.uy, TRAPDOOR); in dighole()
449 ry = u.uy + u.dy; in use_pick_axe()
469 ry = u.uy + u.dy; in use_pick_axe()
502 if(dig_pos.x != u.ux || dig_pos.y != u.uy in use_pick_axe()
506 dig_pos.y = u.uy; in use_pick_axe()
H A Dhack.zap.c209 struct obj *otmp = o_at(u.ux, u.uy); in dozap()
227 (void) makemon((struct permonst *) 0, u.ux, u.uy); in dozap()
270 mksobj_at(ROCK, u.ux, u.uy); in dozap()
273 if(Invisible) newsym(u.ux, u.uy); in dozap()
280 zy = u.uy+u.dy; in dozap()
316 u.ux, u.uy, u.dx, u.dy); in dozap()
378 bhitpos.y = u.uy; in bhit()
421 bhitpos.y = u.uy; in boomhit()
442 if (bhitpos.x == u.ux && bhitpos.y == u.uy) { /* ct == 9 */ in boomhit()
548 } else if(sx == u.ux && sy == u.uy) { in buzz()
H A Dhack.wizard.c119 if((u.ux != otmp->ox || u.uy != otmp->oy) && in wiz_hit()
158 if(inroom(u.ux,u.uy) != inroom(mtmp->mx,mtmp->my)) return; in inrange()
160 ty = u.uy - mtmp->my; in inrange()
200 (void) makemon((struct permonst *)0, u.ux, u.uy); in inrange()
H A Dhack.mon.c171 mtmp->my = u.uy; in justswld()
267 scared = (nearby && (sengr_at("Elbereth", u.ux, u.uy) || in dochug()
268 sobj_at(SCR_SCARE_MONSTER, u.ux, u.uy))); in dochug()
348 || levl[(int)u.ux][(int)u.uy].typ == STAIRS))) { in m_move()
380 gy = u.uy; in m_move()
392 if(mroom < 0 || mroom != inroom(u.ux,u.uy)){ in m_move()
432 gy = u.uy; in m_move()
567 if (nx == u.ux && ny == u.uy) { in mfndpos()
621 return((x-u.ux)*(x-u.ux) + (y-u.uy)*(y-u.uy)); in dist()
718 u.uy = mtmp->my; in unstuck()
[all …]
H A Dhack.shk.c267 int roomno = inroom(u.ux,u.uy); in inshop()
658 (u.ux == ESHK(shopkeeper)->shk.x && u.uy == ESHK(shopkeeper)->shk.y) || in addtobill()
716 (u.ux == ESHK(shopkeeper)->shd.x && u.uy == ESHK(shopkeeper)->shd.y)) in subfrombill()
919 inroom(u.ux+u.dx, u.uy+u.dy) + 1 == u.uinshop && in shkcatch()
921 u.ux == ESHK(shkp)->shd.x && u.uy == ESHK(shkp)->shd.y) { in shkcatch()
984 gy = u.uy; in shk_move()
985 if(shkroom < 0 || shkroom != inroom(u.ux,u.uy)) in shk_move()
993 gy = u.uy; in shk_move()
1003 u.uy == ESHK(shkp)->shd.y); in shk_move()
1123 return(x==u.ux || y==u.uy || in online()
[all …]
H A Dhack.dog.c84 struct monst *mtmp = makemon(&li_dog,u.ux,u.uy); in makedog()
225 uroom = inroom(u.ux,u.uy); in dog_move()
289 gy = u.uy; in dog_move()
307 gy = u.uy; in dog_move()
312 if(after && udist <= 4 && gx == u.ux && gy == u.uy) in dog_move()
315 if (!IS_ROOM(levl[(int)u.ux][(int)u.uy].typ) || !rn2(4) || in dog_move()
334 if(gx == u.ux && gy == u.uy && (dogroom != uroom || dogroom < 0)){ in dog_move()
H A Dhack.cmd.c179 u.uy0 = u.uy + u.dy; in rhack()
322 if(!isroom(u.ux+xdir[ui], u.uy+ydir[ui])) in finddir()
333 if(isroom(u.ux+xdir[ui], u.uy+ydir[ui])) in finddir()
H A Dhack.makemon.c125 if(x == u.ux && y == u.uy && ptr->mlet != ' ') in makemon()
212 || (x == u.ux && y == u.uy) in goodpos()
235 u.uy = ty; in rloc()
H A Dhack.unix.c349 if(md = makemon(&pm_mail_daemon, u.ux, u.uy)) /* always succeeds */ in newmail()
371 int uroom = inroom(u.ux, u.uy); in mdrush()
375 int fx = u.ux, fy = u.uy; in mdrush()
H A Dhack.engrave.c123 wipe_engr_at(u.ux, u.uy, cnt); in u_wipe_engr()
203 struct engr *ep, *oep = engr_at(u.ux,u.uy); in doengrave()
319 ep->engr_y = u.uy; in doengrave()
H A Dhack.potion.c114 newsym(u.ux,u.uy); in dodrink()
159 if(objs->ox != u.ux || objs->oy != u.uy) in dodrink()
442 if(!(mtmp = makemon(PM_GHOST,u.ux,u.uy))){ in ghost_from_bottle()
H A Dhack.main.c312 u.uy = yupstair; in main()
318 if ((mtmp = m_at(u.ux, u.uy))) in main()
332 read_engr_at(u.ux,u.uy); in main()
H A Dhack.steal.c81 struct gold *gold = g_at(u.ux, u.uy); in stealgold()
87 if(Invisible) newsym(u.ux, u.uy); in stealgold()
/openbsd/lib/libm/src/ld80/
H A De_fmodl.c59 } ux, uy; in fmodl() local
66 uy.e = y; in fmodl()
70 if((uy.bits.ext_exp|uy.bits.ext_frach|uy.bits.ext_fracl)==0 || /* y=0 */ in fmodl()
73 ((uy.bits.ext_frach&~LDBL_NBIT)|uy.bits.ext_fracl)!=0)) /* or y is NaN */ in fmodl()
75 if(ux.bits.ext_exp<=uy.bits.ext_exp) { in fmodl()
78 (ux.bits.ext_frach<uy.bits.ext_frach || in fmodl()
83 ux.bits.ext_fracl==uy.bits.ext_fracl) { in fmodl()
98 uy.e *= 0x1.0p512; in fmodl()
101 iy = uy.bits.ext_exp - BIAS; in fmodl()
106 hy = SET_NBIT(uy.bits.ext_frach); in fmodl()
[all …]
/openbsd/lib/libm/src/
H A De_atan2l.c57 } ux, uy; in atan2l() local
62 uy.e = y; in atan2l()
63 expsigny = (uy.bits.ext_sign << 15) | uy.bits.ext_exp; in atan2l()
79 ((uy.bits.ext_frach&~LDBL_NBIT) in atan2l()
81 | uy.bits.ext_frachm in atan2l()
84 | uy.bits.ext_fraclm in atan2l()
86 | uy.bits.ext_fracl)!=0)) /* y is NaN */ in atan2l()
100 if(expty==0 && ((uy.bits.ext_frach&~LDBL_NBIT) in atan2l()
102 | uy.bits.ext_frachm in atan2l()
105 | uy.bits.ext_fraclm in atan2l()
[all …]
/openbsd/regress/lib/libcrypto/x509/bettertls/certificates/
H A D2359.crt18 9wDHsA+0uy/zUBRK9ej5UBBHs7INxBSkKpdf+ZHCtv3mQwq7k77yMvry/k3cJo8e
H A D2943.crt18 YQtk/OPpDUBlznsUaXjo1dKtw9IFl9dXSJFS8BpEdChVI+tX6OrmXrMUSk20l+uy

12