Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 25 of 243) sorted by relevance

12345678910

/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++) {
77 ASIdOrRange *aor = sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i);
150 ASIdentifierChoice **choice; in X509v3_asid_add_inherit() local
155 choice = &asid->asnum; in X509v3_asid_add_inherit()
158 choice = &asid->rdi; in X509v3_asid_add_inherit()
163 if (*choice == NULL) { in X509v3_asid_add_inherit()
164 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,
56 if (i2a_ASN1_OBJECT(out, am->choice.typeMappings->local) <= 0)
60 return i2a_ASN1_OBJECT(out, am->choice.typeMappings->remote);
62 local_type = am->choice.typeValueMappings->local->type;
63 remote_type = am->choice.typeValueMappings->remote->type;
64 local_val = am->choice.typeValueMappings->local->value;
65 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,
51 if (i2a_ASN1_OBJECT(out, a->choice.attributeType) <= 0)
55 attr = a->choice.attributeTypeandValues;
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)
103 if (BIO_printf(out, "%.*s", info->choice.content->length, info->choice.content->data) <= 0) in i2r_OSSL_INFO_SYNTAX()
111 return i2r_INFO_SYNTAX_POINTER(method, info->choice.pointer, out, indent + 4); in i2r_OSSL_INFO_SYNTAX()
H A Dv3_ac_tgt.c61 ASN1_EXP(OSSL_TARGET, choice.targetName, GENERAL_NAME, 0),
62 ASN1_EXP(OSSL_TARGET, choice.targetGroup, GENERAL_NAME, 1),
63 ASN1_IMP(OSSL_TARGET, choice.targetCert, OSSL_TARGET_CERT, 2),
189 GENERAL_NAME_print(out, target->choice.targetName); in i2r_TARGET()
194 GENERAL_NAME_print(out, target->choice.targetGroup); in i2r_TARGET()
199 i2r_TARGET_CERT(method, target->choice.targetCert, out, indent + 2); in i2r_TARGET()
/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...]
/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/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()
954 fp->name, fp->percent, choice)); in get_fort()
959 fp->name, fp->percent, choice)); in get_fort()
966 choice = arc4random_uniform(Noprob_tbl.str_numstr); in get_fort()
967 DPRINTF(1, (stderr, "choice = %d (of %u) \n", choice, in get_fort()
969 while ((unsigned int)choice >= fp->tbl.str_numstr) { in get_fort()
[all …]
/freebsd/stand/lua/
H A Dmenu.lua109 name = function(idx, choice, all_choices)
123 choice .. color.resetfg()
128 func = function(_, choice, _)
129 bootenvSet(choice)
335 name = function(idx, choice, all_choices)
347 kernel_name = name_color .. choice ..
352 func = function(_, choice, _)
356 config.selectKernel(choice)
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dspake_client.c132 if (st->msg->choice == SPAKE_MSGTYPE_CHALLENGE) { in spake_prep_questions()
142 } else if (st->msg->choice == SPAKE_MSGTYPE_ENCDATA) { in spake_prep_questions()
163 msg.choice = SPAKE_MSGTYPE_SUPPORT; in send_support()
273 msg.choice = SPAKE_MSGTYPE_RESPONSE; in process_challenge()
348 } else if (st->msg->choice == SPAKE_MSGTYPE_CHALLENGE) { in spake_process()
353 } else if (st->msg->choice == SPAKE_MSGTYPE_ENCDATA) { in spake_process()
H A Dspake_kdc.c247 msg.choice = SPAKE_MSGTYPE_CHALLENGE; in send_challenge()
522 } else if (pa_spake->choice == SPAKE_MSGTYPE_SUPPORT) { in spake_verify()
525 } else if (pa_spake->choice == SPAKE_MSGTYPE_RESPONSE) { in spake_verify()
529 } else if (pa_spake->choice == SPAKE_MSGTYPE_ENCDATA) { in spake_verify()
/freebsd/contrib/ofed/opensm/opensm/
H A Dmain.c433 uint32_t i, choice = 0; in get_port_guid() local
493 if (scanf("%u", &choice) <= 0) { in get_port_guid()
497 } else if (choice == 0) in get_port_guid()
499 else if (choice <= num_ports) in get_port_guid()
503 choice--; in get_port_guid()
505 cl_ntoh64(attr_array[choice].port_guid)); in get_port_guid()
506 return attr_array[choice].port_guid; in get_port_guid()
/freebsd/contrib/xz/src/liblzma/lzma/
H A Dlzma_decoder.c38 rc_if_0_safe(ld.choice, seq ## _CHOICE) { \
39 rc_update_0(ld.choice); \
44 rc_update_1(ld.choice); \
73 rc_if_0(ld.choice) { \
74 rc_update_0(ld.choice); \
79 rc_update_1(ld.choice); \
98 probability choice; member
1086 bit_reset(coder->match_len_decoder.choice); in lzma_decoder_reset()
1088 bit_reset(coder->rep_len_decoder.choice); in lzma_decoder_reset()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mtl_hca_guid.c548 uint32_t choice = 0; in get_port_guid() local
602 scanf("%u", &choice); in get_port_guid()
603 if (choice > num_ports) 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/openssl/fuzz/
H A Dslh-dsa.c109 unsigned int choice; in select_keytype() local
119 choice = (selector % 12) + 1460; in select_keytype()
121 name = OBJ_nid2ln(choice); in select_keytype()
127 switch (choice) { in select_keytype()
/freebsd/crypto/krb5/src/lib/krb5/asn.1/
H A Dasn1_encode.c816 const struct choice_info *choice = c->tinfo; in encode_cntype() local
817 if (count >= choice->n_options) in encode_cntype()
819 return encode_atype(buf, val, choice->options[count], tag_out); in encode_cntype()
1001 const struct choice_info *choice = c->tinfo; in free_cntype() local
1002 if (count < choice->n_options) { in free_cntype()
1003 free_atype(choice->options[count], val); in free_cntype()
1004 free_atype_ptr(choice->options[count], val); in free_cntype()
1278 const struct choice_info *choice = c->tinfo; in decode_cntype() local
1280 for (i = 0; i < choice->n_options; i++) { in decode_cntype()
1281 if (check_atype_tag(choice->options[i], t)) { in decode_cntype()
[all …]
/freebsd/bin/sh/tests/parser/
H A Ddollar-quote12.03 # Our choice is a parse error.
/freebsd/usr.sbin/tzsetup/
H A Dtzsetup.c108 int i, result, menurows, choice = 0; in xdialog_menu() local
128 BSDDIALOG_AUTOSIZE, menurows, item_no, listitems, &choice); in xdialog_menu()
134 if (ditems[choice].fire != NULL) { in xdialog_menu()
137 status = ditems[choice].fire(ditems + choice); in xdialog_menu()
/freebsd/usr.sbin/ppp/
H A Dbundle.c1939 struct datalink *dl, *choice, *otherlinkup; in bundle_AutoAdjust() local
1941 choice = otherlinkup = NULL; in bundle_AutoAdjust()
1946 if (choice) in bundle_AutoAdjust()
1947 otherlinkup = choice; in bundle_AutoAdjust()
1948 choice = dl; in bundle_AutoAdjust()
1952 choice = dl; in bundle_AutoAdjust()
1957 choice = NULL; in bundle_AutoAdjust()
1963 if (choice) { in bundle_AutoAdjust()
1966 percent, choice->name); in bundle_AutoAdjust()
1967 datalink_Up(choice, 1, 1); in bundle_AutoAdjust()
[all …]
/freebsd/contrib/ntp/sntp/
H A Dbincheck.mf2 # in sbindir. Now that we offer a choice, look in the "other" installation
/freebsd/contrib/ntp/
H A Dbincheck.mf2 # in sbindir. Now that we offer a choice, look in the "other" installation
/freebsd/crypto/krb5/src/include/
H A Dk5-spake.h86 enum krb5_spake_msgtype choice; member
/freebsd/crypto/openssl/include/openssl/
H A Dx509v3.h.in1112 } choice; member
1172 } choice; member
1189 } choice; member
1216 } choice; member
1234 } choice; member
1271 } choice; member
1290 } choice; member
1347 } choice; member
1371 } choice; member

12345678910