Lines Matching refs:cnt
313 int cnt, def;
317 cnt = def = 0;
326 cnt++;
328 def = cnt;
332 printf(" %d. %s", cnt, menu_get_prompt(child));
340 if (cnt == 1) {
344 printf("[1-%d", cnt);
352 cnt = def;
353 printf("%d\n", cnt);
367 cnt = def;
369 cnt = atoi(line);
374 def = (random() % cnt) + 1;
379 cnt = def;
380 printf("%d\n", cnt);
388 if (!--cnt)