Home
last modified time | relevance | path

Searched full:choice (Results 1 – 25 of 1517) sorted by relevance

12345678910>>...61

/freebsd/contrib/dialog/
H A Dformbox.c78 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 Dmenubox.c66 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 Dchecklist.c52 * 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 Dtreeview.c49 * 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 Dbuildlist.c72 * 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 Dfselect.c78 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 …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_timespec.c66 ASN1_SET_OF(OSSL_NAMED_DAY, choice.intNamedDays, ASN1_ENUMERATED),
67 ASN1_SIMPLE(OSSL_NAMED_DAY, choice.bitNamedDays, ASN1_BIT_STRING),
71 ASN1_EXP(OSSL_TIME_SPEC_X_DAY_OF, choice.first, OSSL_NAMED_DAY, 1),
72 ASN1_EXP(OSSL_TIME_SPEC_X_DAY_OF, choice.second, OSSL_NAMED_DAY, 2),
73 ASN1_EXP(OSSL_TIME_SPEC_X_DAY_OF, choice.third, OSSL_NAMED_DAY, 3),
74 ASN1_EXP(OSSL_TIME_SPEC_X_DAY_OF, choice.fourth, OSSL_NAMED_DAY, 4),
75 ASN1_EXP(OSSL_TIME_SPEC_X_DAY_OF, choice.fifth, OSSL_NAMED_DAY, 5),
79 ASN1_SET_OF(OSSL_TIME_SPEC_DAY, choice.intDay, ASN1_INTEGER),
80 ASN1_SIMPLE(OSSL_TIME_SPEC_DAY, choice.bitDay, ASN1_BIT_STRING),
81 ASN1_SIMPLE(OSSL_TIME_SPEC_DAY, choice.dayOf, OSSL_TIME_SPEC_X_DAY_OF),
[all …]
H A Dv3_asid.c63 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 …]
H A Dv3_attrmap.c31 ASN1_IMP(OSSL_ATTRIBUTE_MAPPING, choice.typeMappings,
33 ASN1_IMP(OSSL_ATTRIBUTE_MAPPING, choice.typeValueMappings,
57 if (i2a_ASN1_OBJECT(out, am->choice.typeMappings->local) <= 0)
61 return i2a_ASN1_OBJECT(out, am->choice.typeMappings->remote);
63 local_type = am->choice.typeValueMappings->local->type;
64 remote_type = am->choice.typeValueMappings->remote->type;
65 local_val = am->choice.typeValueMappings->local->value;
66 remote_val = am->choice.typeValueMappings->remote->value;
H A Dv3_aaa.c17 ASN1_IMP(OSSL_ALLOWED_ATTRIBUTES_CHOICE, choice.attributeType, ASN1_OBJECT,
19 ASN1_IMP(OSSL_ALLOWED_ATTRIBUTES_CHOICE, choice.attributeTypeandValues,
26 /* This MUST be EXPLICIT, because it contains a CHOICE. */
52 if (i2a_ASN1_OBJECT(out, a->choice.attributeType) <= 0)
56 attr = a->choice.attributeTypeandValues;
H A Dv3_ac_tgt.c58 ASN1_EXP(OSSL_TARGET, choice.targetName, GENERAL_NAME, 0),
59 ASN1_EXP(OSSL_TARGET, choice.targetGroup, GENERAL_NAME, 1),
60 ASN1_IMP(OSSL_TARGET, choice.targetCert, OSSL_TARGET_CERT, 2),
188 GENERAL_NAME_print(out, target->choice.targetName); in i2r_TARGET()
193 GENERAL_NAME_print(out, target->choice.targetGroup); in i2r_TARGET()
198 i2r_TARGET_CERT(method, target->choice.targetCert, out, indent + 2); in i2r_TARGET()
H A Dv3_attrdesc.c26 ASN1_SIMPLE(OSSL_INFO_SYNTAX, choice.content, DIRECTORYSTRING),
27 ASN1_SIMPLE(OSSL_INFO_SYNTAX, choice.pointer, OSSL_INFO_SYNTAX_POINTER)
102 if (BIO_printf(out, "%.*s", info->choice.content->length, info->choice.content->data) <= 0) in i2r_OSSL_INFO_SYNTAX()
110 return i2r_INFO_SYNTAX_POINTER(method, info->choice.pointer, out, indent + 4); in i2r_OSSL_INFO_SYNTAX()
/freebsd/crypto/heimdal/lib/asn1/
H A Dtemplate.c378 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 Dsetchgpw2.asn1130 -- Choice switch
132 Op-req ::= CHOICE {
142 Op-rep ::= CHOICE {
152 Op-error ::= CHOICE {
/freebsd/crypto/heimdal/lib/hx509/
H A Dcrmf.asn135 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 Dfortune.c940 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/secure/lib/libcrypto/man/man3/
H A DASN1_aux_cb.3162 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
168 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
173 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
180 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
184 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
188 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
192 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
196 Invoked when processing a \fBCHOICE\fR, \fBSEQUENCE\fR or \fBNDEF_SEQUENCE\fR structure
/freebsd/lib/msun/src/
H A Ds_csinh.c90 * The sign of 0 in the result is unspecified. Choice = same sign in csinh()
94 * The sign of 0 in the result is unspecified. Choice = same sign in csinh()
114 * nonzero x. Choice = don't raise (except for signaling NaNs). in csinh()
121 * The sign of Inf in the result is unspecified. Choice = same sign in csinh()
125 * The sign of Inf in the result is unspecified. Choice = same sign in csinh()
143 * Choice = raise. in csinh()
147 * nonzero y. Choice = don't raise (except for signaling NaNs). in csinh()
H A Ds_ccosh.c90 * The sign of 0 in the result is unspecified. Choice = product in ccosh()
95 * The sign of 0 in the result is unspecified. Choice = product in ccosh()
105 * The sign of 0 in the result is unspecified. Choice = product in ccosh()
117 * nonzero x. Choice = don't raise (except for signaling NaNs). in ccosh()
126 * The sign of Inf in the result is unspecified. Choice = always +. in ccosh()
144 * Choice = raise. in ccosh()
148 * nonzero y. Choice = don't raise (except for signaling NaNs). in ccosh()
/freebsd/crypto/openssl/doc/man3/
H A DASN1_aux_cb.pod117 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 Dgpart_ops.c118 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 Dpart_wizard.c252 int choice; in wizard_partition() local
291 choice = bsddialog_yesno(&conf, message, 9, 45); in wizard_partition()
297 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition()
319 if (scheme == NULL || choice == 0) { in wizard_partition()
323 choice = bsddialog_yesno(&conf, "This will erase " in wizard_partition()
325 if (choice != BSDDIALOG_YES) in wizard_partition()
343 choice /* Non-interactive for "Entire Disk" */); in wizard_partition()
/freebsd/contrib/ntp/libntp/
H A Dfindconfig.c29 /* 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/crypto/krb5/src/lib/krb5/asn.1/
H A DREADME.asn181 if its base type is a choice type or ANY type (or the information
347 Choice types
350 ASN.1 CHOICE types are represented in C using a signed integer
351 distinguisher and a union. Modeling a choice type happens in three
354 1. Define type descriptors for each alternative of the choice,
377 DEFCOUNTEDTYPE_SIGNED(descname, structuretype, u, choice, my_choice);
382 ASN.1 choice types may be defined to be extensible, or may not be.
384 treats all choice types as extensible.
522 If a sequence uses an optional field that is a choice field (without
525 assign a value to the choice or stored-DER field when the correct
[all …]
/freebsd/stand/lua/
H A Dmenu.lua114 name = function(idx, choice, all_choices)
128 choice .. color.resetfg()
133 func = function(_, choice, _)
134 bootenvSet(choice)
340 name = function(idx, choice, all_choices)
352 kernel_name = name_color .. choice ..
357 func = function(_, choice, _)
361 config.selectKernel(choice)

12345678910>>...61