Searched refs:uhp (Results 1 - 17 of 17) sorted by relevance
/openbsd-current/games/hack/ |
H A D | hack.potion.c | 99 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 D | hack.mhitu.c | 108 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 D | hack.main.c | 181 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 D | hack.u_init.c | 262 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 D | hack.eat.c | 315 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 D | hack.c | 810 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 D | hack.mon.c | 187 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 D | hack.wizard.c | 229 if(u.uhp < 1) done_in_by(mtmp);
|
H A D | hack.end.c | 174 u.uhp = u.uhpmax; 185 if(*st1 == 'q' && u.uhp < 1){ 333 t0->hp = u.uhp;
|
H A D | hack.pri.c | 679 dlevel, u.ugold, u.uhp, u.uhpmax, u.uac); 683 dlevel, u.uhp, u.uhpmax, u.uac);
|
H A D | hack.read.c | 270 u.uhp = -1;
|
H A D | hack.h | 180 int uhp,uhpmax; member in struct:you
|
H A D | hack.zap.c | 574 u.uhp = -1;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/ |
H A D | c90-scanf-1.c | 12 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 D | c99-scanf-1.c | 12 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 D | udp_usrreq.c | 739 } *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 D | if_vxlan.c | 605 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