Lines Matching refs:cnt
397 long cnt;
468 cnt = 0;
471 if (cnt < 100000000)
472 cnt = 10 * cnt + (ilet - '0');
474 cnt = 999999999;
475 allowcnt = 2; /* signal presence of cnt */
492 if (!(allowcnt == 2 && cnt < u.ugold))
493 cnt = u.ugold;
494 return (mkgoldobj(cnt));
522 if (cnt < 0 || otmp->quan < cnt) {
533 if (allowcnt == 2) { /* cnt given */
534 if (cnt == 0)
536 if (cnt != otmp->quan) {
538 obj = splitobj(otmp, (int) cnt);
645 int cnt = 0;
669 cnt += (*fn) (otmp);
680 pline(cnt ? "That was all." : "No applicable objects.");
682 return (cnt);