Lines Matching refs:choice
102 int choice;
103 choice = dlg_checklist("UFS Options", "", 0, 0, 0,
106 if (choice == 1) /* Cancel */
140 int choice;
141 choice = dlg_checklist("ZFS Options", "", 0, 0, 0,
144 if (choice == 1) /* Cancel */
183 int choice;
184 choice = dlg_checklist("FAT Options", "", 0, 0, 0,
187 if (choice == 1) /* Cancel */
211 int cancel, choice;
231 nitems(items), items, &choice, NULL);
237 if (!is_scheme_bootable(items[choice].name)) {
241 "to proceed?", items[choice].name);
249 scheme = items[choice].name;
515 int hadlabel, choice, junk, nitems;
611 choice = dlg_form("Edit Partition", "", 0, 0, 0, nitems, items, &junk);
613 if (choice) /* Cancel pressed */
624 choice = dialog_yesno("Warning", message, 0, 0);
626 if (choice == 1) /* cancel */
900 int choice;
939 choice = dialog_yesno("Boot Partition",
944 choice = 0;
946 if (choice == 0) { /* yes */
993 int nitems, choice, junk;
1092 choice = dlg_form("Add Partition", "", 0, 0, 0, nitems,
1095 switch (choice) {
1139 choice = 0;
1142 choice = dialog_yesno("Warning",
1150 if (choice == 1) /* cancel */
1174 choice = dialog_yesno("Warning", message, 0, 0);
1176 if (choice == 1) /* cancel */
1188 choice = dialog_yesno("Warning", message, 0, 0);
1190 if (choice == 1) /* cancel */