/freebsd-11-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 341 int choice = dlg_default_listitem(items); local 745 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 499 int choice = dlg_default_formitem(items); local 913 int choice; 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 196 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 200 int choice = dlg_default_listitem(items); local [all...] |
H A D | buildlist.c | 61 * Print list item. The 'selected' parameter is true if 'choice' is the 68 int choice, 82 (void) wmove(win, choice, 0); 86 (void) wmove(win, choice, data->check_x); 95 (void) wmove(win, choice, data->item_x); 110 int choice, 127 j, ii == choice); 138 * further movement is possible, return the same choice as given. 141 prev_item(ALL_DATA * data, int choice, int selected) argument 143 int result = choice; 65 print_item(ALL_DATA * data, WINDOW *win, DIALOG_LISTITEM * item, int choice, int selected) argument 109 print_1_list(ALL_DATA * data, int choice, int selected) argument 159 stop_prev(ALL_DATA * data, int choice, int selected) argument 165 check_hotkey(DIALOG_LISTITEM * items, int choice, int selected) argument 185 next_item(ALL_DATA * data, int choice, int selected) argument 205 index2row(ALL_DATA * data, int choice, int selected) argument 277 int choice = row2index(data, row, selected); local 304 closest_item(ALL_DATA * data, int choice, int selected) argument 337 print_both(ALL_DATA * data, int choice) argument [all...] |
H A D | fselect.c | 78 int choice; /* index of the selection */ member in struct:__anon947 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; local 89 &choice); 97 dlg_add_help_formitem(&result, &help_result, &listitems[choice]);
|
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_asid.c | 107 ASIdentifierChoice *choice, 112 if (choice == NULL) 115 switch (choice->type) { 120 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) { 122 sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i); 200 ASIdentifierChoice **choice; 205 choice = &asid->asnum; 208 choice = &asid->rdi; 213 if (*choice == NULL) { 214 if ((*choice [all...] |
/freebsd-11-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-11-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-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 104 int choice; local 105 choice = dlg_checklist("UFS Options", "", 0, 0, 0, 108 if (choice == 1) /* Cancel */ 142 int choice; local 143 choice = dlg_checklist("ZFS Options", "", 0, 0, 0, 146 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 521 int hadlabel, choice, junk, nitems; local 893 int nitems, choice, junk; local [all...] |
H A D | part_wizard.c | 207 int choice; local 242 choice = dialog_yesno("Partition", message, 0, 0); 248 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { 268 if (scheme == NULL || choice == 0) { 271 choice = dialog_yesno("Confirmation", "This will erase " 273 if (choice != 0) 290 choice /* Non-interactive for "Entire Disk" */); local
|
/freebsd-11-stable/usr.bin/fortune/fortune/ |
H A D | fortune.c | 953 int choice; local 958 choice = arc4random_uniform(100); 959 DPRINTF(1, (stderr, "choice = %d\n", choice)); 961 if (choice < fp->percent) 964 choice -= fp->percent; 966 " skip \"%s\", %d%% (choice = %d)\n", 967 fp->name, fp->percent, choice)); 970 "using \"%s\", %d%% (choice = %d)\n", 971 fp->name, fp->percent, choice)); 1016 int choice; local [all...] |
/freebsd-11-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-11-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-11-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-11-stable/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_private.h | 40 probability choice; member in struct:__anon43
|
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:__anon40 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-11-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) 303 name = function(idx, choice, all_choices) 318 choice .. color.resetfg() 323 func = function(_, choice, _) 327 config.selectKernel(choice)
|
/freebsd-11-stable/usr.sbin/kbdmap/ |
H A D | kbdmap.c | 409 char choice[64]; local 410 if (fgets(choice, sizeof(choice), fp) != NULL) { 413 if (!strcmp(choice, km_sorted[i]->desc)) { 668 /* 4) Your choice if it exists
|
/freebsd-11-stable/contrib/bmake/mk/ |
H A D | sys.dependfile.mk | 40 # Normally the 1st entry is our default choice
|
/freebsd-11-stable/share/mk/ |
H A D | sys.dependfile.mk | 41 # Normally the 1st entry is our default choice
|
/freebsd-11-stable/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 134 int i, result, choice = 0; local 176 dialog_vars.default_item = listitems[choice].name; 178 menu_height, item_no, listitems, &choice, NULL); 184 if (ditems[choice].fire != NULL) { 187 status = ditems[choice].fire(ditems + choice);
|