Searched refs:uhp (Results 1 - 17 of 17) sorted by relevance

/openbsd-current/games/hack/
H A Dhack.potion.c99 if(u.uhp < u.uhpmax) losehp(-1, "bottle of whiskey");
125 u.uhp += rnd(10);
126 if(u.uhp > u.uhpmax)
127 u.uhp = ++u.uhpmax;
221 u.uhp += d(2,20)+1;
222 if(u.uhp > u.uhpmax)
223 u.uhp = (u.uhpmax += 2);
263 u.uhp += num;
367 if(u.uhp < u.uhpmax) u.uhp
[all...]
H A Dhack.mhitu.c108 u.uhp = 0;
110 if(u.uhp < 1) done_in_by(mtmp);
265 u.uhp += rnd(7);
267 if(u.uhp > u.uhpmax) u.uhp = u.uhpmax;
281 u.uhp -= d(2,8);
283 u.uhp -= d(2,8);
340 if(tmp) u.uhp -= 4;
377 if(u.uhp < 1) done_in_by(mtmp);
H A Dhack.main.c181 u.uhp = 1; /* prevent RIP on early quits */
361 if(u.uhp < 1) {
365 if(u.uhp*10 < u.uhpmax && moves-wailmsg > 50){
367 if(u.uhp == 1)
372 if(u.uhp < u.uhpmax) {
376 u.uhp += rnd((int) u.ulevel-9);
377 if(u.uhp > u.uhpmax)
378 u.uhp = u.uhpmax;
383 u.uhp++;
H A Dhack.u_init.c262 u.uhp = u.uhpmax = 16;
270 u.uhp = u.uhpmax = 10;
279 u.uhp = u.uhpmax = 15;
287 u.uhp = u.uhpmax = 12;
294 u.uhp = u.uhpmax = 12;
300 u.uhp = u.uhpmax = 14;
305 u.uhp = u.uhpmax = 12;
H A Dhack.eat.c315 u.uhp += rnd(20);
316 if(u.uhp > u.uhpmax) {
318 u.uhp = u.uhpmax;
429 if(u.uhp < 1) {
482 u.uhp = u.uhpmax;
H A Dhack.c810 u.uhp -= 6;
819 u.uhp -= n;
820 if(u.uhp > u.uhpmax)
821 u.uhpmax = u.uhp; /* perhaps n was negative */
823 if(u.uhp < 1) {
832 u.uhp -= n;
834 if(u.uhp < 1)
847 u.uhp = -1;
849 u.uhp -= num;
H A Dhack.mon.c187 u.uhp -= dam;
190 u.uhp = -1;
192 if(u.uhp < 1) done_in_by(mtmp);
289 !mtmp->mpeaceful && u.uhp > 0 && !scared) {
637 u.uhp = -1;
644 if(u.uhp < 1) {
800 u.uhp += tmp;
H A Dhack.wizard.c229 if(u.uhp < 1) done_in_by(mtmp);
H A Dhack.end.c174 u.uhp = u.uhpmax;
185 if(*st1 == 'q' && u.uhp < 1){
333 t0->hp = u.uhp;
H A Dhack.pri.c679 dlevel, u.ugold, u.uhp, u.uhpmax, u.uac);
683 dlevel, u.uhp, u.uhpmax, u.uac);
H A Dhack.read.c270 u.uhp = -1;
H A Dhack.h180 int uhp,uhpmax; member in struct:you
H A Dhack.zap.c574 u.uhp = -1;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/
H A Dc90-scanf-1.c12 foo (int *ip, unsigned int *uip, short int *hp, unsigned short int *uhp, argument
48 scanf ("%hd%hi%ho%hu%hx%hX%hn", hp, hp, uhp, uhp, uhp, uhp, hn);
H A Dc99-scanf-1.c12 foo (int *ip, unsigned int *uip, short int *hp, unsigned short int *uhp, argument
38 scanf ("%hd%hi%ho%hu%hx%hX%hn", hp, hp, uhp, uhp, uhp, uhp, hn);
/openbsd-current/sys/netinet/
H A Dudp_usrreq.c739 } *uhp; local
808 if (m->m_pkthdr.len < off + sizeof(*uhp))
812 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
882 struct udphdr *uhp; local
907 uhp = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
912 udpencap_port && uhp->uh_sport == htons(udpencap_port)) {
918 ip->ip_dst, uhp->uh_dport, ip->ip_src, uhp->uh_sport,
/openbsd-current/sys/net/
H A Dif_vxlan.c605 void *uhp, int hlen)
625 uh = uhp;
604 vxlan_input(void *arg, struct mbuf *m, struct ip *ip, struct ip6_hdr *ip6, void *uhp, int hlen) argument

Completed in 115 milliseconds