| /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/backgammon/backgammon/ |
| main.c | 166 if (pnum == 2) {/* ask for color(s) */ 169 while (pnum == 2) { 174 pnum = -1; 178 pnum = 1; 182 pnum = 0; 291 if (cturn == pnum) /* computer's move */ 323 if (cturn == pnum) { 395 if (pnum) {
|
| extra.c | 63 if (cturn == -pnum) { /* see if computer accepts */
|
| /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/ |
| save.c | 129 write(fdesc, &pnum, sizeof pnum); 160 read(fdesc, &pnum, sizeof pnum);
|
| check.c | 65 if (tflag && pnum) 66 bflag = pnum;
|
| subs.c | 195 switch (pnum) { 319 pnum = 0; 328 pnum = -1; 337 pnum = 1;
|
| init.c | 53 int pnum = 2; /* color of player: -1 = white 1 = red 0 = variable in typeref:typename:int
|
| back.h | 82 extern int pnum; /* color of player:
|
| /src/sbin/efi/ |
| gptsubr.c | 525 int pnum = p[n - 1] - 'a'; 529 printf("partition %d\n", pnum); 531 dl.d_partitions[pnum].p_offset, 532 dl.d_partitions[pnum].p_offset); 534 dl.d_partitions[pnum].p_size, 535 dl.d_partitions[pnum].p_size); 538 offset = dl.d_partitions[pnum].p_offset; 539 size = dl.d_partitions[pnum].p_size;
|
| /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/sys/external/gpl2/dts/dist/include/dt-bindings/usb/ |
| pd.h | 232 #define VDO_DFP(ver, cap, conn, pnum) \ 234 | ((pnum) & 0x1f))
|
| /src/lib/libc/db/hash/ |
| hash_page.c | 640 __ibitmap(HTAB *hashp, int pnum, int nbits, int ndx) 655 hashp->BITMAPS[ndx] = (uint16_t)pnum;
|
| /src/sys/arch/sparc64/dev/ |
| ffb.c | 246 int pnum = (dac & 0x0ffff000) >> 12; local in function:ffb_attach 247 if (pnum == 0x236e) {
|
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_dp_mst_topology.c | 2110 int pnum, 2123 snprintf(temp, sizeof(temp), "-%d", pnum);
|