Searched defs:choice (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/psm/stand/bootlst/common/
H A Dbootlst.c143 unsigned long choice; local
194 choice = strtoul(cp, NULL, 0);
201 if (choice == 0 || choice > menu_entry_count) {
207 printf("boot [<root-device>] -Z %s\n\n", datasets[choice - 1]);
/illumos-gate/usr/src/head/
H A Dvaltools.h47 *choice; member in struct:_menu_
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c298 int choice; local
327 choice = 0;
330 if (strcmp(words[choice], words[ti]) > 0)
331 choice = ti;
333 (void) Chomp(words[choice]);
334 if (words[choice][0] != '\0' &&
335 strcmp(lastword, words[choice]) != 0) {
336 (void) PutPW(pwp, words[choice]);
337 (void) strncpy(lastword, words[choice], MAXWORDLEN);
340 if (fgets(words[choice], MAXWORDLE
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dckitem.c64 #define NOTUNIQ "The entered text does not uniquely identify a menu choice."
65 #define BADNUM "Bad numeric choice specification"
143 if (menup->choice)
144 item[0] = menup->choice->token;
235 char **choice; local
241 choice = calloc((size_t)max, sizeof (char *));
261 chp = menup->choice;
268 choice[nchoice++] = chp->token;
276 chp = menup->choice;
313 choice[nchoic
323 setitem(CKMENU *menup, char *choice) argument
375 setinvis(CKMENU *menup, char *choice) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c406 int i, svnodes, choice, select; local
411 choice = (-1);
423 choice = i;
431 if (choice < 0) {
435 sf[choice]->ept->volno = (char)volno;
437 btotal += sf[choice]->blks + (svnodes * DIRSIZE);
439 addclass(sf[choice]->ept->pkg_class, volno);
440 return (++choice); /* return non-zero if more work to do */
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-int-pkinit.h96 } choice; member in struct:_krb5_trusted_ca
164 } choice; member in struct:_krb5_pa_pk_as_rep_draft9
177 } choice; member in struct:_krb5_pa_pk_as_rep
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtclsqlite.c491 int choice; local
515 if( Tcl_GetIndexFromObj(interp, objv[1], DB_strs, "option", 0, &choice) ){
519 switch( (enum DB_enum)choice ){
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c466 int choice = 0; local
486 choice = 1;
554 if (choice == 0) {
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c321 struct cfstat *dp, *choice; local
328 choice = (struct cfstat *)0;
339 choice = dp;
341 } else if (!choice ||
342 (strcmp(choice->pkginst, dp->pkginst) > 0))
343 choice = dp;
345 if (!choice)
348 if (pkginfo(&info, choice->pkginst, ckarch, ckvers)) {
349 choice->installed = (-1);
368 choice
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dmenu_command.c1558 int choice; local
1577 choice = input(FIO_INT, "Specify Label type", ':',
1579 if ((choice == L_TYPE_SOLARIS) &&
1583 } else if ((choice == L_TYPE_EFI) &&
1587 switch (choice) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1250 uint_t i, choice, num_wlans = 0; local
1288 (choice = atoi(choicestr)) >= 1 && choice <= (i + 1))
1292 if (choice == i + 1 || wlans[choice - 1].nww_essid[0] == '\0') {
1304 if (choice == i + 1) {
1317 security_mode = wlans[choice - 1].nww_security_mode;
1318 have_key = wlans[choice - 1].nww_have_key;
1336 (void) strlcpy(essid, wlans[choice - 1].nww_essid,
1338 (void) strlcpy(bssid, wlans[choice
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c389 char choice[2]; local
438 (void) gets(choice);
439 if (choice[0] == 'q' || choice[0] == 'Q' ||
440 choice[0] == 's' || choice[0] == 'S' ||
441 choice[0] == '\0') {
447 if (choice[0] == 'q' || choice[0] == 'Q') {
2778 char choice[ local
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c2291 unsigned int choice; local
2308 choice = 0;
2313 choice = index;
2318 /* Add our choice to the condensed RSS table */
2319 tbl[count] = choice;
2322 sep = sp->s_sep[choice];
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h375 int choice; member in struct:AcctUsableResponse
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ami.h51 unsigned short choice; member in struct:ami_name
91 unsigned short choice; member in struct:CaseIgnoreString
231 unsigned short choice; member in struct:ami_rc2_cbc_param
356 unsigned short choice; member in struct:ami_extcert_or_cert
501 unsigned short choice; member in struct:ami_challenge_pwd
/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.c205 CLzmaProb choice; member in struct:__anon1990
744 p->choice = p->choice2 = kProbInitValue;
757 RangeEnc_EncodeBit(rc, &p->choice, 0);
762 RangeEnc_EncodeBit(rc, &p->choice, 1);
778 UInt32 a0 = GET_PRICE_0a(p->choice);
779 UInt32 a1 = GET_PRICE_1a(p->choice);
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c3579 * that if there is no error, choice will be set to one of:
3588 int *choice)
3603 assert(choice != NULL);
3703 *choice = i; /* chosen entry of token_choices->token_array */
3706 *choice = RESCAN_TOKENS; /* rescan for new smartcard */
3709 *choice = SKIP_TOKENS; /* skip smartcard auth */
3918 * client criteria the user is prompted to make a choice if in client context.
3937 int choice = 0; local
4237 if ((r = pkinit_choose_tokens(context, cctx, &token_choices, &choice)) != 0) {
4244 if (choice
3585 pkinit_choose_tokens(krb5_context context, pkinit_identity_crypto_context cctx, struct _token_choices *token_choices, int *choice) argument
[all...]
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h695 KMF_GENERALNAMECHOICES choice; member in struct:__anon3470

Completed in 190 milliseconds