Searched defs:choices (Results 1 - 14 of 14) sorted by relevance

/freebsd-head/contrib/dialog/samples/
H A Ddialog.py163 choices = reduce(lambda res, pair: res + '%d "%s" ' % pair, pairs, '') variable in class:Dialog
165 (text, height, width, menuheight, choices))
186 choices = reduce(lambda res, triple: res + '%d "%s" %s ' % triple, variable in class:Dialog
189 (text, height, width, menuheight, choices))
217 choices = reduce(lambda res, triple: res + '%d "%s" %s ' % triple, variable in class:Dialog
220 (text, height, width, menuheight, choices))
/freebsd-head/contrib/bearssl/src/ssl/
H A Dssl_ccert_single_ec.c52 br_ssl_client_certificate *choices)
68 choices->auth_type = BR_AUTH_ECDH;
69 choices->hash_id = -1;
70 choices->chain = zc->chain;
71 choices->chain_len = zc->chain_len;
81 memset(choices, 0, sizeof *choices);
84 choices->auth_type = BR_AUTH_ECDSA;
85 choices->hash_id = x;
86 choices
50 cc_choose(const br_ssl_client_certificate_class **pctx, const br_ssl_client_context *cc, uint32_t auth_types, br_ssl_client_certificate *choices) argument
[all...]
H A Dssl_ccert_single_rsa.c52 br_ssl_client_certificate *choices)
61 memset(choices, 0, sizeof *choices);
63 choices->auth_type = BR_AUTH_RSA;
64 choices->hash_id = x;
65 choices->chain = zc->chain;
66 choices->chain_len = zc->chain_len;
50 cc_choose(const br_ssl_client_certificate_class **pctx, const br_ssl_client_context *cc, uint32_t auth_types, br_ssl_client_certificate *choices) argument
H A Dssl_scert_single_ec.c30 br_ssl_server_choices *choices)
43 choices->chain = pc->chain;
44 choices->chain_len = pc->chain_len;
54 choices->cipher_suite = st[u][0];
62 choices->cipher_suite = st[u][0];
70 choices->cipher_suite = st[u][0];
71 choices->algo_id = hash_id + 0xFF00;
28 se_choose(const br_ssl_server_policy_class **pctx, const br_ssl_server_context *cc, br_ssl_server_choices *choices) argument
H A Dssl_scert_single_rsa.c30 br_ssl_server_choices *choices)
48 choices->chain = pc->chain;
49 choices->chain_len = pc->chain_len;
57 choices->cipher_suite = st[u][0];
63 choices->cipher_suite = st[u][0];
64 choices->algo_id = hash_id + 0xFF00;
28 sr_choose(const br_ssl_server_policy_class **pctx, const br_ssl_server_context *cc, br_ssl_server_choices *choices) argument
H A Dssl_hs_server.c1220 br_ssl_server_choices choices; local
1223 CTX->policy_vtable, CTX, &choices);
1224 ENG->session.cipher_suite = choices.cipher_suite;
1225 CTX->sign_hash_id = choices.algo_id;
1226 ENG->chain = choices.chain;
1227 ENG->chain_len = choices.chain_len;
/freebsd-head/stand/lua/
H A Ddrawer.lua309 local choices = entry.items
310 if type(choices) == "function" then
311 choices = choices()
313 if #choices < caridx then
316 return entry.name(caridx, choices[caridx], choices)
H A Dmenu.lua78 local choices = entry.items
79 if type(choices) == "function" then
80 choices = choices()
82 if #choices > 0 then
83 caridx = (caridx % #choices) + 1
85 entry.func(caridx, choices[caridx], choices)
/freebsd-head/tools/tools/net80211/wesside/wesside/
H A Daircrack-ptw-lib.c321 int choices[KEYHSBYTES]; local
328 choices[i] = i;
330 choices[i] = 1;
339 if (doRound(table, 0, fixat, fixvalue, choices, key, keylen, state, 0, strongbytes) == 1) {
340 // printf("hit with %d choices\n", prod);
343 choices[sh2[i].keybyte]++;
345 // printf("choices[%d] is now %d\n", sh2[i].keybyte, choices[sh2[i].keybyte]);
349 prod *= choices[j];
/freebsd-head/sys/xdr/
H A Dxdr.c585 const struct xdr_discrim *choices, /* [value, xdr proc] for each arm */
599 * search choices for a value that matches the discriminator.
602 for (; choices->proc != NULL_xdrproc_t; choices++) {
603 if (choices->value == dscm)
604 return ((*(choices->proc))(xdrs, unp));
582 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault) argument
/freebsd-head/lib/libc/xdr/
H A Dxdr.c642 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault) argument
647 * const struct xdr_discrim *choices; // [value, xdr proc] for each arm
662 * search choices for a value that matches the discriminator.
665 for (; choices->proc != NULL_xdrproc_t; choices++) {
666 if (choices->value == dscm)
667 return ((*(choices->proc))(xdrs, unp));
/freebsd-head/contrib/bearssl/tools/
H A Dclient.c254 br_ssl_client_certificate *choices)
292 if ((choices->hash_id = choose_hash(auth_types)) >= 0) {
295 choices->hash_id,
296 hash_function_name(choices->hash_id));
298 choices->auth_type = BR_AUTH_RSA;
299 choices->chain = zc->chain;
300 choices->chain_len = zc->chain_len;
315 choices->auth_type = BR_AUTH_ECDH;
316 choices->hash_id = -1;
317 choices
252 cc_choose(const br_ssl_client_certificate_class **pctx, const br_ssl_client_context *cc, uint32_t auth_types, br_ssl_client_certificate *choices) argument
[all...]
H A Dserver.c329 br_ssl_server_choices *choices)
387 choices->cipher_suite = st[u][0];
393 choices->cipher_suite = st[u][0];
398 choices->algo_id = 0x0001;
400 choices->algo_id = 0xFF00;
407 choices->algo_id =
410 choices->algo_id = 0xFF00 + id;
418 choices->cipher_suite = st[u][0];
423 choices->algo_id = 0x0203;
425 choices
327 sp_choose(const br_ssl_server_policy_class **pctx, const br_ssl_server_context *cc, br_ssl_server_choices *choices) argument
[all...]
/freebsd-head/contrib/gdb/gdb/
H A Dada-lang.c2525 /* in a listing of choices during disambiguation (see sort_choices, below). */
2560 /* Sort SYMS[0..NSYMS-1] to put the choices in a canonical order by their */
2681 /* Read and validate a set of numeric choices from the user in the
2685 The user types choices as a sequence of numbers on one line
2698 get_selections (int *choices, int n_choices, int max_results,
2721 /* Set choices[0 .. n_chosen-1] to the users' choices in ascending
2748 choices[j] = j;
2753 for (j = n_chosen - 1; j >= 0 && choice < choices[j]; j -= 1)
2757 if (j < 0 || choice != choices[
2693 get_selections(int *choices, int n_choices, int max_results, int is_all_choice, char *annotation_suffix) argument
4819 int *choices = (int *) alloca (result.nelts * sizeof (int)); local
[all...]

Completed in 354 milliseconds