/src/games/atc/ |
update.c | 349 int isclose, pnum; local in function:addplane 401 pnum = next_plane(); 402 if (pnum < 0) 404 p.plane_no = pnum;
|
/src/usr.sbin/services_mkdb/ |
services_mkdb.c | 190 unsigned long pnum; local in function:parseservices 224 pnum = strtoul(port, &ep, 0); 229 if ((errno == ERANGE && pnum == ULONG_MAX) || pnum > PMASK) { 234 if (svc[pnum] == NULL) 235 svc[pnum] = ecalloc(PROTOMAX, sizeof(StringList *)); 238 if (svc[pnum][pindex] == NULL) 239 s = svc[pnum][pindex] = sl_init(); 241 s = svc[pnum][pindex];
|
/src/games/cribbage/ |
crib.c | 477 int cnum, pnum, sum; local in function:peg 482 cnum = pnum = CINHAND; 493 prhand(ph, pnum, Playwin, FALSE); 503 if (anymove(ph, pnum, sum)) 544 if (!anymove(ph, pnum, sum)) { /* can player move? */ 545 if (!ugo && pnum) { /* go for player */ 564 if (pnum == 1) { 570 pnum, Playwin, FALSE); 572 pnum, "Your play: ")]; 579 cremove(crd, ph, pnum--) [all...] |
/src/games/backgammon/common_source/ |
init.c | 53 int pnum = 2; /* color of player: -1 = white 1 = red 0 = variable in typeref:typename:int
|
/src/sys/arch/sparc64/dev/ |
ffb.c | 246 int pnum = (dac & 0x0ffff000) >> 12; local in function:ffb_attach 247 if (pnum == 0x236e) {
|