Lines Matching refs:cnt
453 int cnt, spe, spesgn, typ, heavy;
457 cnt = spe = spesgn = typ = heavy = 0;
467 cnt = 1;
470 cnt = 1;
473 if (!cnt && digit(*bp)) {
474 cnt = atoi(bp);
480 if (!cnt)
481 cnt = 1; /* %% what with "gems" etc. ? */
529 if (cnt != 1) {
649 if (cnt > 0 && strchr("%?!*)", let) &&
650 (cnt < 4 || (let == WEAPON_SYM && typ <= ROCK && cnt < 20)))
651 otmp->quan = cnt;