/freebsd/contrib/dialog/ |
H A D | formbox.c | 78 print_item(WINDOW *win, DIALOG_FORMITEM * item, int scrollamt, bool choice) in print_item() argument 107 this_item_attribute = choice in print_item() 135 print_form(WINDOW *win, DIALOG_FORMITEM * item, int total, int scrollamt, int choice) in print_form() argument 141 count += print_item(win, item + n, scrollamt, n == choice); in print_form() 151 set_choice(DIALOG_FORMITEM item[], int choice, int item_no, bool * noneditable) in set_choice() argument 156 if (!is_readonly(&item[choice])) { in set_choice() 157 result = choice; in set_choice() 193 is_first_field(DIALOG_FORMITEM item[], int choice) in is_first_field() argument 196 while (choice >= 0) { in is_first_field() 197 if (item[choice].text_flen > 0) { in is_first_field() [all …]
|
H A D | menubox.c | 66 int choice, in print_item() argument 74 int my_y = ItemToRow(choice); in print_item() 144 int choice, in input_menu_edit() argument 154 int y = ItemToRow(choice); in input_menu_edit() 165 print_item(data, data->menu, items, choice, Editing, TRUE); in input_menu_edit() 195 print_item(data, data->menu, items, choice, Selected, TRUE); in input_menu_edit() 203 handle_button(int code, DIALOG_LISTITEM * items, int choice) in handle_button() argument 210 dlg_add_string(items[choice].name); in handle_button() 213 dlg_add_help_listitem(&code, &help_result, &items[choice]); in handle_button() 244 print_menu(ALL_DATA * data, int choice, int scrollamt, int max_choice, bool is_inputmenu) in print_menu() argument [all …]
|
H A D | checklist.c | 52 * Print list item. The 'selected' parameter is true if 'choice' is the 60 int choice, in print_item() argument 74 (void) wmove(win, choice, 0); in print_item() 78 (void) wmove(win, choice, data->check_x); in print_item() 91 (void) wmove(win, choice, data->item_x); in print_item() 101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) in print_list() argument 112 i, i == choice); in print_list() 132 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument 138 ? items[choice].text in check_hotkey() 139 : items[choice].name))) { in check_hotkey() [all …]
|
H A D | treeview.c | 49 * Print list item. The 'selected' parameter is true if 'choice' is the 57 int choice, in print_item() argument 71 (void) wmove(win, choice, 0); in print_item() 75 (void) wmove(win, choice, data->check_x); in print_item() 85 (void) wmove(win, choice, data->item_x + INDENT * i); in print_item() 90 (void) wmove(win, choice, data->item_x + INDENT * depths); in print_item() 102 int choice, in print_list() argument 116 i, i == choice); in print_list() 136 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument 142 ? items[choice].text in check_hotkey() [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) in index2row() argument 81 if (okIndex(all, choice)) { in index2row() 85 TRACE(("!... choice %d: %p vs row %d: %p\n", in index2row() 86 choice, all->items + choice, in index2row() 88 if (myItem(data, row) == all->items + choice) { in index2row() 94 TRACE(("! index2row(choice %d, %s) = %d\n", choice, mySide(selected), result)); in index2row() 108 TRACE(("!... row %d: %p vs choice %d: %p\n", in row2index() 121 * Print list item. The 'selected' parameter is true if 'choice' is the 170 int choice, in print_1_list() argument [all …]
|
H A D | fselect.c | 78 int choice; /* index of the selection */ member 96 list->choice = 0; in init_list() 121 return list->data[list->choice]; in data_of() 164 if (list->choice < list->offset) { in keep_visible() 165 list->offset = list->choice; in keep_visible() 167 if (list->choice - list->offset >= high) in keep_visible() 168 list->offset = list->choice - high + 1; in keep_visible() 176 int choice = list->choice; in find_choice() local 179 list->choice = 0; in find_choice() 208 list->choice = n; in find_choice() [all …]
|
H A D | mixedform.c | 52 int choice = 0; in dialog_mixedform() local 89 &choice); in dialog_mixedform() 97 dlg_add_help_formitem(&result, &help_result, &listitems[choice]); in dialog_mixedform()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_asid.c | 63 ASIdentifierChoice *choice, 68 if (choice == NULL) 71 switch (choice->type) { 76 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) { 78 sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i); 156 ASIdentifierChoice **choice; in X509v3_asid_add_inherit() local 161 choice = &asid->asnum; in X509v3_asid_add_inherit() 164 choice = &asid->rdi; in X509v3_asid_add_inherit() 169 if (*choice == NULL) { in X509v3_asid_add_inherit() 170 if ((*choice = ASIdentifierChoice_new()) == NULL) in X509v3_asid_add_inherit() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | template.c | 378 const struct asn1_template *choice = t->ptr; in _asn1_decode() 379 unsigned int *element = DPO(data, choice->offset); in _asn1_decode() 383 for (i = 1; i < A1_HEADER_LEN(choice) + 1; i++) { in _asn1_decode() 384 /* should match first tag instead, store it in choice.tt */ in _asn1_decode() 385 ret = _asn1_decode(choice[i].ptr, 0, p, len, in _asn1_decode() 386 DPO(data, choice[i].offset), &datalen); in _asn1_decode() 395 if (i >= A1_HEADER_LEN(choice) + 1) { in _asn1_decode() 396 if (choice->tt == 0) in _asn1_decode() 401 DPO(data, choice->tt), &datalen); in _asn1_decode() 663 const struct asn1_template *choice in _asn1_encode() 376 const struct asn1_template *choice = t->ptr; _asn1_decode() local 661 const struct asn1_template *choice = t->ptr; _asn1_encode() local 796 const struct asn1_template *choice = t->ptr; _asn1_length() local 902 const struct asn1_template *choice = t->ptr; _asn1_free() local 1063 const struct asn1_template *choice = t->ptr; _asn1_copy() local [all...] |
H A D | setchgpw2.asn1 | 130 -- Choice switch 132 Op-req ::= CHOICE { 142 Op-rep ::= CHOICE { 152 Op-error ::= CHOICE {
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | crmf.asn1 | 35 authInfo CHOICE { 56 POPOPrivKey ::= CHOICE { 65 ProofOfPossession ::= CHOICE { 79 issuer [3] IMPLICIT CHOICE { 86 subject [5] IMPLICIT CHOICE {
|
/freebsd/usr.bin/fortune/fortune/ |
H A D | fortune.c | 940 int choice; in get_fort() local 945 choice = arc4random_uniform(100); in get_fort() 946 DPRINTF(1, (stderr, "choice = %d\n", choice)); in get_fort() 948 if (choice < fp->percent) in get_fort() 951 choice -= fp->percent; in get_fort() 953 " skip \"%s\", %d%% (choice = %d)\n", in get_fort() 954 fp->name, fp->percent, choice)); in get_fort() 958 "using \"%s\", %d%% (choice = %d)\n", in get_fort() 959 fp->name, fp->percent, choice)); in get_fort() 966 choice = arc4random_uniform(Noprob_tbl.str_numstr); in get_fort() [all …]
|
/freebsd/lib/msun/src/ |
H A D | s_ccosh.c | 88 * The sign of 0 in the result is unspecified. Choice = product in ccosh() 93 * The sign of 0 in the result is unspecified. Choice = product in ccosh() 103 * The sign of 0 in the result is unspecified. Choice = product in ccosh() 115 * nonzero x. Choice = don't raise (except for signaling NaNs). in ccosh() 124 * The sign of Inf in the result is unspecified. Choice = always +. in ccosh() 140 * Choice = raise. in ccosh() 144 * nonzero y. Choice = don't raise (except for signaling NaNs). in ccosh()
|
H A D | s_csinh.c | 88 * The sign of 0 in the result is unspecified. Choice = same sign in csinh() 92 * The sign of 0 in the result is unspecified. Choice = same sign in csinh() 112 * nonzero x. Choice = don't raise (except for signaling NaNs). in csinh() 119 * The sign of Inf in the result is unspecified. Choice = same sign in csinh() 123 * The sign of Inf in the result is unspecified. Choice = same sign in csinh() 139 * Choice = raise. in csinh() 143 * nonzero y. Choice = don't raise (except for signaling NaNs). in csinh()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ASN1_aux_cb.pod | 117 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 124 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 130 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 138 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 143 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 148 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 153 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure 158 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 118 int choice; in newfs_command() local 120 choice = bsddialog_checklist(&conf, "", 0, 0, 0, in newfs_command() 122 if (choice == BSDDIALOG_CANCEL) in newfs_command() 156 int choice; in newfs_command() local 158 choice = bsddialog_checklist(&conf, "", 0, 0, 0, in newfs_command() 160 if (choice == BSDDIALOG_CANCEL) in newfs_command() 200 int choice; in newfs_command() local 202 choice = bsddialog_radiolist(&conf, "", 0, 0, 0, in newfs_command() 204 if (choice == BSDDIALOG_CANCEL) in newfs_command() 235 int button, choice, i; in choose_part_type() local [all …]
|
H A D | part_wizard.c | 231 int choice; in wizard_partition() local 270 choice = bsddialog_yesno(&conf, message, 9, 45); in wizard_partition() 276 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition() 298 if (scheme == NULL || choice == 0) { in wizard_partition() 302 choice = bsddialog_yesno(&conf, "This will erase " in wizard_partition() 304 if (choice != BSDDIALOG_YES) in wizard_partition() 322 choice /* Non-interactive for "Entire Disk" */); in wizard_partition()
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | ASN1_aux_cb.3 | 238 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 244 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 249 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 256 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 260 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 264 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 268 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR … 272 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
|
/freebsd/contrib/ntp/libntp/ |
H A D | findconfig.c | 29 /* First choice is my hostname */ in FindConfig() 36 /* Second choice is of form default.835 */ in FindConfig() 47 /* Last choice is just default */ in FindConfig()
|
/freebsd/stand/lua/ |
H A D | menu.lua | 114 name = function(idx, choice, all_choices) 128 choice .. color.resetfg() 133 func = function(_, choice, _) 134 bootenvSet(choice) 333 name = function(idx, choice, all_choices) 348 choice .. color.resetfg() 353 func = function(_, choice, _) 357 config.selectKernel(choice)
|
H A D | menu.lua.8 | 147 is executed when selected, and the callback is passed the choice index, name of 148 the current choice, and the table of choices. 188 name = function(_, choice, _) 189 return "Option: " .. choice
|
/freebsd/contrib/dialog/samples/ |
H A D | menubox7 | 9 $DIALOG --clear --item-help --extra-button --extra-label "Choice" \ 16 letter of the choice as a hot key, or the \n\
|
/freebsd/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; in get_port_guid() local 600 printf("\nEnter choice (1-%u): ", i); in get_port_guid() 602 scanf("%u", &choice); in get_port_guid() 603 if (choice > num_ports) in get_port_guid() 604 printf("\nError: Lame choice!\n"); in get_port_guid() 611 attr_array[choice - 1].port_guid, in get_port_guid() 620 return (attr_array[choice - 1].port_guid); in get_port_guid()
|
/freebsd/crypto/heimdal/lib/gssapi/spnego/ |
H A D | spnego.asn1 | 54 NegotiationToken ::= CHOICE { 59 NegotiationTokenWin ::= CHOICE {
|
/freebsd/share/doc/psd/15.yacc/ |
H A D | ss5 | 118 It may also happen that the parser has a choice of two legal reductions; 124 It does this by selecting one of the valid steps wherever it has a choice. 125 A rule describing which choice to make in a given situation is called 137 Rule 1 implies that reductions are deferred whenever there is a choice,
|