Lines Matching refs:choice
64 #define NOTUNIQ "The entered text does not uniquely identify a menu choice."
65 #define BADNUM "Bad numeric choice specification"
143 if (menup->choice)
144 item[0] = menup->choice->token;
235 char **choice;
241 choice = calloc((size_t)max, sizeof (char *));
261 chp = menup->choice;
268 choice[nchoice++] = chp->token;
276 chp = menup->choice;
313 choice[nchoice++] = found;
319 return (choice);
323 setitem(CKMENU *menup, char *choice)
329 if (choice == NULL) {
331 chp = menup->choice;
347 if ((pt = strdup(choice)) == NULL) {
375 setinvis(CKMENU *menup, char *choice)
380 if (choice == NULL) {
400 menup->invis[index] = strdup(choice);
410 base = menup->choice;
423 menup->choice = chp;
441 chp->next = menup->choice;
442 menup->choice = chp;
464 chp = ((menup->attr & CKALPHA) ? next(menup->choice) : menup->choice);
488 next(menup->choice) : chp->next);