/freebsd-13-stable/contrib/dialog/ |
H A D | menubox.c | 66 int choice, 75 int my_y = ItemToRow(choice); 143 int choice, 153 int y = ItemToRow(choice); 164 print_item(data, data->menu, items, choice, Editing, TRUE); 184 print_item(data, data->menu, items, choice, Selected, TRUE); 192 handle_button(int code, DIALOG_LISTITEM * items, int choice) argument 199 dlg_add_string(items[choice].name); 202 dlg_add_help_listitem(&code, &help_result, &items[choice]); 231 print_menu(ALL_DATA * data, int choice, in argument 63 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, int choice, Mode selected, bool is_inputmenu) argument 141 input_menu_edit(ALL_DATA * data, DIALOG_LISTITEM * items, int choice, char **resultp) argument 274 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 343 int choice = dlg_default_listitem(items); local 768 int choice; local [all...] |
H A D | formbox.c | 78 print_item(WINDOW *win, DIALOG_FORMITEM * item, int scrollamt, bool choice) argument 107 this_item_attribute = choice 135 print_form(WINDOW *win, DIALOG_FORMITEM * item, int total, int scrollamt, int choice) argument 141 count += print_item(win, item + n, scrollamt, n == choice); 151 set_choice(DIALOG_FORMITEM item[], int choice, int item_no, bool * noneditable) argument 157 if (!is_readonly(&item[choice])) { 158 result = choice; 192 is_first_field(DIALOG_FORMITEM item[], int choice) argument 195 while (choice >= 0) { 196 if (item[choice] 206 is_last_field(DIALOG_FORMITEM item[], int choice, int item_no) argument 223 tab_next(WINDOW *win, DIALOG_FORMITEM item[], int item_no, int stepsize, int *choice, int *scrollamt) argument 288 scroll_next(WINDOW *win, DIALOG_FORMITEM item[], int stepsize, int *choice, int *scrollamt) argument 505 int choice = dlg_default_formitem(items); local 932 int choice = 0; local [all...] |
H A D | checklist.c | 52 * Print list item. The 'selected' parameter is true if 'choice' is the 60 int choice, 74 (void) wmove(win, choice, 0); 78 (void) wmove(win, choice, data->check_x); 91 (void) wmove(win, choice, data->item_x); 101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument 112 i, i == choice); 132 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 138 ? items[choice].text 139 : items[choice] 56 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, const char *states, int choice, int selected) argument 197 int choice = dlg_default_listitem(items); local [all...] |
H A D | treeview.c | 49 * Print list item. The 'selected' parameter is true if 'choice' is the 57 int choice, 71 (void) wmove(win, choice, 0); 75 (void) wmove(win, choice, data->check_x); 85 (void) wmove(win, choice, data->item_x + INDENT * i); 90 (void) wmove(win, choice, data->item_x + INDENT * depths); 102 int choice, 116 i, i == choice); 136 check_hotkey(DIALOG_LISTITEM * items, int choice) argument 142 ? items[choice] 53 print_item(ALL_DATA * data, DIALOG_LISTITEM * item, const char *states, int depths, int choice, int selected) argument 101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument 201 int choice = dlg_default_listitem(items); local [all...] |
H A D | buildlist.c | 72 * Translate a choice from items[] to a row-number in an unbounded column, 76 index2row(ALL_DATA * all, int choice, int selected) argument 82 if (okIndex(all, choice)) { 84 TRACE(("!... choice %d: %p vs row %d: %p\n", 85 choice, all->items + choice, 87 if (myItem(data, row) == all->items + choice) { 93 TRACE(("! index2row(choice %d, %s) = %d\n", choice, mySide(selected), result)); 107 TRACE(("!... row %d: %p vs choice 168 print_1_list(ALL_DATA * all, int choice, int selected) argument 210 prev_item(ALL_DATA * all, int choice, int selected) argument 226 stop_prev(ALL_DATA * all, int choice, int selected) argument 232 check_hotkey(DIALOG_LISTITEM * items, int choice, int selected) argument 252 next_item(ALL_DATA * all, int choice, int selected) argument 334 closest_item(ALL_DATA * all, int choice, int selected) argument 369 print_both(ALL_DATA * all, int choice) argument 405 set_top_item(ALL_DATA * all, int choice, int selected) argument 440 append_right_side(ALL_DATA * all, int choice) argument 453 amend_right_side(ALL_DATA * all, int choice) argument 1129 int choice; local [all...] |
H A D | fselect.c | 78 int choice; /* index of the selection */ member in struct:__anon536 96 list->choice = 0; 121 return list->data[list->choice]; 164 if (list->choice < list->offset) { 165 list->offset = list->choice; 167 if (list->choice - list->offset >= high) 168 list->offset = list->choice - high + 1; 177 int choice = list->choice; local 181 list->choice 317 change_list(int choice, LIST * list) argument [all...] |
H A D | mixedform.c | 52 int choice = 0; local 89 &choice); 97 dlg_add_help_formitem(&result, &help_result, &listitems[choice]);
|
/freebsd-13-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_asid.c | 62 ASIdentifierChoice *choice, 67 if (choice == NULL) 70 switch (choice->type) { 75 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) { 77 sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i); 155 ASIdentifierChoice **choice; 160 choice = &asid->asnum; 163 choice = &asid->rdi; 168 if (*choice == NULL) { 169 if ((*choice [all...] |
/freebsd-13-stable/crypto/heimdal/lib/asn1/ |
H A D | template.c | 376 const struct asn1_template *choice = t->ptr; local 377 unsigned int *element = DPO(data, choice->offset); 381 for (i = 1; i < A1_HEADER_LEN(choice) + 1; i++) { 382 /* should match first tag instead, store it in choice.tt */ 383 ret = _asn1_decode(choice[i].ptr, 0, p, len, 384 DPO(data, choice[i].offset), &datalen); 393 if (i >= A1_HEADER_LEN(choice) + 1) { 394 if (choice->tt == 0) 399 DPO(data, choice->tt), &datalen); 661 const struct asn1_template *choice local 796 const struct asn1_template *choice = t->ptr; local 902 const struct asn1_template *choice = t->ptr; local 1063 const struct asn1_template *choice = t->ptr; local [all...] |
/freebsd-13-stable/contrib/subversion/subversion/svn/ |
H A D | merge-cmd.c | 180 svn_wc_conflict_choice_t choice; 189 choice = svn_wc_conflict_choose_postpone; 192 choice = svn_wc_conflict_choose_base; 195 choice = svn_wc_conflict_choose_merged; 198 choice = svn_wc_conflict_choose_mine_conflict; 201 choice = svn_wc_conflict_choose_theirs_conflict; 204 choice = svn_wc_conflict_choose_mine_full; 207 choice = svn_wc_conflict_choose_theirs_full; 213 choice = svn_wc_conflict_choose_postpone; 217 *result = svn_wc_create_conflict_result(choice, NUL 178 svn_wc_conflict_choice_t choice; local [all...] |
H A D | conflict-callbacks.c | 381 svn_client_conflict_option_id_t choice; 391 svn_client_conflict_option_id_t choice; 589 if (opt->choice == id) 594 client_opt->choice = id; 992 option_id = opt->choice; 1174 else if (opt->choice != svn_client_conflict_option_undefined) 1176 if ((opt->choice == svn_client_conflict_option_working_text_where_conflicted 1177 || opt->choice == svn_client_conflict_option_incoming_text_where_conflicted) 1190 if (opt->choice == svn_client_conflict_option_merged_text 1200 option_id = opt->choice; 380 svn_client_conflict_option_id_t choice; member in struct:resolver_option_t 390 svn_client_conflict_option_id_t choice; member in struct:client_option_t [all...] |
/freebsd-13-stable/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 103 int choice; local 104 choice = dlg_checklist("UFS Options", "", 0, 0, 0, 107 if (choice == 1) /* Cancel */ 141 int choice; local 142 choice = dlg_checklist("ZFS Options", "", 0, 0, 0, 145 if (choice == 1) /* Cancel */ 184 int choice; local 185 choice = dlg_checklist("FAT Options", "", 0, 0, 0, 188 if (choice == 1) /* Cancel */ 214 int cancel, choice; local 516 int hadlabel, choice, junk, nitems; local 896 int choice; local 989 int nitems, choice, junk; local [all...] |
H A D | part_wizard.c | 206 int choice; local 241 choice = dialog_yesno("Partition", message, 0, 0); 247 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { 267 if (scheme == NULL || choice == 0) { 270 choice = dialog_yesno("Confirmation", "This will erase " 272 if (choice != 0) 289 choice /* Non-interactive for "Entire Disk" */); local
|
/freebsd-13-stable/sys/contrib/openzfs/scripts/ |
H A D | zloop.sh | 248 choice=$((RANDOM % 3)) 256 if [[ $choice -eq 0 ]]; then 265 elif [[ $choice -eq 1 ]]; then
|
/freebsd-13-stable/usr.bin/fortune/fortune/ |
H A D | fortune.c | 954 int choice; local 959 choice = arc4random_uniform(100); 960 DPRINTF(1, (stderr, "choice = %d\n", choice)); 962 if (choice < fp->percent) 965 choice -= fp->percent; 967 " skip \"%s\", %d%% (choice = %d)\n", 968 fp->name, fp->percent, choice)); 971 "using \"%s\", %d%% (choice = %d)\n", 972 fp->name, fp->percent, choice)); 1017 int choice; local [all...] |
/freebsd-13-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mtl_hca_guid.c | 6 * This software is available to you under a choice of one of two 548 uint32_t choice = 0; local 600 printf("\nEnter choice (1-%u): ", i); 602 scanf("%u", &choice); 603 if (choice > num_ports) 604 printf("\nError: Lame choice!\n"); 611 attr_array[choice - 1].port_guid, 620 return (attr_array[choice - 1].port_guid);
|
/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | main.c | 9 * This software is available to you under a choice of one of two 433 uint32_t i, choice = 0; local 491 printf("\nEnter choice (0-%u): ", i); 493 if (scanf("%u", &choice) <= 0) { 497 } else if (choice == 0) 499 else if (choice <= num_ports) 501 printf("\nError: Lame choice! Please try again.\n"); 503 choice--; 505 cl_ntoh64(attr_array[choice].port_guid)); 506 return attr_array[choice] [all...] |
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | prompt.c | 669 const char *choice; 730 SVN_ERR(prompt(&choice, buf->data, FALSE, pb, pool)); 732 if (choice[0] == 't' || choice[0] == 'T') 738 else if (may_save && (choice[0] == 'p' || choice[0] == 'P')) 666 const char *choice; local
|
/freebsd-13-stable/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_private.h | 40 probability choice; member in struct:__anon6656
|
H A D | lzma_decoder.c | 43 rc_if_0(ld.choice, seq ## _CHOICE) { \ 44 rc_update_0(ld.choice); \ 49 rc_update_1(ld.choice); \ 121 rc_if_0(ld.choice, seq ## _CHOICE) { \ 122 rc_update_0(ld.choice); \ 128 rc_update_1(ld.choice); \ 162 probability choice; member in struct:__anon6653 910 bit_reset(coder->match_len_decoder.choice); 912 bit_reset(coder->rep_len_decoder.choice);
|
H A D | lzma_encoder.c | 83 const uint32_t a0 = rc_bit_0_price(lc->choice); 84 const uint32_t a1 = rc_bit_1_price(lc->choice); 114 rc_bit(rc, &lc->choice, 0); 117 rc_bit(rc, &lc->choice, 1); 456 bit_reset(lencoder->choice);
|
/freebsd-13-stable/stand/lua/ |
H A D | menu.lua | 109 name = function(idx, choice, all_choices) 123 choice .. color.resetfg() 128 func = function(_, choice, _) 129 bootenvSet(choice) 318 name = function(idx, choice, all_choices) 333 choice .. color.resetfg() 338 func = function(_, choice, _) 342 config.selectKernel(choice)
|
/freebsd-13-stable/usr.sbin/kbdmap/ |
H A D | kbdmap.c | 408 char choice[64]; local 409 if (fgets(choice, sizeof(choice), fp) != NULL) { 412 if (!strcmp(choice, km_sorted[i]->desc)) { 667 /* 4) Your choice if it exists
|
/freebsd-13-stable/contrib/bmake/mk/ |
H A D | sys.dependfile.mk | 40 # Normally the 1st entry is our default choice
|
/freebsd-13-stable/share/mk/ |
H A D | sys.dependfile.mk | 41 # Normally the 1st entry is our default choice
|