/freebsd-10.0-release/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:__anon812 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-10.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_asid.c | 107 ASIdentifierChoice *choice, 113 if (choice == NULL) 116 switch (choice->type) { 121 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) { 122 ASIdOrRange *aor = sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i); 201 ASIdentifierChoice **choice; 206 choice = &asid->asnum; 209 choice = &asid->rdi; 214 if (*choice == NULL) { 215 if ((*choice [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/svn/ |
H A D | conflict-callbacks.c | 442 svn_wc_conflict_choice_t choice; /* or -1 if not a simple choice */ 821 result->choice = opt->choice; 923 else if (opt->choice != -1) 925 if ((opt->choice == svn_wc_conflict_choose_mine_conflict 926 || opt->choice == svn_wc_conflict_choose_theirs_conflict) 939 if (result->choice == svn_wc_conflict_choose_merged 949 result->choice = opt->choice; 441 svn_wc_conflict_choice_t choice; /* or -1 if not a simple choice */ member in struct:resolver_option_t [all...] |
/freebsd-10.0-release/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-10.0-release/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 101 int choice; local 102 choice = dlg_checklist("UFS Options", "", 0, 0, 0, 105 if (choice == 1) /* Cancel */ 134 int choice; local 135 choice = dlg_checklist("FAT Options", "", 0, 0, 0, 138 if (choice == 1) /* Cancel */ 164 int cancel, choice; local 188 sizeof(items) / sizeof(items[0]), items, &choice, NULL); 194 if (!is_scheme_bootable(items[choice].name)) { 198 "to proceed?", items[choice] 421 int hadlabel, choice, junk, nitems; local 754 int nitems, choice, junk; local [all...] |
H A D | part_wizard.c | 196 int choice; local 231 choice = dialog_yesno("Partition", message, 0, 0); 237 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { 255 if (scheme == NULL || choice == 0) { 258 choice = dialog_yesno("Confirmation", "This will erase " 260 if (choice != 0) 275 choice /* Non-interactive for "Entire Disk" */); local
|
/freebsd-10.0-release/games/fortune/fortune/ |
H A D | fortune.c | 957 int choice; local 962 choice = arc4random_uniform(100); 963 DPRINTF(1, (stderr, "choice = %d\n", choice)); 965 if (choice < fp->percent) 968 choice -= fp->percent; 970 " skip \"%s\", %d%% (choice = %d)\n", 971 fp->name, fp->percent, choice)); 974 "using \"%s\", %d%% (choice = %d)\n", 975 fp->name, fp->percent, choice)); 1020 int choice; local [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | main.c | 6 * This software is available to you under a choice of one of two 360 uint32_t i, choice = 0; local 416 printf("\nEnter choice (1-%u): ", i); 418 if (scanf("%u", &choice)) { 419 if (choice > num_ports || choice < 1) { 420 printf("\nError: Lame choice!\n"); 423 choice--; 429 printf("\nError: Lame choice!\n"); 434 cl_ntoh64(attr_array[choice] [all...] |
/freebsd-10.0-release/contrib/ofed/management/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 552 uint32_t choice = 0; local 604 printf("\nEnter choice (1-%u): ", i); 606 scanf("%u", &choice); 607 if (choice > num_ports) 608 printf("\nError: Lame choice!\n"); 615 attr_array[choice - 1].port_guid, 624 return (attr_array[choice - 1].port_guid);
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | prompt.c | 673 const char *choice; 734 SVN_ERR(prompt(&choice, buf->data, FALSE, pb, pool)); 736 if (choice[0] == 't' || choice[0] == 'T') 742 else if (may_save && (choice[0] == 'p' || choice[0] == 'P')) 670 const char *choice; local
|
/freebsd-10.0-release/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_private.h | 41 probability choice; member in struct:__anon4715
|
H A D | lzma_decoder.c | 37 rc_if_0(ld.choice, seq ## _CHOICE) { \ 38 rc_update_0(ld.choice); \ 43 rc_update_1(ld.choice); \ 115 rc_if_0(ld.choice, seq ## _CHOICE) { \ 116 rc_update_0(ld.choice); \ 122 rc_update_1(ld.choice); \ 156 probability choice; member in struct:__anon4713 904 bit_reset(coder->match_len_decoder.choice); 906 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-10.0-release/contrib/bmake/mk/ |
H A D | sys.dependfile.mk | 34 # Normally the 1st entry is our default choice
|
/freebsd-10.0-release/usr.sbin/kbdmap/ |
H A D | kbdmap.c | 382 char choice[64]; local 383 if (fgets(choice, sizeof(choice), fp) != NULL) { 386 if (!strcmp(choice, km_sorted[i]->desc)) { 640 /* 4) Your choice if it exists
|
/freebsd-10.0-release/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 118 int i, result, choice = 0; local 159 dialog_vars.default_item = listitems[choice].name; 161 menu_height, item_no, listitems, &choice, NULL); 167 if (ditems[choice].fire != NULL) { 170 status = ditems[choice].fire(ditems + choice);
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | fs.c | 450 const char *choice; 466 choice = dbconfig_options[i].active; 468 choice = dbconfig_options[i].inactive; 470 SVN_ERR(svn_io_file_write_full(dbconfig_file, choice, strlen(choice), 446 const char *choice; local
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | bundle.c | 1942 struct datalink *dl, *choice, *otherlinkup; local 1944 choice = otherlinkup = NULL; 1949 if (choice) 1950 otherlinkup = choice; 1951 choice = dl; 1955 choice = dl; 1960 choice = NULL; 1966 if (choice) { 1969 percent, choice->name); 1970 datalink_Up(choice, [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | kern_et.c | 243 SYSCTL_PROC(_kern_eventtimer, OID_AUTO, choice,
|